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

Bug 366639

Summary: move 'atexit()' call in System to a "lastFxn" instead of module_startup
Product: [Technology] RTSC Reporter: Karl Wechsler <karl>
Component: CoreAssignee: Karl Wechsler <karl>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ademars, d-russo, sascha
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target:3.23.01

Description Karl Wechsler CLA 2011-12-13 16:55:03 EST
For ELF implementations, atexit() calls malloc(), we would like to defer this call to atexit() until after all the modules have been started and heaps have been initialized.  This will allow use of different types of heaps by the SYS/BIOS malloc() function.
Comment 1 Sasha Slijepcevic CLA 2012-02-02 21:15:52 EST
- fixed in xdc-y19
Comment 2 Alan DeMars CLA 2012-02-09 18:42:49 EST
Verify Pass

Using Beyond Compare, I reviewed and approve of the changes in the System.xdc, System.xs, and System.c.

The recently completed (2/9/2012) successful regressions tests built against SYS/BIOS 6.33.02.30 demonstrate that this change is benign when used with a corresponding SYS/BIOS build.
Comment 3 Dave Russo CLA 2013-01-24 15:11:54 EST
xdctools 3.23.05 GA is available from here: http://www.sanb.design.ti.com/tisb_releases/XDCtools/3_23_05_61/