http://sourceware.org/bugzilla/show_bug.cgi?id=14891
Bug #: 14891 Summary: Section name and symbol name clash Product: binutils Version: 2.24 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassig...@sourceware.org ReportedBy: d.g.gorbac...@gmail.com Classification: Unclassified Created attachment 6762 --> http://sourceware.org/bugzilla/attachment.cgi?id=6762 Testcases (ELF) The 1st testcase fails with an error: $ as 1.s -o 1.o --defsym X=1 1.s: Assembler messages: 1.s:18: Warning: section symbols are already global 1.s:23: Error: symbol `foo' is already defined But in the 2nd case, a symbol silently disappears: $ as 1.s -o 1.o $ nm -a 1.o 00000000 D bar 00000000 b .bss 00000000 d .data 00000000 d foo 00000000 t .text -- 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