2005/11/3, Daniel Jacobowitz [EMAIL PROTECTED]:
On Thu, Nov 03, 2005 at 02:15:27PM -0700, Shaun Jackman wrote:
When an object file is compiled by arm-elf-gcc 4.0.2, nm -S 2.16.*
isn't printing the size of static variables. I'd very much appreciate
a fix or workaround, if one is out there.
When an object file is compiled by arm-elf-gcc 4.0.2, nm -S 2.16.*
isn't printing the size of static variables. I'd very much appreciate
a fix or workaround, if one is out there.
Thanks,
Shaun
$ cat foo.c
int foo;
static int static_foo;
$ arm-elf-gcc -c foo.c
$ arm-elf-nm -S foo.o
0004
On Thu, Nov 03, 2005 at 02:15:27PM -0700, Shaun Jackman wrote:
When an object file is compiled by arm-elf-gcc 4.0.2, nm -S 2.16.*
isn't printing the size of static variables. I'd very much appreciate
a fix or workaround, if one is out there.
Check what the file really says, using readelf. If