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

--- Comment #29 from Ian Lance Taylor <ian at airs dot com> 2011-07-02 00:43:51 
UTC ---
The failure of two_file_shared_1_nonpic.so is not very interesting.  It happens
because on Solaris when gcc sees -shared it passes -z text to the linker.  GNU
ld does not support -z text and simply ignores it, as it ignores all
unrecognized -z options.  The gold linker does support -z text, which means to
not permit dynamic relocations in the text segment.  This test is specifically
testing that that works, so naturally it fails.

I just committed a patch to support -z notext, and to use it when appropriate,
so this test should no longer fail on Solaris.

I also committed a patch to avoid testing with -static in cases where it does
not work.

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

Reply via email to