* Reverted previous patch.
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 12 Mar 2003 23:05:31 +0000 (23:05 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 12 Mar 2003 23:05:31 +0000 (23:05 +0000)
12 files changed:
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/bge.d
gas/testsuite/gas/mips/bge.s
gas/testsuite/gas/mips/bgeu.d
gas/testsuite/gas/mips/bgeu.s
gas/testsuite/gas/mips/blt.d
gas/testsuite/gas/mips/blt.s
gas/testsuite/gas/mips/bltu.d
gas/testsuite/gas/mips/bltu.s
gas/testsuite/gas/mips/branch-misc-2.d [deleted file]
gas/testsuite/gas/mips/branch-misc-2.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp

index c3a4788521c6bff1d5440e483431277685eb63dc..b4f5dd40530637c82a73c4b6a86ef258f0670140 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Reverted previous patch.
+
 2003-03-02  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
        * gas/mips/bge.d: Reactivate external branch tests.
index 26952deff8edb7925ae5ce8efebfb46f5ea792ae..7924c024d2cb2cbdcbaf78b903466332b7c690e7 100644 (file)
@@ -51,20 +51,20 @@ Disassembly of section .text:
 0+00a8 <[^>]*> slt     at,a1,a0
 0+00ac <[^>]*> bnezl   at,0+0000 <text_label>
 0+00b0 <[^>]*> nop
-0+00b4 <[^>]*> slt     at,a0,a1
-0+00b8 <[^>]*> beqz    at,000000b8 <text_label\+0xb8>
-     ]*b8: R_MIPS_PC16       external_label
-0+00bc <[^>]*> nop
-0+00c0 <[^>]*> slt     at,a1,a0
-0+00c4 <[^>]*> bnez    at,000000c4 <text_label\+0xc4>
-     ]*c4: R_MIPS_PC16       external_label
-0+00c8 <[^>]*> nop
-0+00cc <[^>]*> slt     at,a0,a1
-0+00d0 <[^>]*> beqzl   at,000000d0 <text_label\+0xd0>
-     ]*d0: R_MIPS_PC16       external_label
-0+00d4 <[^>]*> nop
-0+00d8 <[^>]*> slt     at,a1,a0
-0+00dc <[^>]*> bnezl   at,000000dc <text_label\+0xdc>
-     ]*dc: R_MIPS_PC16       external_label
-0+00e0 <[^>]*> nop
+#0+00b4 <[^>]*> slt    at,a0,a1
+#0+00b8 <[^>]*> beqz   at,000000b8 <text_label\+0xb8>
+#[     ]*b8: R_MIPS_PC16       external_label
+#0+00bc <[^>]*> nop
+#0+00c0 <[^>]*> slt    at,a1,a0
+#0+00c4 <[^>]*> bnez   at,000000c4 <text_label\+0xc4>
+#[     ]*c4: R_MIPS_PC16       external_label
+#0+00c8 <[^>]*> nop
+#0+00cc <[^>]*> slt    at,a0,a1
+#0+00d0 <[^>]*> beqzl  at,000000d0 <text_label\+0xd0>
+#[     ]*d0: R_MIPS_PC16       external_label
+#0+00d4 <[^>]*> nop
+#0+00d8 <[^>]*> slt    at,a1,a0
+#0+00dc <[^>]*> bnezl  at,000000dc <text_label\+0xdc>
+#[     ]*dc: R_MIPS_PC16       external_label
+#0+00e0 <[^>]*> nop
        ...
index 4b4e58f6d69bad91c5a64ff4b84ace7ad27b957e..bedab79401d513d1ed5ad24da5bf89b36d508d73 100644 (file)
@@ -25,10 +25,10 @@ text_label:
        bgtl    $4,$5,text_label
 
 # Branch to an external label.
-       bge     $4,$5,external_label
-       bgt     $4,$5,external_label
-       bgel    $4,$5,external_label
-       bgtl    $4,$5,external_label
+#      bge     $4,$5,external_label
+#      bgt     $4,$5,external_label
+#      bgel    $4,$5,external_label
+#      bgtl    $4,$5,external_label
 
 # Round to a 16 byte boundary, for ease in testing multiple targets.
        nop
