This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[vxworks,i386] Fix testcases
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Tue, 28 Apr 2009 13:47:31 +0100
- Subject: [vxworks,i386] Fix testcases
I've committed this patch to fix a couple of vxworks-specific tests that had
bitrotted.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
2009-04-28 Nathan Sidwell <nathan@codesourcery.com>
* ld-i386/vxworks1-lib.dd: Adjust expected disassembly.
* ld-i386/vxworks1.dd: Adjust expected disassembly.
* ld-i386/vxworks1-lib.rd: Sections are swapped.
Index: ld-i386/vxworks1-lib.dd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-i386/vxworks1-lib.dd,v
retrieving revision 1.2
diff -c -3 -p -r1.2 vxworks1-lib.dd
*** ld-i386/vxworks1-lib.dd 2 Mar 2006 08:54:43 -0000 1.2
--- ld-i386/vxworks1-lib.dd 28 Apr 2009 12:45:17 -0000
*************** Disassembly of section \.plt:
*** 6,15 ****
00080800 <_PROCEDURE_LINKAGE_TABLE_>:
80800: ff b3 04 00 00 00 pushl 0x4\(%ebx\)
80806: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
! 8080c: 90 nop
! 8080d: 90 nop
! 8080e: 90 nop
! 8080f: 90 nop
00080810 <sexternal@plt>:
80810: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
--- 6,15 ----
00080800 <_PROCEDURE_LINKAGE_TABLE_>:
80800: ff b3 04 00 00 00 pushl 0x4\(%ebx\)
80806: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
! 8080c: 90 nop
! 8080d: 90 nop
! 8080e: 90 nop
! 8080f: 90 nop
00080810 <sexternal@plt>:
80810: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
Index: ld-i386/vxworks1-lib.rd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-i386/vxworks1-lib.rd,v
retrieving revision 1.4
diff -c -3 -p -r1.4 vxworks1-lib.rd
*** ld-i386/vxworks1-lib.rd 15 May 2007 12:22:34 -0000 1.4
--- ld-i386/vxworks1-lib.rd 28 Apr 2009 12:45:17 -0000
***************
*** 1,12 ****
- Relocation section '\.rel\.plt' at offset .* contains 2 entries:
- Offset Info Type Sym\.Value Sym\. Name
- 0008140c .*07 R_386_JUMP_SLOT 00000000 sexternal
- 00081410 .*07 R_386_JUMP_SLOT 00080c27 sglobal
-
Relocation section '\.rel\.dyn' at offset .* contains 4 entries:
Offset Info Type Sym\.Value Sym\. Name
00081800 00000008 R_386_RELATIVE *
00080c03 .*01 R_386_32 00000000 __GOTT_BASE__
00080c09 .*01 R_386_32 00000000 __GOTT_INDEX__
00081414 .*06 R_386_GLOB_DAT 00081c00 x
--- 1,12 ----
Relocation section '\.rel\.dyn' at offset .* contains 4 entries:
Offset Info Type Sym\.Value Sym\. Name
00081800 00000008 R_386_RELATIVE *
00080c03 .*01 R_386_32 00000000 __GOTT_BASE__
00080c09 .*01 R_386_32 00000000 __GOTT_INDEX__
00081414 .*06 R_386_GLOB_DAT 00081c00 x
+
+ Relocation section '\.rel\.plt' at offset .* contains 2 entries:
+ Offset Info Type Sym\.Value Sym\. Name
+ 0008140c .*07 R_386_JUMP_SLOT 00000000 sexternal
+ 00081410 .*07 R_386_JUMP_SLOT 00080c27 sglobal
Index: ld-i386/vxworks1.dd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-i386/vxworks1.dd,v
retrieving revision 1.2
diff -c -3 -p -r1.2 vxworks1.dd
*** ld-i386/vxworks1.dd 2 Mar 2006 08:54:43 -0000 1.2
--- ld-i386/vxworks1.dd 28 Apr 2009 12:45:17 -0000
*************** Disassembly of section \.plt:
*** 8,17 ****
80802: R_386_32 _GLOBAL_OFFSET_TABLE_
80806: ff 25 08 14 08 00 jmp \*0x81408
80808: R_386_32 _GLOBAL_OFFSET_TABLE_
! 8080c: 90 nop
! 8080d: 90 nop
! 8080e: 90 nop
! 8080f: 90 nop
00080810 <sglobal@plt>:
80810: ff 25 0c 14 08 00 jmp \*0x8140c
--- 8,17 ----
80802: R_386_32 _GLOBAL_OFFSET_TABLE_
80806: ff 25 08 14 08 00 jmp \*0x81408
80808: R_386_32 _GLOBAL_OFFSET_TABLE_
! 8080c: 90 nop
! 8080d: 90 nop
! 8080e: 90 nop
! 8080f: 90 nop
00080810 <sglobal@plt>:
80810: ff 25 0c 14 08 00 jmp \*0x8140c