Dead strip

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Dead strip

3,749 次查看
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
标签 (1)
0 项奖励
回复
4 回复数

1,865 次查看
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 项奖励
回复

1,865 次查看
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 项奖励
回复

1,865 次查看
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 项奖励
回复

1,865 次查看
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 项奖励
回复