This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/58218] -mcmodel=medium cause assembler warning "ignoring incorrect section type for .lbss"
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Aug 2013 16:22:57 +0000
- Subject: [Bug target/58218] -mcmodel=medium cause assembler warning "ignoring incorrect section type for .lbss"
- Auto-submitted: auto-generated
- References: <bug-58218-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58218
--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> ---
I can reproduce with gcc-4.7.3. It generates:
.section .lbss,"aw",@progbits
gas doesn't like ,@progbits on .lbss and ignores it; readelf on the produced .o
file then shows:
[ 4] .lbss NOBITS 0000000000000000 000040 010004 00 WAl
0 0 32
which appears to confirm that @progbits is wrong. (.bss is also NOBITS.)