This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: Fix PR18735 test for RL78
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Tue, 19 Jan 2016 13:46:42 +0000
- Subject: Commit: Fix PR18735 test for RL78
- Authentication-results: sourceware.org; auth=none
Hi Guys,
I am checking in the patch below to fix the linker PR18735 test for
the RL78 target (and possibly others too). The RL78 inserts an extra
symbol into the symbol table and the test was not expecting it.
Cheers
Nick
ld/ChangeLog
2016-01-19 Nick Clifton <nickc@redhat.com>
* testsuite/ld-elf/pr18735.d: Allow for extra symbols between
foo@FOO and bar@@FOO.
diff --git a/ld/testsuite/ld-elf/pr18735.d b/ld/testsuite/ld-elf/pr18735.d
index 8ec0938..bc19a82 100644
--- a/ld/testsuite/ld-elf/pr18735.d
+++ b/ld/testsuite/ld-elf/pr18735.d
@@ -4,6 +4,7 @@
Symbol table '.symtab' contains .* entries:
#...
[ ]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +foo@FOO
+#...
[ ]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +bar@@FOO
[ ]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +foo
[ ]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +bar