Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314787 - Should reduce the number of _c_int00() variants for MSP430
Summary: Should reduce the number of _c_int00() variants for MSP430
Status: CLOSED WONTFIX
Alias: None
Product: RTSC
Classification: Technology
Component: Targets (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Sasha Slijepcevic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 18:37 EDT by scott CLA
Modified: 2011-11-09 18:46 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scott CLA 2010-05-27 18:37:47 EDT
Presently (in v3.3.0B2 code gen) there are many reset boot options provided in boot.c:

_c_int00()
_c_int00_noargs()
_c_int00_noinit()
_c_int00_noexit()
_c_int00_noinit_noexit()
_c_int00_mpu_init()
_c_int00_noargs_mpu_init()
_c_int00_noinit_mpu_init()
_c_int00_noexit_mpu_init()
_c_int00_noinit_noexit_mpu_init()

These different options allow saving small amounts of memory space for very small programs.  Depending upon build switches, the linker will select the optimum variant.  

We currently modify boot.c to add Startup reset function hooks to some of these variants.  Rather than add this hook to all appropriate variants of _c_int00*, we should consider removing all but the _c_int00() and _c_int00_mpu_init() variants.  The linker will default to one of these two variants if the others are not present.
Comment 1 Dave Russo CLA 2010-06-22 15:48:13 EDT
Rejected in CCB meeting
Comment 2 Dave Russo CLA 2011-11-09 18:46:33 EST
closing since we won't fix this