This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] MIPS gas/ld test suite portability fixes
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: binutils at sources dot redhat dot com
- Cc: "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Tue, 22 Feb 2005 18:22:01 +0000 (GMT)
- Subject: [PATCH] MIPS gas/ld test suite portability fixes
Hello,
It's generally unsafe to assume the default MIPS arch type will work for
NewABI tests (although it may happen to be the case with the targets that
currently enable them). For example we get several failures with our SDE
toolchain if we configure it for mipsisa32-*. I think it shouldn't hurt
to specify a compatible arch explicitly.
We get failures due to a different alignment of sections, too. Finally
one of the ld cases omits emulation specification, which may also lead to
a failure.
Here's a fix that addresses these issues. No regressions for
mips64-linux-gnu.
gas/testsuite/:
2005-02-22 Maciej W. Rozycki <macro@mips.com>
* mips/elf-rel-got-n32.d: Pass -march=mips3 to gas to select a
64-bit architecture.
* mips/elf-rel-got-n64.d: Likewise.
* mips/elf-rel-xgot-n32.d: Likewise.
* mips/elf-rel-xgot-n64.d: Likewise.
* mips/elf-rel18.d: Likewise.
* gas/mips/jal-newabi.d: Likewise.
* gas/mips/ldstla-n32-shared.d: Likewise.
* gas/mips/ldstla-n32.d: Likewise.
* gas/mips/ldstla-n64-shared.d: Likewise.
* gas/mips/ldstla-n64.d: Likewise.
* gas/mips/macro-warn-1-n32.d: Likewise.
* gas/mips/macro-warn-2-n32.d: Likewise.
* gas/mips/n32-consec.d: Likewise.
* mips/elf-rel-got-n32.s: Align to 16 bytes for multi-target
support.
* mips/elf-rel-got-n64.s: Likewise.
* mips/elf-rel23.s: Likewise.
* gas/mips/n32-consec.s: Likewise.
ld/testsuite/:
2005-02-22 Maciej W. Rozycki <macro@mips.com>
* ld-mips-elf/elf-rel-got-n32.d: Pass -march=mips3 to gas to
select a 64-bit architecture.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
* ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n32.d: Likewise.
* ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n64.d: Likewise.
* ld-mips-elf/reloc-1-n32.d: Likewise.
* ld-mips-elf/reloc-1-n64.d: Likewise.
* ld-mips-elf/jalbal.d: Pass -melf32btsmipn32 to ld to select an
n32 emulation.
OK to apply?
Maciej
binutils-2.15.94-20050222-mips-newabi-tests.patch
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-got-n32.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-got-n32.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-got-n32.d 2004-02-02 12:48:21.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-got-n32.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,6 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#name: MIPS ELF got reloc n32
-#as: -n32 -KPIC
+#as: -march=mips3 -n32 -KPIC
.*: +file format elf32-n.*mips.*
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-got-n32.s binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-got-n32.s
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-got-n32.s 2003-04-11 01:56:51.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-got-n32.s 2005-02-11 19:54:23.000000000 +0000
@@ -151,6 +151,9 @@ fn2:
.globl __start
__start:
+# align section end to 16-byte boundary for easier testing on multiple targets
+ .p2align 4
+
.data
.align 2
sp2:
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-got-n64.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-got-n64.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-got-n64.d 2004-02-02 12:48:21.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-got-n64.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,6 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#name: MIPS ELF got reloc n64
-#as: -64 -KPIC
+#as: -march=mips3 -64 -KPIC
.*: +file format elf64-.*mips.*
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-got-n64.s binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-got-n64.s
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-got-n64.s 2003-04-11 01:56:51.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-got-n64.s 2005-02-11 19:56:16.000000000 +0000
@@ -152,6 +152,9 @@ fn2:
.globl __start
__start:
+# align section end to 16-byte boundary for easier testing on multiple targets
+ .p2align 4
+
.data
.align 3
sp2:
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-xgot-n32.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-xgot-n32.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-xgot-n32.d 2004-02-02 12:48:21.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-xgot-n32.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,6 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#name: MIPS ELF xgot reloc n32
-#as: -n32 -KPIC -xgot
+#as: -march=mips3 -n32 -KPIC -xgot
#source: elf-rel-got-n32.s
.*: +file format elf32-n.*mips.*
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-xgot-n64.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-xgot-n64.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel-xgot-n64.d 2004-02-02 12:48:21.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel-xgot-n64.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,6 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#name: MIPS ELF xgot reloc n64
-#as: -64 -KPIC -xgot
+#as: -march=mips3 -64 -KPIC -xgot
#source: elf-rel-got-n64.s
.*: +file format elf64-.*mips.*
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel18.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel18.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel18.d 2004-01-12 09:30:49.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel18.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,5 +1,5 @@
#readelf: --relocs
-#as: -mabi=n32 -KPIC
+#as: -march=mips3 -mabi=n32 -KPIC
Relocation section '\.rela\.text' at offset .* contains 4 entries:
Offset Info Type Sym.Value Sym. Name \+ Addend
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel23.s binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel23.s
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/elf-rel23.s 2004-10-07 22:29:19.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/elf-rel23.s 2005-02-22 15:53:40.000000000 +0000
@@ -4,3 +4,6 @@
foo:
.cpsetup $4,$5,foo
.end foo
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+ .p2align 4
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/jal-newabi.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/jal-newabi.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/jal-newabi.d 2003-06-21 21:38:03.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/jal-newabi.d 2005-02-11 18:58:55.000000000 +0000
@@ -1,6 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#name: MIPS ELF NewABI jal
-#as: -n32 -KPIC -xgot
+#as: -march=mips3 -n32 -KPIC -xgot
.*: +file format elf32-n.*mips.*
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/ldstla-n32-shared.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/ldstla-n32-shared.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/ldstla-n32-shared.d 2003-10-01 02:07:48.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/ldstla-n32-shared.d 2005-02-11 19:05:06.000000000 +0000
@@ -1,5 +1,5 @@
#objdump: -d
-#as: -KPIC -n32
+#as: -march=mips3 -KPIC -n32
#name: MIPS ld-st-la constants (ABI n32, shared)
#source: ldstla-n32.s
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/ldstla-n32.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/ldstla-n32.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/ldstla-n32.d 2003-10-01 02:07:48.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/ldstla-n32.d 2005-02-11 19:04:45.000000000 +0000
@@ -1,5 +1,5 @@
#objdump: -d
-#as: -n32
+#as: -march=mips3 -n32
#name: MIPS ld-st-la constants (ABI n32)
#source: ldstla-n32.s
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/ldstla-n64-shared.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/ldstla-n64-shared.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/ldstla-n64-shared.d 2004-01-09 02:24:23.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/ldstla-n64-shared.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,5 +1,5 @@
#objdump: -d
-#as: -KPIC -64
+#as: -march=mips3 -KPIC -64
#name: MIPS ld-st-la constants (ABI n64, shared)
#source: ldstla-n64.s
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/ldstla-n64.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/ldstla-n64.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/ldstla-n64.d 2004-01-09 02:24:23.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/ldstla-n64.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,5 +1,5 @@
#objdump: -d
-#as: -64
+#as: -march=mips3 -64
#name: MIPS ld-st-la constants (ABI n64)
#source: ldstla-n64.s
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/macro-warn-1-n32.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/macro-warn-1-n32.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/macro-warn-1-n32.d 2004-01-23 13:01:07.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/macro-warn-1-n32.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,4 +1,4 @@
-#as: -n32 -KPIC
+#as: -march=mips3 -n32 -KPIC
#source: macro-warn-1.s
#stderr: macro-warn-1-n32.l
#objdump: -p
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/macro-warn-2-n32.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/macro-warn-2-n32.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/macro-warn-2-n32.d 2004-01-23 13:01:07.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/macro-warn-2-n32.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,4 +1,4 @@
-#as: -n32 -KPIC
+#as: -march=mips3 -n32 -KPIC
#source: macro-warn-2.s
#objdump: -p
#pass
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/n32-consec.d binutils-2.15.94-20050222/gas/testsuite/gas/mips/n32-consec.d
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/n32-consec.d 2003-01-27 23:01:55.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/n32-consec.d 2005-02-11 19:03:50.000000000 +0000
@@ -1,4 +1,4 @@
-#as: -n32
+#as: -march=mips3 -n32
#objdump: -Dr --prefix-addresses
#name: n32 consecutive unrelated relocations
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/n32-consec.s binutils-2.15.94-20050222/gas/testsuite/gas/mips/n32-consec.s
--- binutils-2.15.94-20050222.macro/gas/testsuite/gas/mips/n32-consec.s 2003-01-27 23:01:55.000000000 +0000
+++ binutils-2.15.94-20050222/gas/testsuite/gas/mips/n32-consec.s 2005-02-11 20:34:51.000000000 +0000
@@ -1,4 +1,11 @@
.text
.long .
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+ .p2align 4
+
.data
.long .+4
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+ .p2align 4
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/elf-rel-got-n32.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/elf-rel-got-n32.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/elf-rel-got-n32.d 2005-01-31 22:00:59.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/elf-rel-got-n32.d 2005-02-22 15:55:20.000000000 +0000
@@ -1,5 +1,5 @@
#name: MIPS ELF got reloc n32
-#as: -EB -n32 -KPIC
+#as: -march=mips3 -EB -n32 -KPIC
#source: ../../../gas/testsuite/gas/mips/elf-rel-got-n32.s
#ld: -melf32btsmipn32
#objdump: -D --show-raw-insn
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d 2005-01-31 22:00:59.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d 2005-02-22 15:54:17.000000000 +0000
@@ -1,5 +1,5 @@
#name: MIPS ELF got reloc n64
-#as: -EB -64 -KPIC
+#as: -march=mips3 -EB -64 -KPIC
#source: ../../../gas/testsuite/gas/mips/elf-rel-got-n64.s
#ld: -melf64btsmip
#objdump: -D --show-raw-insn
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/elf-rel-xgot-n32.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/elf-rel-xgot-n32.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/elf-rel-xgot-n32.d 2005-01-31 22:00:59.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/elf-rel-xgot-n32.d 2005-02-22 15:54:43.000000000 +0000
@@ -1,5 +1,5 @@
#name: MIPS ELF xgot reloc n32
-#as: -EB -n32 -KPIC -xgot
+#as: -march=mips3 -EB -n32 -KPIC -xgot
#source: ../../../gas/testsuite/gas/mips/elf-rel-got-n32.s
#ld: -melf32btsmipn32
#objdump: -D --show-raw-insn
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d 2005-01-31 22:00:59.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d 2005-02-22 15:55:01.000000000 +0000
@@ -1,5 +1,5 @@
#name: MIPS ELF xgot reloc n64
-#as: -EB -64 -KPIC -xgot
+#as: -march=mips3 -EB -64 -KPIC -xgot
#source: ../../../gas/testsuite/gas/mips/elf-rel-got-n64.s
#ld: -melf64btsmip
#objdump: -D --show-raw-insn
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/jalbal.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/jalbal.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/jalbal.d 2005-01-31 22:00:59.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/jalbal.d 2005-02-22 15:55:46.000000000 +0000
@@ -1,7 +1,7 @@
#name: jal to bal
#source: jalbal.s
#as: -EB -n32 -march=rm9000
-#ld: -EB -e s1 -Ttext 0x100000a0
+#ld: -EB -e s1 -Ttext 0x100000a0 -melf32btsmipn32
#objdump: -d
.*file format elf.*mips.*
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/relax-jalr-n32-shared.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/relax-jalr-n32-shared.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/relax-jalr-n32-shared.d 2003-09-21 16:40:29.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/relax-jalr-n32-shared.d 2005-02-11 19:07:44.000000000 +0000
@@ -1,6 +1,6 @@
#name: MIPS relax-jalr-shared n32
#source: relax-jalr.s
-#as: -KPIC -n32 -EB
+#as: -march=mips3 -KPIC -n32 -EB
#objdump: --prefix-addresses -d --show-raw-insn
#ld: --relax -shared -melf32btsmipn32
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/relax-jalr-n32.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/relax-jalr-n32.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/relax-jalr-n32.d 2003-09-21 16:40:29.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/relax-jalr-n32.d 2005-02-11 19:07:48.000000000 +0000
@@ -1,6 +1,6 @@
#name: MIPS relax-jalr n32
#source: relax-jalr.s
-#as: -KPIC -n32 -EB
+#as: -march=mips3 -KPIC -n32 -EB
#objdump: --prefix-addresses -d --show-raw-insn
#ld: --relax -melf32btsmipn32
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/relax-jalr-n64-shared.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/relax-jalr-n64-shared.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/relax-jalr-n64-shared.d 2003-09-21 16:40:29.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/relax-jalr-n64-shared.d 2005-02-11 19:07:51.000000000 +0000
@@ -1,6 +1,6 @@
#name: MIPS relax-jalr-shared n64
#source: relax-jalr.s
-#as: -KPIC -64 -EB
+#as: -march=mips3 -KPIC -64 -EB
#objdump: --prefix-addresses -d --show-raw-insn
#ld: --relax -shared -melf64btsmip
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/relax-jalr-n64.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/relax-jalr-n64.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/relax-jalr-n64.d 2003-09-21 16:40:29.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/relax-jalr-n64.d 2005-02-11 19:07:54.000000000 +0000
@@ -1,6 +1,6 @@
#name: MIPS relax-jalr n64
#source: relax-jalr.s
-#as: -KPIC -64 -EB
+#as: -march=mips3 -KPIC -64 -EB
#objdump: --prefix-addresses -d --show-raw-insn
#ld: --relax -melf64btsmip
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/reloc-1-n32.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/reloc-1-n32.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/reloc-1-n32.d 2003-12-18 10:25:12.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/reloc-1-n32.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,5 +1,5 @@
-#source: reloc-1a.s -mabi=n32
-#source: reloc-1b.s -mabi=n32
+#source: reloc-1a.s -march=mips3 -mabi=n32
+#source: reloc-1b.s -march=mips3 -mabi=n32
#ld: -r
#readelf: --relocs
diff -up --recursive --new-file binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/reloc-1-n64.d binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/reloc-1-n64.d
--- binutils-2.15.94-20050222.macro/ld/testsuite/ld-mips-elf/reloc-1-n64.d 2003-12-18 10:25:12.000000000 +0000
+++ binutils-2.15.94-20050222/ld/testsuite/ld-mips-elf/reloc-1-n64.d 2005-02-22 15:53:40.000000000 +0000
@@ -1,5 +1,5 @@
-#source: reloc-1a.s -mabi=64 -EB
-#source: reloc-1b.s -mabi=64 -EB
+#source: reloc-1a.s -march=mips3 -mabi=64 -EB
+#source: reloc-1b.s -march=mips3 -mabi=64 -EB
#ld: -melf64btsmip -r
#readelf: --relocs