This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils 20021009 cvs trunk on cygwin: gas failuers
- From: Nick Clifton <nickc at redhat dot com>
- To: c dot christian dot joensson at telia dot com
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 17 Jun 2003 12:41:12 +0100
- Subject: Re: binutils 20021009 cvs trunk on cygwin: gas failuers
- References: <20021009232605.A8901@u1sparc.j-son.org><20021010102721.S979@bubble.sa.bigpond.net.au><20030105041709.GA3290@j-son.org><20030615073647.A20745@u1sparc.j-son.org>
Hi Christian,
> Just a ping here, I get
>
> === gas tests ===
> Running target unix
> FAIL: i386 abs reloc
> FAIL: i386 pcrel reloc
> FAIL: i386 sub
> Anything happening?
Well the first and third ones appear to be because tweaks are needed
in the expected output files. The patch below fixes them. I am not
sure about the "i386 pcrel reloc" failures though. They are more
extensive and might be serious. I will leave investigating them to
someone who has more time :-)
Cheers
Nick
2003-06-17 Nick Clifton <nickc@redhat.com>
* gas/i386/absrel.d: Tweak patterns to work for i386-pc-cygwin
target as well.
* gas/i386/sub.d: Likewise.
Index: gas/testsuite/gas/i386/absrel.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/absrel.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 absrel.d
*** gas/testsuite/gas/i386/absrel.d 5 Sep 2002 00:05:43 -0000 1.1
--- gas/testsuite/gas/i386/absrel.d 17 Jun 2003 11:41:55 -0000
*************** Disassembly of section \.text:
*** 11,17 ****
0+005 <glob>:
5: a1 00 00 00 00[ ]*mov 0x0,%eax 6: (R_386_|dir)?32 ext
a: a1 00 00 00 00[ ]*mov 0x0,%eax b: (R_386_|dir)?32 weak
! f: (a1 00 00 00 00[ ]*mov 0x0,%eax 10: (R_386_)?32 comm|a1 04 00 00 00[ ]*mov 0x4,%eax 10: dir32 comm.*)
14: a1 00 00 00 00[ ]*mov 0x0,%eax 15: (R_386_|dir)?32 \.text
19: (a1 00 00 00 00[ ]*mov 0x0,%eax 1a: R_386_32 glob|a1 05 00 00 00[ ]*mov 0x5,%eax 1a: (dir)?32 \.text)
1e: a1 76 98 00 00[ ]*mov 0x9876,%eax
--- 11,17 ----
0+005 <glob>:
5: a1 00 00 00 00[ ]*mov 0x0,%eax 6: (R_386_|dir)?32 ext
a: a1 00 00 00 00[ ]*mov 0x0,%eax b: (R_386_|dir)?32 weak
! f: (a1 00 00 00 00[ ]*mov 0x0,%eax 10: (R_386_|dir)?32 comm.*|a1 04 00 00 00[ ]*mov 0x4,%eax 10: dir32 comm.*)
14: a1 00 00 00 00[ ]*mov 0x0,%eax 15: (R_386_|dir)?32 \.text
19: (a1 00 00 00 00[ ]*mov 0x0,%eax 1a: R_386_32 glob|a1 05 00 00 00[ ]*mov 0x5,%eax 1a: (dir)?32 \.text)
1e: a1 76 98 00 00[ ]*mov 0x9876,%eax
*************** Disassembly of section \.text:
*** 22,28 ****
37: a1 00 00 00 00[ ]*mov 0x0,%eax
3c: a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 3d: (R_386_|dir)?32 ext
41: a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 42: (R_386_|dir)?32 weak
! 46: (a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 47: (R_386_)?32 comm|a1 d0 ed ff ff[ ]*mov 0xffffedd0,%eax 47: dir32 comm.*)
4b: a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 4c: (R_386_|dir)?32 \.text
50: (a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 51: R_386_32 glob|a1 d1 ed ff ff[ ]*mov 0xffffedd1,%eax 51: (dir)?32 \.text)
55: a1 42 86 00 00[ ]*mov 0x8642,%eax
--- 22,28 ----
37: a1 00 00 00 00[ ]*mov 0x0,%eax
3c: a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 3d: (R_386_|dir)?32 ext
41: a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 42: (R_386_|dir)?32 weak
! 46: (a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 47: (R_386_|dir)?32 comm.*|a1 d0 ed ff ff[ ]*mov 0xffffedd0,%eax 47: dir32 comm.*)
4b: a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 4c: (R_386_|dir)?32 \.text
50: (a1 cc ed ff ff[ ]*mov 0xffffedcc,%eax 51: R_386_32 glob|a1 d1 ed ff ff[ ]*mov 0xffffedd1,%eax 51: (dir)?32 \.text)
55: a1 42 86 00 00[ ]*mov 0x8642,%eax
*************** Disassembly of section \.text:
*** 33,39 ****
6e: a1 be 79 ff ff[ ]*mov 0xffff79be,%eax
73: a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 74: (R_386_|dir)?32 ext
78: a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 79: (R_386_|dir)?32 weak
! 7d: (a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 7e: (R_386_)?32 comm|a1 8e 67 ff ff[ ]*mov 0xffff678e,%eax 7e: dir32 comm.*)
82: a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 83: (R_386_|dir)?32 \.text
87: (a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 88: R_386_32 glob|a1 8f 67 ff ff[ ]*mov 0xffff678f,%eax 88: (dir)?32 \.text)
8c: a1 00 00 00 00[ ]*mov 0x0,%eax
--- 33,39 ----
6e: a1 be 79 ff ff[ ]*mov 0xffff79be,%eax
73: a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 74: (R_386_|dir)?32 ext
78: a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 79: (R_386_|dir)?32 weak
! 7d: (a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 7e: (R_386_|dir)?32 comm.*|a1 8e 67 ff ff[ ]*mov 0xffff678e,%eax 7e: dir32 comm.*)
82: a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 83: (R_386_|dir)?32 \.text
87: (a1 8a 67 ff ff[ ]*mov 0xffff678a,%eax 88: R_386_32 glob|a1 8f 67 ff ff[ ]*mov 0xffff678f,%eax 88: (dir)?32 \.text)
8c: a1 00 00 00 00[ ]*mov 0x0,%eax
Index: gas/testsuite/gas/i386/sub.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/sub.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 sub.d
*** gas/testsuite/gas/i386/sub.d 1 Nov 2002 20:41:48 -0000 1.1
--- gas/testsuite/gas/i386/sub.d 17 Jun 2003 11:41:55 -0000
***************
*** 6,10 ****
Disassembly of section .text:
0+000 <foo>:
! 0: 66 be (0|1)(0|2) 00[ ]+mov[ ]+\$0x(1)?(0|2),%si[ ]+2:[ ]+(R_386_PC|DISP)16[ ]+.data(\+0xfffffff0)?
.*
--- 6,10 ----
Disassembly of section .text:
0+000 <foo>:
! 0: 66 be (0|1)(0|2|4) 00[ ]+mov[ ]+\$0x(1)?(0|2|4),%si[ ]+2:[ ]+(R_386_PC|DISP)16[ ]+.data(\+0xfffffff0)?
.*