gold patch committed: Use -Wl,-R,. for gold testsuite shared libs

Ian Lance Taylor iant@google.com
Fri May 27 18:46:00 GMT 2011


Reportedly two gold tests fail on Dragonfly, apparently because the
dynamic linker uses the shared library search path to find libraries
that the shared library depends on, rather than inheriting the
executable's search path.  This patch should fix the problem by adding
-Wl,-R,. to the libraries themselves.  Committed to mainline.

Ian


2011-05-27  Ian Lance Taylor  <iant@google.com>

	* testsuite/Makefile.am (ver_test_2.so): Use -Wl,-R,.
	(ver_test_9.so): Likewise.
	* testsuite/Makefile.in: Rebuild.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1419 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110527/fbefed11/attachment.bin>


More information about the Binutils mailing list