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

Bug 369462

Summary: MSP430 platforms need to generate different linker command files for ELF targets
Product: [Technology] RTSC Reporter: Sasha Slijepcevic <sascha>
Component: PlatformsAssignee: Vikram Adiga <vikram.adiga>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: d-russo, dfriedland
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target:3.23.01

Description Sasha Slijepcevic CLA 2012-01-23 19:10:50 EST
As of gep-e08, MSP430 platforms generate linker command files using linkUtils.xs from ti.targets even if a target is an ELF target. These platforms must generate a linker command line that deals with ELF-specific section names, they must not generate symbol aliases, they must generate --retain directives for xdc.meta and xdc.noload. The last issue is currently solved by getLibs() from ti.targets.msp430.elf generating a code snippet with a --retain directive. That code should also be incorporated to a more comprehensive solution.
Comment 1 Vikram Adiga CLA 2012-01-24 19:56:48 EST
All MSP430 platforms' linker command template have been updated to generate different linker command files for COFF and ELF targets. 

This fix will be released in the next release of gep tree (gep-e09)
Comment 2 Sasha Slijepcevic CLA 2012-02-06 17:00:45 EST
- verified using 3.23.01.38

Tested idioms.i304 against all MSP430 ELF targets and with all available platforms, and verified that the generated section contain ELF-specific setions and do not contain COFF-specific sections.
Comment 3 Dave Russo CLA 2013-01-24 15:11:47 EST
xdctools 3.23.05 GA is available from here: http://www.sanb.design.ti.com/tisb_releases/XDCtools/3_23_05_61/