the map file of CW for MPC55xx V2.2 generate

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

the map file of CW for MPC55xx V2.2 generate

1,275件の閲覧回数
wmwlove
Contributor I
why the map file generate by  CW for MPC55xx V2.2  can't see the address of the variables?
As everybody knows that the map file generate by  CW for H12 we can see the address of the variables and other information.
please help me, thanks!
0 件の賞賛
返信
2 返答(返信)

449件の閲覧回数
CrasyCat
Specialist III
Hello
 
MAP file generated by PPC linker is slightly different from .map file generated by HC12 linker.
 
You should be able to retrieve the address of your variables/functions though.
 
Suppose you have defined a variable as
  char var2;
 
In the MAP file you can see something like
.bss section layout
  Starting        Virtual  File
  address  Size   address  offset
  ---------------------------------
  00000000 000001 4000b008 000011d8  1 .bss  main.o
  00000000 000001 4000b008 000011d8  1 var2  main.o
Which indicates that the variable var2 is allocated at address 0x4000b008.
 
CrasyCat
0 件の賞賛
返信

449件の閲覧回数
ian_Landrover
Contributor I
So the below item list is understandabale apart from the last digit, this 1 can be 1, 2, 4 or 8 etc in a map file I have generated. But what does this mean. The size of the object can be lets say 54h, and the value of 4 at the end means what ?
 
Cheers
 
Ian
 
00000000 000001 4000b008 000011d8  1
0 件の賞賛
返信