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

--- Comment #10 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 
2011-01-23 01:10:35 UTC ---
(In reply to comment #9)
> 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".

It seems this behavior isn't documented.

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

It also happens with IR-archive (though IR is not used: "ld.hjl: LTO IR
sections in libdiv.a(div.o) aren't used in stage 2 linking").

Behavior of ld.ian depends on pass-through hack in the driver. With a hack, it
takes __udivdi3 from libgcc. Without -pass-through options, it silently uses
non-IR part of libdiv.a.

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