diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-12-18 10:25:12 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-12-18 10:25:12 +0000 |
commit | 18ab192184fb5f5c087651ac8fdfe2b3f1cdf720 (patch) | |
tree | c5af55301074fda48774b53b6a48b7d17e8c5539 /ld/testsuite/ld-mips-elf/mips-elf.exp | |
parent | 30ac9238dfbbddadd84b277a9cae57a006aac265 (diff) | |
download | gdb-18ab192184fb5f5c087651ac8fdfe2b3f1cdf720.zip gdb-18ab192184fb5f5c087651ac8fdfe2b3f1cdf720.tar.gz gdb-18ab192184fb5f5c087651ac8fdfe2b3f1cdf720.tar.bz2 |
* ld-mips-elf/reloc-1[ab].s: New source files.
* ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests.
* ld-mips-elf/reloc-2[ab].s: New source files.
* ld-mips-elf/reloc-2.{d,ld}: New test.
* ld-mips-elf/reloc-3[ab].s: New source files.
* ld-mips-elf/reloc-3-{r,srec}.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/mips-elf.exp')
-rw-r--r-- | ld/testsuite/ld-mips-elf/mips-elf.exp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp index 96739fa..f2194a1 100644 --- a/ld/testsuite/ld-mips-elf/mips-elf.exp +++ b/ld/testsuite/ld-mips-elf/mips-elf.exp @@ -79,3 +79,21 @@ if { $embedded_elf } { run_dump_test "region1" } + +if $embedded_elf { + # This could work on other targets too, but would need the appropriate + # ld -m switch. + run_dump_test "reloc-1-rel" +} +if $has_newabi { + run_dump_test "reloc-1-n32" + if $linux_gnu { + # Uses a linux-specific ld -m switch + run_dump_test "reloc-1-n64" + } +} +run_dump_test "reloc-2" +if $embedded_elf { + run_dump_test "reloc-3-r" + run_dump_test "reloc-3-srec" +} |