A patch for gas/i386/intel testsuite
H . J . Lu
hjl@valinux.com
Thu Nov 16 18:52:00 GMT 2000
The a.out assembler has 3 extra "nop"s at the end so that "make check"
will fail for the a.out assembler on gas/i386/intel. I used the cross
i686-linuxaout configutation:
..../configure --target=i686-linuxaout
BTW, Alan, the i386 a.out emulation doesn't work every well:
# /work/build/gnu/bin/binutils-debug/gas/as-new -J --em=i386aout -o /tmp/foo.o intel.s
intel.s: Assembler messages:
intel.s:579: Error: cannot represent relocation type BFD_RELOC_386_GOTOFF
But the cross i686-linuxaout assembler has no problem. It may be
harmless since the GNU a.out doesn't really support PIC.
--
H.J. Lu (hjl@valinux.com)
----
2000-11-16 H.J. Lu <hjl@gnu.org>
* gas/i386/intel.d: Add 3 "nop"s for the a.out assembler.
* gas/i386/intel.s: Likewise.
Index: gas/i386/intel.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/i386/intel.d,v
retrieving revision 1.1.1.4
diff -u -p -r1.1.1.4 intel.d
--- gas/i386/intel.d 2000/11/08 00:30:38 1.1.1.4
+++ gas/i386/intel.d 2000/11/17 02:35:16
@@ -621,3 +621,6 @@ Disassembly of section .text:
a70: ff 20 [ ]*jmp \*\(%eax\)
a72: ff 25 d2 09 00 00 [ ]*jmp \*0x9d2
a78: e9 55 ff ff ff [ ]*jmp 9d2 <bar>
+ a7d: 90 [ ]*nop
+ a7e: 90 [ ]*nop
+ a7f: 90 [ ]*nop
Index: gas/i386/intel.s
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/i386/intel.s,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 intel.s
--- gas/i386/intel.s 2000/11/08 00:30:38 1.1.1.3
+++ gas/i386/intel.s 2000/11/17 02:34:12
@@ -616,3 +616,6 @@ rot5:
jmp [eax]
jmp [bar]
jmp bar
+ nop
+ nop
+ nop
More information about the Binutils
mailing list