This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix ld testcase for MIPS
- From: Thiemo Seufer <ths at networkno dot de>
- To: binutils at sourceware dot org
- Date: Thu, 23 Nov 2006 16:52:50 +0000
- Subject: [PATCH] Fix ld testcase for MIPS
Hello All,
I applied the appended patch, it fixes ld-elf/warn2 for MIPS ld.
Thiemo
2006-11-23 Thiemo Seufer <ths@mips.com>
* ld-elf/warn2.d: Match regex also for the second segment.
Index: ld/testsuite/ld-elf/warn2.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/warn2.d,v
retrieving revision 1.2
diff -u -p -r1.2 warn2.d
--- ld/testsuite/ld-elf/warn2.d 6 Nov 2006 10:39:17 -0000 1.2
+++ ld/testsuite/ld-elf/warn2.d 23 Nov 2006 16:46:52 -0000
@@ -11,5 +11,5 @@
# construct and that the symbol still appears as expected.
#...
-[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+20[ ]+OBJECT[ ]+GLOBAL DEFAULT[ ]+1 Foo
+[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+20[ ]+OBJECT[ ]+GLOBAL DEFAULT[ ]+[1-2] Foo
#pass