[binutils-gdb] MIPS/LD/testsuite: Run HI16/LO16 tests for VxWorks too

Maciej W. Rozycki macro@sourceware.org
Thu Oct 30 14:27:41 GMT 2025


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

commit 040b85bd572f3c9ef4cd197d4e2e5dea297c4e6d
Author: Maciej W. Rozycki <macro@orcam.me.uk>
Date:   Thu Oct 30 14:24:23 2025 +0000

    MIPS/LD/testsuite: Run HI16/LO16 tests for VxWorks too
    
    Run ELF linker tests for HI16/LO16 relocations with MIPS/VxWorks targets
    as well.  Despite issues only fixed in the next change they produce the
    same results as with other MIPS targets, so just use the existing tests
    verbatim, however refrain from adding other tests until said issues have
    been fixed.

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

diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index e8a1d42791e..da6bed9b4ce 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -45,6 +45,12 @@ if {[istarget "mips*-*-vxworks"]} {
     run_ld_link_tests $mipsvxtests
     run_dump_test "vxworks1-static"
     run_dump_test "vxworks-forced-local-1"
+
+    run_dump_test "mips-hilo"
+    run_dump_test "mips16-hilo"
+    run_dump_test "mips16e2-hilo"
+    run_dump_test "micromips-hilo"
+    run_dump_test "pcrel-hilo"
     return
 }


More information about the Binutils-cvs mailing list