This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Testsuite breakage from "[committed] Remove o(b) MIPS macros and use A(b) instead"


> From: Richard Sandiford <rdsandiford@googlemail.com>
> Sender: "binutils-owner@sourceware.org" <binutils-owner@sourceware.org>

> Date: Sun, 7 Jul 2013 13:38:11 +0200
> gas/testsuite/
>         * gas/mips/ldstla-32.d: Avoid "lui at,0x0" sequences for
>         truncated constants.
>         * gas/mips/ldstla-32-shared.d: Likewise.
>         * gas/mips/mcu.d: Use ADDIU in preference to LI+ADDU when adding
>         16-bit constants to the base.
>         * gas/mips/micromips@mcu.d: Likewise.
>         * gas/mips/micromips@cache.d: Likewise.
>         * gas/mips/micromips@pref.d: Likewise.
>         * gas/mips/micromips.d, gas/mips/micromips-insn32.d,
>         gas/mips/micromips-noinsn32.d, gas/mips/micromips-trap.d: Likewise.
>         Allow the full 16-bit offset range to be used for SB, LB and LBU in
>         USH and ULH sequences.  Fix the expected output for LD and SD when
>         the two LW and SW offsets need different high parts.
>         * gas/mips/eva.s: Test PREFE with relocation operators.
>         * gas/mips/eva.d: Use ADDIU in preference to LI+ADDU for 16-bit
>         constants.  Update after eva.s change.
>         * gas/mips/micromips@eva.d: Likewise.
>         * gas/mips/ld-reloc.s, gas/mips/ld-reloc.d, gas/mips/l_d-reloc.s,
>         gas/mips/l_d-reloc.d, gas/mips/ulw-reloc.s, gas/mips/ulw-reloc.d,
>         gas/mips/micromips@ulw-reloc.d, gas/mips/ulh-reloc.s,
>         gas/mips/ulh-reloc.d: New tests.
>         * gas/mips/mips.exp: Run them.

The mips.exp change references la-reloc.d and dla-reloc.d not
included in the post or committed, causing ever since:

Running /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/mips.exp ...
ERROR: couldn't open "/tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/la-reloc.d": no such file or directory
ERROR: error reading options from /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/la-reloc.d
ERROR: couldn't open "/tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/la-reloc.d": no such file or directory
ERROR: error reading options from /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/la-reloc.d
(etc. pruned)
ERROR: error reading options from /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/dla-reloc.d
ERROR: couldn't open "/tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/dla-reloc.d": no such file or directory
ERROR: error reading options from /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/dla-reloc.d
ERROR: couldn't open "/tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/dla-reloc.d": no such file or directory
(etc. pruned)

Index: gas/testsuite/gas/mips/mips.exp
===================================================================
--- gas/testsuite/gas/mips/mips.exp	2013-07-07 11:52:40.403442316 +0100
+++ gas/testsuite/gas/mips/mips.exp	2013-07-07 11:52:43.123465913 +0100
@@ -1114,4 +1114,16 @@ if { [istarget mips*-*-vxworks*] } {
     run_list_test "ase-errors-2" "-mabi=o64 -march=mips3" "ASE errors (2)"
     run_list_test "ase-errors-3" "-mabi=32 -march=mips1" "ASE errors (3)"
     run_list_test "ase-errors-4" "-mabi=o64 -march=mips3" "ASE errors (4)"
+
+    run_dump_test_arches "la-reloc"	[mips_arch_list_matching mips1]
+    if { $has_newabi } {
+	run_dump_test_arches "dla-reloc" [mips_arch_list_matching mips3]
+    }
+
+    # Start with MIPS II to avoid load delay nops.
+    run_dump_test_arches "ld-reloc"	[mips_arch_list_matching mips2]
+    run_dump_test_arches "ulw-reloc"	[mips_arch_list_matching mips2]
+    run_dump_test_arches "ulh-reloc"	[mips_arch_list_matching mips2]
+
+    run_dump_test "l_d-reloc"
 }

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]