[coldfire-gnu-discuss] GNU Linker
Nathan Sidwell
nathan at codesourcery.com
Wed Jan 17 16:23:01 UTC 2007
Mats Blide wrote:
> Thank's for your answer. I tried your suggestions, but they seam
> reluctant to give me the sizes of individual variables. What I'am
> looking for is something like this:
>
> .data 0x20000000 0x100 project/MyObjectFile.o
> 0x20000000 0x050 MyBuffer
> 0x20000050 0x002 MyVar
> 0x20000052 0x048 MySomeOtherBuffer
you can use m68k-elf-nm -S to do this
nm -S xgcc
08064068 00000008 r __FUNCTION__.12567
that's at address 08064068 size 8 weak readonly object
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan at codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
More information about the coldfire-gnu-discuss
mailing list