Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314386 - Program.xdt contains target specific code
Summary: Program.xdt contains target specific code
Status: RESOLVED FIXED
Alias: None
Product: RTSC
Classification: Technology
Component: Tools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sasha Slijepcevic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 20:31 EDT by Dave Russo CLA
Modified: 2020-01-16 14:54 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 Dave Russo CLA 2010-05-25 20:31:44 EDT
The following fragment should be implemented in the target's linker template rather than in Program.xdt which should be target independent.

%/* If Program.heap is greater than 0, we need to add dummy .sysmem section to
% * avoid warnings if that section is not defined somewhere else.
% */
%if (this.heap > 0 && this.build.target.isa == "55" &&
%    !(this.build.cfgScript != null && this.build.cfgScript.match(/\.tcf$/) != \
null)) {
|-                                              |#pragma DATA_SECTION(_dummysys\
, ".sysmem")
|-                                              |char _dummysys;
%}
Comment 1 Sasha Slijepcevic CLA 2020-01-16 14:54:30 EST
That code was removed because we don't support C55x anymore.