PATCH COMMITTED: Don't force version symbols to be local

Ian Lance Taylor iant@google.com
Sat Mar 29 08:41:00 GMT 2008


With a linker script that forced all unspecified symbols to be local,
gold was accidentally forcing version symbols to be local.  This
caused the libstdc++ abi test to fail.  This patch corrects that, with
a test case.

Ian


2008-03-29  Ian Lance Taylor  <iant@google.com>

	* symtab.cc (Symbol_table::do_define_as_constant): Don't force a
	version symbol to be local.
	* testsuite/ver_test_4.sh: New file.
	* testsuite/Makefile.am (check_SCRIPTS): Add ver_test_4.sh.
	(check_DATA): Add ver_test_4.syms.
	(ver_test_4.syms): New target.
	* testsuite/Makefile.in: Rebuild.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 3192 bytes
Desc: Don't force version symbols to be local
URL: <https://sourceware.org/pipermail/binutils/attachments/20080329/101f8cc3/attachment.bin>


More information about the Binutils mailing list