aboutsummaryrefslogtreecommitdiff
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:01:22 +0100
commitca35977c67288780a44d88935ed363e77e7f6f91 (patch)
tree1f8024d7d2153090c065eae0c975bfd2d088cc69
parent7c564b2e93c78bb49c078d4ee3efc318f056b6ed (diff)
downloadgdb-ca35977c67288780a44d88935ed363e77e7f6f91.zip
gdb-ca35977c67288780a44d88935ed363e77e7f6f91.tar.gz
gdb-ca35977c67288780a44d88935ed363e77e7f6f91.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. (cherry picked from commit 70116eb5e6c74f9b526b1fec4e39f11238cb6a34)
-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"
}