Commit: Fix PR18735 test for RL78
Nick Clifton
nickc@redhat.com
Tue Jan 19 13:46:00 GMT 2016
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
More information about the Binutils
mailing list