Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314787

Summary: Should reduce the number of _c_int00() variants for MSP430
Product: [Technology] RTSC Reporter: scott <sgrtsceclipse>
Component: TargetsAssignee: Sasha Slijepcevic <sascha>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3 CC: d-russo
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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