PATCH: Discard .reginfo sections in linker assert test
H. J. Lu
hjl@lucon.org
Tue Jun 26 16:14:00 GMT 2007
Linker assert test may fail on mips due to .reginfo sections. This
patch discards them.
H.J.
----
2007-06-29 H.J. Lu <hjl@gnu.org>
* ld-scripts/assert.t: Discard .reginfo sections.
--- ld/testsuite/ld-scripts/assert.t.assert 2007-05-24 09:24:37.000000000 -0700
+++ ld/testsuite/ld-scripts/assert.t 2007-06-26 09:10:39.000000000 -0700
@@ -6,4 +6,5 @@ SECTIONS
ASSERT (here, "here is zero");
}
ASSERT (!SIZEOF(.empty), "Empty is not empty")
+ /DISCARD/ : { *(.reginfo) }
}
More information about the Binutils
mailing list