This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld-discard test tweak
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Fri, 2 Jul 2004 16:15:46 +0930
- Subject: ld-discard test tweak
* ld-discard/static.d: Accept both original sym and section sym.
Index: ld/testsuite/ld-discard/static.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-discard/static.d,v
retrieving revision 1.5
diff -u -p -r1.5 static.d
--- ld/testsuite/ld-discard/static.d 1 Jul 2004 13:48:53 -0000 1.5
+++ ld/testsuite/ld-discard/static.d 2 Jul 2004 06:45:12 -0000
@@ -1,3 +1,3 @@
#source: static.s
#ld: -T discard.ld
-#error: `\.data\.exit' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o
+#error: `(\.data\.exit|data)' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o
--
Alan Modra
IBM OzLabs - Linux Technology Centre