Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345294 - Remove clink directives from generated big.c file
Summary: Remove clink directives from generated big.c file
Status: CLOSED FIXED
Alias: None
Product: RTSC
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Sasha Slijepcevic CLA
QA Contact:
URL:
Whiteboard: target:3.22.01
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 12:19 EDT by Amit Mookerjee CLA
Modified: 2011-06-20 14:07 EDT (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 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