index ace226e9eb406861728e372b95293e3b58b17cf6..d927956416f79cea24d92ffcecb826aff8ba9ac1 100644 (file)
@@ -45,20 +45,20 @@ Disassembly of section .text:
 0+0090 <[^>]*> sltu    at,a1,a0
 0+0094 <[^>]*> bnezl   at,0+0000 <text_label>
 0+0098 <[^>]*> nop
-0+009c <[^>]*> sltu    at,a0,a1
-0+00a0 <[^>]*> beqz    at,000000a0 <text_label\+0xa0>
-     ]*a0: R_MIPS_PC16       external_label
-0+00a4 <[^>]*> nop
-0+00a8 <[^>]*> sltu    at,a1,a0
-0+00ac <[^>]*> bnez    at,000000ac <text_label\+0xac>
-     ]*ac: R_MIPS_PC16       external_label
-0+00b0 <[^>]*> nop
-0+00b4 <[^>]*> sltu    at,a0,a1
-0+00b8 <[^>]*> beqzl   at,000000b8 <text_label\+0xb8>
-     ]*b8: R_MIPS_PC16       external_label
-0+00bc <[^>]*> nop
-0+00c0 <[^>]*> sltu    at,a1,a0
-0+00c4 <[^>]*> bnezl   at,000000c4 <text_label\+0xc4>
-     ]*c4: R_MIPS_PC16       external_label
-0+00c8 <[^>]*> nop
+#0+009c <[^>]*> sltu   at,a0,a1
+#0+00a0 <[^>]*> beqz   at,000000a0 <text_label\+0xa0>
+#[     ]*a0: R_MIPS_PC16       external_label
+#0+00a4 <[^>]*> nop
+#0+00a8 <[^>]*> sltu   at,a1,a0
+#0+00ac <[^>]*> bnez   at,000000ac <text_label\+0xac>
+#[     ]*ac: R_MIPS_PC16       external_label
+#0+00b0 <[^>]*> nop
+#0+00b4 <[^>]*> sltu   at,a0,a1
+#0+00b8 <[^>]*> beqzl  at,000000b8 <text_label\+0xb8>
+#[     ]*b8: R_MIPS_PC16       external_label
+#0+00bc <[^>]*> nop
+#0+00c0 <[^>]*> sltu   at,a1,a0
+#0+00c4 <[^>]*> bnezl  at,000000c4 <text_label\+0xc4>
+#[     ]*c4: R_MIPS_PC16       external_label
+#0+00c8 <[^>]*> nop
        ...
index cccd584f780a4d38d1bb20a946514180e7a7ad08..8a5244c73a60105c1b103c28425cfab0ad673c30 100644 (file)
@@ -23,10 +23,10 @@ text_label:
        bgtul   $4,$5,text_label
 
 # Branch to an external label.
-       bgeu    $4,$5,external_label
-       bgtu    $4,$5,external_label
-       bgeul   $4,$5,external_label
-       bgtul   $4,$5,external_label
+#      bgeu    $4,$5,external_label
+#      bgtu    $4,$5,external_label
+#      bgeul   $4,$5,external_label
+#      bgtul   $4,$5,external_label
 
 # Round to a 16 byte boundary, for ease in testing multiple targets.
        nop
index fdc7c4ba38ec33496df71817ad7f972d2759caea..ca6d8b5e8ad5a34381f74a87338aba473037ff6f 100644 (file)
@@ -51,20 +51,20 @@ Disassembly of section .text:
 0+00a8 <[^>]*> slt     at,a1,a0
 0+00ac <[^>]*> beqzl   at,0+0000 <text_label>
 0+00b0 <[^>]*> nop
