[PATCH] Add missing size directive for arm-*-elf

Andreas Schwab schwab@suse.de
Tue Sep 9 14:06:00 GMT 2014


Kito Cheng <kito.cheng@gmail.com> writes:

> .align 2
> bufbuf.4078:
> .space 8
> ...
> .ident "GCC: (GNU) 5.0.0 20140828 (experimental)"
>
>
> And then the size info will missing:
>
> $ arm-none-eabi-objdump ./foo.o  -t
>
> ./foo.o:     file format elf32-littlearm
>
> SYMBOL TABLE:
> 00000000 l    df *ABS* 00000000 zoo.c
> 00000000 l    d  .text 00000000 .text
> 00000000 l    d  .data 00000000 .data
> 00000000 l    d  .bss 00000000 .bss
> 00000000 l       .bss 00000008 bufbuf.4078

The size of bufbuf.4078 appears to be correct.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Gcc-patches mailing list