aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/comm-data1.s
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-data1.s
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-data1.s')
-rw-r--r--ld/testsuite/ld-elf/comm-data1.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/comm-data1.s b/ld/testsuite/ld-elf/comm-data1.s
new file mode 100644
index 0000000..ac20a64
--- /dev/null
+++ b/ld/testsuite/ld-elf/comm-data1.s
@@ -0,0 +1,6 @@
+ .section .rodata,"a",%progbits
+ .balign 8
+ .globl foo
+ .type foo,%object
+foo:
+ .skip 4, 0