Dead strip

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dead strip

2,571 Views
Aplamon
Contributor I
Hi,

I have a question regarding dead strip. Is there a way to have Codewarrior give me a list of a all labels it deemed unused and stripped out? That would be very useful!

Daniel
Labels (1)
0 Kudos
Reply
4 Replies

687 Views
CrasyCat
Specialist III

Hello

 

- Which CPU are you targeting (HC08, HC12, Coldfire, ..)
- Which version of CodeWarrior are you using?
To retrieve that info:
- Start CodeWarrior
- Select Help -> About Freescale CodeWarrior
- Click on "Install Products"
- CodeWarrior version used is displayed on top in the Installed Products dialog.

 

For StarCore,  HC08 and HC12, the list of objects which are not allocated due to dead striping are listed in the .map file.

 

CrasyCat

0 Kudos
Reply

687 Views
Aplamon
Contributor I
I use Codewarrior for Coldfire version 6 build 8. I did not know that features such as those varies between architectures, it is not in the map file.
0 Kudos
Reply

687 Views
stanish
NXP Employee
NXP Employee

Aplamon,

 

I'd suggest you to check if the Linker option "List Unused Objects" is checked in your project settings. (see attached screenshot)

The objects that are not used by the linker should be marked as "UNUSED" in MAP file.

 

Stanish

 

0 Kudos
Reply

687 Views
Aplamon
Contributor I
This option I have checked but it makes no difference, dead stripped objects are not shown in the map file. Could be a bug in CW preventing it?
0 Kudos
Reply