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

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-23 00:11:13 
UTC ---
(In reply to comment #8)
> (In reply to comment #6)
> 
> This testcase shows that 2-stage BFD linker changes the order of linking.
> 
> ld.hjl takes a definition of __udivdi3 (which is referred to by bar in x.o)
> from libdiv.a (not from libgcc, not from libc), though libdiv.a appears before
> x.o on the command line:
> 
> gcc -B./ -o foo -O2 -fwhole-program -flto=jobserver -fuse-linker-plugin y.o
> libdiv.a x.o
> 

When there are "IR-object non-IR-archive IR-object" on command line,
LTO makes it equivalent to "IR-object IR-object non-IR-archive".

-- 
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