-0+00b4 <[^>]*> slt     at,a0,a1
-0+00b8 <[^>]*> bnez    at,000000b8 <text_label\+0xb8>
-     ]*b8: R_MIPS_PC16       external_label
-0+00bc <[^>]*> nop
-0+00c0 <[^>]*> slt     at,a1,a0
-0+00c4 <[^>]*> beqz    at,000000c4 <text_label\+0xc4>
-     ]*c4: R_MIPS_PC16       external_label
-0+00c8 <[^>]*> nop
-0+00cc <[^>]*> slt     at,a0,a1
-0+00d0 <[^>]*> bnezl   at,000000d0 <text_label\+0xd0>
-     ]*d0: R_MIPS_PC16       external_label
-0+00d4 <[^>]*> nop
-0+00d8 <[^>]*> slt     at,a1,a0
-0+00dc <[^>]*> beqzl   at,000000dc <text_label\+0xdc>
-     ]*dc: R_MIPS_PC16       external_label
-0+00e0 <[^>]*> nop
+#0+00b4 <[^>]*> slt    at,a0,a1
+#0+00b8 <[^>]*> bnez   at,000000b8 <text_label\+0xb8>
+#[     ]*b8: R_MIPS_PC16       external_label
+#0+00bc <[^>]*> nop
+#0+00c0 <[^>]*> slt    at,a1,a0
+#0+00c4 <[^>]*> beqz   at,000000c4 <text_label\+0xc4>
+#[     ]*c4: R_MIPS_PC16       external_label
+#0+00c8 <[^>]*> nop
+#0+00cc <[^>]*> slt    at,a0,a1
+#0+00d0 <[^>]*> bnezl  at,000000d0 <text_label\+0xd0>
+#[     ]*d0: R_MIPS_PC16       external_label
+#0+00d4 <[^>]*> nop
+#0+00d8 <[^>]*> slt    at,a1,a0
+#0+00dc <[^>]*> beqzl  at,000000dc <text_label\+0xdc>
+#[     ]*dc: R_MIPS_PC16       external_label
+#0+00e0 <[^>]*> nop
        ...
index 9b2ed08524f396cd7d6212d7df6073ab87f1ae6d..cdeff16d7837c7deee87d8126e8ccc58a217372d 100644 (file)
@@ -25,10 +25,10 @@ text_label:
        blel    $4,$5,text_label
 
 # Branch to an external label.
-       blt     $4,$5,external_label
-       ble     $4,$5,external_label
-       bltl    $4,$5,external_label
-       blel    $4,$5,external_label
+#      blt     $4,$5,external_label
+#      ble     $4,$5,external_label
+#      bltl    $4,$5,external_label
+#      blel    $4,$5,external_label
 
 # Round to a 16 byte boundary, for ease in testing multiple targets.
        nop
index f6fbfbb2aee2cc41548d9228f922e0be2189b748..5b147318f7c0527575e360bb2b447d80fd464753 100644 (file)
@@ -45,20 +45,20 @@ Disassembly of section .text:
 0+0090 <[^>]*> sltu    at,a1,a0
 0+0094 <[^>]*> beqzl   at,0+0000 <text_label>
 0+0098 <[^>]*> nop
-0+009c <[^>]*> sltu    at,a0,a1
-0+00a0 <[^>]*> bnez    at,000000a0 <text_label\+0xa0>
-     ]*a0: R_MIPS_PC16       external_label
-0+00a4 <[^>]*> nop
-0+00a8 <[^>]*> sltu    at,a1,a0
-0+00ac <[^>]*> beqz    at,000000ac <text_label\+0xac>
-     ]*ac: R_MIPS_PC16       external_label
-0+00b0 <[^>]*> nop
-0+00b4 <[^>]*> sltu    at,a0,a1
-0+00b8 <[^>]*> bnezl   at,000000b8 <text_label\+0xb8>
-     ]*b8: R_MIPS_PC16       external_label
-0+00bc <[^>]*> nop
-0+00c0 <[^>]*> sltu    at,a1,a0
-0+00c4 <[^>]*> beqzl   at,000000c4 <text_label\+0xc4>
-     ]*c4: R_MIPS_PC16       external_label
-0+00c8 <[^>]*> nop
+#0+009c <[^>]*> sltu   at,a0,a1
+#0+00a0 <[^>]*> bnez   at,000000a0 <text_label\+0xa0>
+#[     ]*a0: R_MIPS_PC16       external_label
+#0+00a4 <[^>]*> nop
+#0+00a8 <[^>]*> sltu   at,a1,a0
+#0+00ac <[^>]*> beqz   at,000000ac <text_label\+0xac>
+#[     ]*ac: R_MIPS_PC16       external_label
+#0+00b0 <[^>]*> nop
+#0+00b4 <[^>]*> sltu   at,a0,a1
+#0+00b8 <[^>]*> bnezl  at,000000b8 <text_label\+0xb8>
+#[     ]*b8: R_MIPS_PC16       external_label
+#0+00bc <[^>]*> nop
+#0+00c0 <[^>]*> sltu   at,a1,a0
+#0+00c4 <[^>]*> beqzl  at,000000c4 <text_label\+0xc4>
+#[     ]*c4: R_MIPS_PC16       external_label
+#0+00c8 <[^>]*> nop
        ...
