aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/comm-data2.sd
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2011-11-29 12:42:10 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2011-11-29 12:42:10 +0000
commit74d44110ad6ae12dfd0a4cf035705873b97fa52d (patch)
treeb591ad3b3a955937b2a6732ffb1baf83ad718ba1 /ld/testsuite/ld-elf/comm-data2.sd
parent0c36327f08536ad69ac44363ecff5c28761ef009 (diff)
downloadgdb-74d44110ad6ae12dfd0a4cf035705873b97fa52d.zip
gdb-74d44110ad6ae12dfd0a4cf035705873b97fa52d.tar.gz
gdb-74d44110ad6ae12dfd0a4cf035705873b97fa52d.tar.bz2
PR ld/10144
* lib/ld-lib.exp (run_ld_link_tests): Handle sources from other directories. (run_ld_link_exec_tests): Likewise. (run_cc_link_tests): Likewise. * ld-elf/comm-data1.sd: New test. * ld-elf/comm-data1.s: Source for the new test. * ld-elf/comm-data2.sd: New test. * ld-elf/comm-data2.rd: Likewise. * ld-elf/comm-data2.xd: Likewise. * ld-elf/comm-data2.s: Source for the new tests. * ld-elf/comm-data.exp: New file. * ld-mips-elf/comm-data.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/comm-data2.sd')
-rw-r--r--ld/testsuite/ld-elf/comm-data2.sd10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/comm-data2.sd b/ld/testsuite/ld-elf/comm-data2.sd
new file mode 100644
index 0000000..0e44eeb
--- /dev/null
+++ b/ld/testsuite/ld-elf/comm-data2.sd
@@ -0,0 +1,10 @@
+Symbol table '\.dynsym' contains [0-9]+ entries:
+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
+#...
+ +[0-9]+: +0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +foo
+#...
+Symbol table '\.symtab' contains [0-9]+ entries:
+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
+#...
+ +[0-9]+: +0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +foo
+#pass