Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369462 - MSP430 platforms need to generate different linker command files for ELF targets
Summary: MSP430 platforms need to generate different linker command files for ELF targets
Status: CLOSED FIXED
Alias: None
Product: RTSC
Classification: Technology
Component: Platforms (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Vikram Adiga CLA
QA Contact:
URL:
Whiteboard: target:3.23.01
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 19:10 EST by Sasha Slijepcevic CLA
Modified: 2013-01-24 15:11 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/