ping!

On Mon, Sep 1, 2014 at 11:30 AM, Kito Cheng <kito.ch...@gmail.com> wrote:
> Hi all:
>
> In arm-*-elf target some variable will missing size directive,
>
> for example:
>
> foo.c:
>
> void foo (void) {
>   static char bufbuf[8];
> }
>
> $ arm-none-eabi-gcc ./foo.c  -S -o -
>
> ...
> .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
> 00000000 l    d  .comment 00000000 .comment
> 00000000 l    d  .ARM.attributes 00000000 .ARM.attributes
> 00000000 g     F .text 00000018 foo
>
>
> ChangeLog
>
> 2014-09-01  Kito Cheng  <k...@0xlab.org>
>
>         * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL):
> Add size directive.

Reply via email to