This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Small MIPS gas testsuite fix
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 13 Dec 2004 13:05:17 +0000
- Subject: Small MIPS gas testsuite fix
The new elf-rel25 tests assumed that .text will be padded to 16 bytes.
This was causing bogus failures on mips64-elf.
Patched tested on mips-elf, mips64-elf, mipsisa64el-elf and mips64-linux-gnu.
Applied as obvious.
Richard
* gas/mips/elf-rel25.d, gas/mips/elf-rel25a.d: Cope with different
.text alignments.
Index: gas/testsuite/gas/mips/elf-rel25.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/elf-rel25.d,v
retrieving revision 1.1
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.1 elf-rel25.d
--- gas/testsuite/gas/mips/elf-rel25.d 10 Dec 2004 19:48:42 -0000 1.1
+++ gas/testsuite/gas/mips/elf-rel25.d 13 Dec 2004 12:58:44 -0000
@@ -12,4 +12,4 @@ 0+00 <.*>:
.*: 279c0000 addiu \$28,\$28,0
.*: R_MIPS_LO16 _gp_disp
.*: 0399e021 addu \$28,\$28,\$25
-.*: 00000000 nop
+#pass
Index: gas/testsuite/gas/mips/elf-rel25a.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/elf-rel25a.d,v
retrieving revision 1.1
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.1 elf-rel25a.d
--- gas/testsuite/gas/mips/elf-rel25a.d 10 Dec 2004 19:48:42 -0000 1.1
+++ gas/testsuite/gas/mips/elf-rel25a.d 13 Dec 2004 12:58:44 -0000
@@ -12,4 +12,4 @@ 0+00 <.*>:
.*: R_MIPS_HI16 _gp
.*: 279c0000 addiu \$28,\$28,0
.*: R_MIPS_LO16 _gp
- \.\.\.
+#pass