This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch gas/testsuite]: Fix i386 jump.d


Hi,

there is one regression in the gas testsuite on i386 Darwin.   But this looks
to be a baseline issue: the next instruction is at offset 0x3e, so I don't
understand where the 0xd1 may come from.  This doesn't affect ELF because
in this format the offset is 0xfffffffc.

Tristan.

gas/testsuite
2009-07-06  Tristan Gingold  <gingold@adacore.com>

	* gas/i386/jump.d: Adjust to be relocated offset for jump to external
	symbol.


Index: testsuite/gas/i386/jump.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/jump.d,v
retrieving revision 1.7
diff -u -p -r1.7 jump.d
--- testsuite/gas/i386/jump.d	8 Jun 2009 15:55:36 -0000	1.7
+++ testsuite/gas/i386/jump.d	6 Jul 2009 08:35:23 -0000
@@ -17,7 +17,7 @@ Disassembly of section .text:
 [ 	]*[a-f0-9]+:	66 ff 2d 00 00 00 00 	ljmpw  \*0x0	29: (R_386_)?(dir)?32	xxx
 [ 	]*[a-f0-9]+:	ea 00 00 00 00 34 12 	ljmp   \$0x1234,\$0x0	2e: (R_386_)?(dir)?32	xxx
 [ 	]*[a-f0-9]+:	e8 c7 ff ff ff       	call   (0x0|0 <.text>)
-[ 	]*[a-f0-9]+:	e8 ((fc|d1) ff ff ff|00 00 00 00)       	call   (0x)?(0|3a|3e)( <.text(\+0x3e)?>)?	3a: (R_386_PC)?(DISP)?32	xxx
+[ 	]*[a-f0-9]+:	e8 ((fc|c2) ff ff ff|00 00 00 00)       	call   (0x)?(0|3a|3e)( <.text(\+0x3e)?>)?	3a: (R_386_PC)?(DISP)?32	xxx
 [ 	]*[a-f0-9]+:	ff 15 00 00 00 00    	call   \*0x0	40: (R_386_)?(dir)?32	xxx
 [ 	]*[a-f0-9]+:	ff d7                	call   \*%edi
 [ 	]*[a-f0-9]+:	ff 17                	call   \*\(%edi\)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]