* Small MIPS gas testsuite fix
@ 2004-12-13 13:05 Richard Sandiford
0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2004-12-13 13:05 UTC (permalink / raw)
To: binutils
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-13 13:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-13 13:05 Small MIPS gas testsuite fix Richard Sandiford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).