aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2023-07-28 06:00:36 +0100
committerMaciej W. Rozycki <macro@orcam.me.uk>2023-07-28 06:00:36 +0100
commit70116eb5e6c74f9b526b1fec4e39f11238cb6a34 (patch)
tree4023594078007caaaf2f5c77786e19c580cf1511 /ld/testsuite/ld-mips-elf
parentb50c220d179d239eacd7d7e120f7466e2ea47170 (diff)
downloadfsf-binutils-gdb-70116eb5e6c74f9b526b1fec4e39f11238cb6a34.zip
fsf-binutils-gdb-70116eb5e6c74f9b526b1fec4e39f11238cb6a34.tar.gz
fsf-binutils-gdb-70116eb5e6c74f9b526b1fec4e39f11238cb6a34.tar.bz2
MIPS/LD/testsuite: Run `got-dump-1' for o32/n32 ABIs
The `got-dump-1' test case uses 32-bit addressing, so it makes no sense to run it with the n64 ABI. And there is a corresponding `got-dump-2' test already for the n64 ABI. Use the per-ABI framework then to run the `got-dump-1' test explicitly for o32 and n32 ABIs only. ld/ * testsuite/ld-mips-elf/mips-elf.exp: Run `got-dump-1' for o32 and n32 ABIs only.
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 46cdcc9..1c634ee 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -856,7 +856,8 @@ if { $linux_gnu } {
"got-page-7b.so"}
}]
}
- run_dump_test "got-dump-1"
+ run_dump_test_o32 "got-dump-1"
+ run_dump_test_n32 "got-dump-1" [list [list name (n32)]]
run_dump_test_n64 "got-dump-2" noarch
run_dump_test "reloc-estimate-1"
}