http://sourceware.org/bugzilla/show_bug.cgi?id=12549
--- Comment #9 from Rich Felker <bugdal at aerifal dot cx> 2013-01-14 15:50:47 UTC --- I agree there's room for different opinions here, but I believe --as-needed should not include the library when all it does is resolve weak references. This matches the static-linking behavior and, perhaps more importantly, matches the purpose of making the reference weak: the fact that you don't need or want the actual implementation linked in unless you're also linking something else that depended on it being present. If it's not acceptable for --as-needed to have this behavior, then a different option to achieve the same thing is needed, and gcc needs to use that option with libgcc_s to prevent it from being linked unconditionally. -- 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