http://sourceware.org/bugzilla/show_bug.cgi?id=12562
--- Comment #9 from Dave Korn <davek at gcc dot gnu.org> 2011-03-12 16:21:34 UTC --- (In reply to comment #8) > Created attachment 5302 [details] > Testcase #2 > > (Is it ok to post here, or should I file another bug report for it?) Can you check whether that works with GOLD? If GOLD also fails (though perhaps in a different way - maybe a redefinition error for bar) then I think the first thing would be to post this testcase to the binutils list and try and figure out what is *supposed* to happen. That foo symbol is invisible to LTO, we might just decide that it's not valid code. If you replace the asm by void foo (void) __attribute__ ((alias("bar"))) ; it all works fine, as we would hope. -- 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