http://sourceware.org/bugzilla/show_bug.cgi?id=12549
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> 2013-01-14 15:40:37 UTC --- (In reply to comment #4) > Created attachment 6809 [details] > test case > > Simple test case. > > liba.so has a weak reference to libb.so and is linked using --as-needed. This > should not result in a NEEDED entry in liba.so. I believe the linker behavior is correct. Adding --as-needed shouldn't change if libb.so is added to the NEEDED entry in liba.so since linking with libb.so changes the behavior of liba.so. The reason Linux doesn't have your problem is Linux uses GNU_EH_FRAME. -- 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