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

Bug 314386

Summary: Program.xdt contains target specific code
Product: [Technology] RTSC Reporter: Dave Russo <d-russo>
Component: ToolsAssignee: Sasha Slijepcevic <sascha>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dfriedland
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.