gold patch committed: Fix test for gcc < 4.3

Ian Lance Taylor iant@google.com
Sun Sep 27 05:22:00 GMT 2009


Constructor/destructor priorities were introduced in gcc 4.3.  gold
will work if built with gcc 4.2, but the test for constructor
priorities will not.  I committed this patch to disable the test if
building with a version of gcc before 4.3.  This also fixes the file
comment.

Ian


2009-09-26  Ian Lance Taylor  <iant@google.com>

	* testsuite/initpri1.c: Don't try to use constructor priorities if
	compiling with gcc before 4.3.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1568 bytes
Desc: disable for old gcc
URL: <https://sourceware.org/pipermail/binutils/attachments/20090927/2d2ab4f3/attachment.bin>


More information about the Binutils mailing list