https://sourceware.org/bugzilla/show_bug.cgi?id=18720
Cary Coutant <ccoutant at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ccoutant at gmail dot com --- Comment #1 from Cary Coutant <ccoutant at gmail dot com> --- With my proposed fix for gas (see PR 18703 comment #12), indirect3b.o would not have the stray unversioned definition for foo, and ld would work just fine as is. https://sourceware.org/bugzilla/show_bug.cgi?id=18703#c12 With your testcase, gold binds to the unversioned foo in indirect3b.o, and the resulting binary prints "MAIN" twice. With the patched assembler, both gold and ld print "DSO" twice. -- 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