public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] MIPS/LD/testsuite: Run `got-dump-1' for o32/n32 ABIs
@ 2023-07-28  5:06 Maciej W. Rozycki
  0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2023-07-28  5:06 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=70116eb5e6c74f9b526b1fec4e39f11238cb6a34

commit 70116eb5e6c74f9b526b1fec4e39f11238cb6a34
Author: Maciej W. Rozycki <macro@orcam.me.uk>
Date:   Fri Jul 28 06:00:36 2023 +0100

    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.

Diff:
---
 ld/testsuite/ld-mips-elf/mips-elf.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 46cdcc91e54..1c634eec8ba 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"
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-28  5:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-28  5:06 [binutils-gdb] MIPS/LD/testsuite: Run `got-dump-1' for o32/n32 ABIs Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).