This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix a ld test for Blackfin
- From: Jie Zhang <jie dot zhang at analog dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Fri, 11 Sep 2009 09:58:28 +0800
- Subject: [PATCH] Fix a ld test for Blackfin
When I was debugging
FAIL: ld-elf/warn2
for bfin-*-linux-uclibc target. I found symbol `Foo' was in section 3.
This patch should fix this FAIL for bfin-*-linux-uclibc target.
Is it OK?
Jie
* ld-elf/warn2.d: `Foo' appears in section 3 when target
is bfin-*-linux-uclibc.
Index: ld-elf/warn2.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/warn2.d,v
retrieving revision 1.3
diff -u -r1.3 warn2.d
--- ld-elf/warn2.d 23 Nov 2006 16:50:39 -0000 1.3
+++ ld-elf/warn2.d 11 Sep 2009 01:42:25 -0000
@@ -11,5 +11,5 @@
# construct and that the symbol still appears as expected.
#...
-[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+20[ ]+OBJECT[ ]+GLOBAL DEFAULT[ ]+[1-2] Foo
+[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+20[ ]+OBJECT[ ]+GLOBAL DEFAULT[ ]+[1-3] Foo
#pass