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

Bug 345294

Summary: Remove clink directives from generated big.c file
Product: [Technology] RTSC Reporter: Amit Mookerjee <amitm>
Component: CoreAssignee: Sasha Slijepcevic <sascha>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: d-russo, karl
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target:3.22.01

Description Amit Mookerjee CLA 2011-05-10 12:19:11 EDT
As stated.
Comment 1 Sasha Slijepcevic CLA 2011-05-19 15:13:45 EDT
- fixed in xdctargets-e04 

My tests show that .clink is always needed for COFF, no matter which profile is
selected, and .clink is never needed for ELF, no matter which profile is
selected.

If .clink directives are not used in cases for which I wrote they are "needed",
the code sizie increases for about 20% for the stairstep example on 64P.

#pragma DATA_SECTION is always needed, and the troubles we had with ELF before when we tried to remove .clink were caused by this pragma being removed together with .clink directives.
Comment 2 Dave Russo CLA 2011-06-16 12:29:13 EDT
Verified by Karl. Details given below.

From: Wechsler, Karl 
Sent: Wednesday, June 15, 2011 9:02 PM
To: Mookerjee, Amit
Cc: Slijepcevic, Sasa
Subject: RE: XDCtools 3.22.01 fix verify

Amit –

Please mark Bug 345294 as verify pass for me.  I marked the others myself.

You can include the following:




I build 674/COFF and 674/ELF (MessageQ example) and the COFF big.c is 44823 lines long while the ELF big.c is “only” 33849.   I reviewed the contents of the files.  COFF has .clink and ELF no longer has any .clink.

Verify pass.
Comment 3 Dave Russo CLA 2011-06-20 14:07:47 EDT
Shipped in XDCtools 3.22