This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/26702] Size of static variables always zero on arm-elf



------- Comment #4 from sjackman at gmail dot com  2006-03-15 19:03 -------
Subject: Re:  Size of static variables always zero on arm-elf

On 15 Mar 2006 18:53:53 -0000, pinskia at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> No I mean what is the assembly output from GCC which you get by invoking gcc
> with -S.

It does not appear to use lcomm for static_foo. If it's not a gcc bug,
is it a gas bug or a binutils bug?

-- sdj

$ arm-elf-gcc -S foo.c
$ cat foo.s
        .file   "foo.c"
        .bss
        .align  2
static_foo:
        .space  4
        .comm   foo,4,4
        .ident  "GCC: (GNU) 4.1.0"


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26702


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]