This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Discard .reginfo sections in linker assert test
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Tue, 26 Jun 2007 09:14:11 -0700
- Subject: PATCH: Discard .reginfo sections in linker assert test
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) }
}