This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26702] Size of static variables always zero on arm-elf
- From: "sjackman at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2006 19:03:54 -0000
- Subject: [Bug target/26702] Size of static variables always zero on arm-elf
- References: <bug-26702-11470@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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