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

Ian Lance Taylor
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.


2011-05-27  Ian Lance Taylor  <>

	* testsuite/ ( Use -Wl,-R,.
	( Likewise.
	* testsuite/ Rebuild.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1419 bytes
Desc: patch
URL: <>

More information about the Binutils mailing list