index 602b7b283d65559ca26e511d90832e20b72d96b8..88034e8bc0cfce2742e5027444cae40122ac31b0 100644 (file)
@@ -23,10 +23,10 @@ text_label:
        bleul   $4,$5,text_label
 
 # Branch to an external label.
-       bltu    $4,$5,external_label
-       bleu    $4,$5,external_label
-       bltul   $4,$5,external_label
-       bleul   $4,$5,external_label
+#      bltu    $4,$5,external_label
+#      bleu    $4,$5,external_label
+#      bltul   $4,$5,external_label
+#      bleul   $4,$5,external_label
 
 # Round to a 16 byte boundary, for ease in testing multiple targets.
        nop
diff --git a/gas/testsuite/gas/mips/branch-misc-2.d b/gas/testsuite/gas/mips/branch-misc-2.d
deleted file mode 100644 (file)
index a9df3ab..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#objdump: -dr --prefix-addresses --show-raw-insn
-#name: MIPS branch-misc-2
-
-# Test the backward branches to globals symbols in current file.
-
-.*: +file format .*mips.*
-
-Disassembly of section .text:
-       \.\.\.
-       \.\.\.
-       \.\.\.
-0+003c <[^>]*> 0411ffff        bal     0000003c <x>
-[      ]*3c: R_MIPS_PC16       g1
-0+0040 <[^>]*> 00000000        nop
-0+0044 <[^>]*> 0411ffff        bal     00000044 <x\+0x8>
-[      ]*44: R_MIPS_PC16       g2
-0+0048 <[^>]*> 00000000        nop
-0+004c <[^>]*> 0411ffff        bal     0000004c <x\+0x10>
-[      ]*4c: R_MIPS_PC16       g3
-0+0050 <[^>]*> 00000000        nop
-0+0054 <[^>]*> 0411ffff        bal     00000054 <x\+0x18>
-[      ]*54: R_MIPS_PC16       g4
-0+0058 <[^>]*> 00000000        nop
-0+005c <[^>]*> 0411ffff        bal     0000005c <x\+0x20>
-[      ]*5c: R_MIPS_PC16       g5
-0+0060 <[^>]*> 00000000        nop
-0+0064 <[^>]*> 0411ffff        bal     00000064 <x\+0x28>
-[      ]*64: R_MIPS_PC16       g6
-0+0068 <[^>]*> 00000000        nop
-       \.\.\.
-       \.\.\.
-       \.\.\.
-0+00a8 <[^>]*> 1000ffff        b       000000a8 <g6>
-[      ]*a8: R_MIPS_PC16       x1
-0+00ac <[^>]*> 00000000        nop
-0+00b0 <[^>]*> 1000ffff        b       000000b0 <g6\+0x8>
-[      ]*b0: R_MIPS_PC16       x2
-0+00b4 <[^>]*> 00000000        nop
-       \.\.\.
diff --git a/gas/testsuite/gas/mips/branch-misc-2.l b/gas/testsuite/gas/mips/branch-misc-2.l
new file mode 100644 (file)
index 0000000..a84068a
--- /dev/null
@@ -0,0 +1,9 @@
+.*: Assembler messages:
+.*:21: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
+.*:22: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
+.*:23: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
+.*:24: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
+.*:25: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
+.*:26: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
+.*:35: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
+.*:36: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
index 91bb12dde85d9fe02ef8f833a22d0220a13edadc..eaf7d37e1d55deb2548dcec857d1795acf887f09 100644 (file)
@@ -407,7 +407,7 @@ if { [istarget mips*-*-*] } then {
     run_dump_test_arches "blt"         [mips_arch_list_matching mips2]
     run_dump_test_arches "bltu"                [mips_arch_list_matching mips2]
     run_dump_test_arches "branch-misc-1" [mips_arch_list_matching mips1]
-    run_dump_test_arches "branch-misc-2" [mips_arch_list_matching mips1]
+    run_list_test_arches "branch-misc-2" "" [mips_arch_list_matching mips1]
 
     if $ilocks {
        run_dump_test "div-ilocks"