http://sourceware.org/bugzilla/show_bug.cgi?id=13621
Richard Henderson <rth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rth at gcc dot gnu.org --- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2012-01-27 20:39:23 UTC --- __TMC_END__ isn't placed in the .bss section. You'd have seen that in the object file. Of course that doesn't happen because there is a section attribute. There is something odd happening though. The .tm_clone_table section is zero sized (which makes sense for all programs that don't use TM). The section is layed out in the map file: .tm_clone_table 0x00000000006008a0 0x0 .tm_clone_table 0x00000000006008a0 0x0 z.o but the section is not present in the output (presumably due to the size being zero?). But the two symbols that were in the section get arbitrarily moved to .data: [24] .data PROGBITS 0000000000600898 00000898 0000000000000004 0000000000000000 WA 0 0 4 ... 69: 00000000006008a0 0 OBJECT GLOBAL HIDDEN 24 __TMC_LIST__ 70: 00000000006008a0 0 OBJECT GLOBAL HIDDEN 24 __TMC_END__ (I adjusted the test case so that the start symbol was also global, so that I could see it in all the output files.) My current guess is that there's some "unused section" pruning code that's triggering to remove the section. My guess is that it should avoid doing that if there are symbols present in the section. -- 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 https://lists.gnu.org/mailman/listinfo/bug-binutils