http://sourceware.org/bugzilla/show_bug.cgi?id=12524

--- Comment #3 from morgon.kanter at gmail dot com 2011-03-01 01:08:08 UTC ---
Yeah, that's what I meant. I've included a linker script to run so that sort of
mistake isn't made and the output is easily readable with objdump. Both gcc and
clang work correctly when you have:
------
int global __attribute__ ((section (".bss")));
------

But not simply:
------
int global;
------

The instructions emitted in the bad case are the same as in the first post
here. Link with:

ld -N -S -T test.ld -o test test.o

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to