2007-05-03 H.J. Lu <hongjiu.lu@intel.com>

PR gas/4460
	* gas/i386/gotpc.s: Add a new test.
	* gas/i386/reloc64.s: Likewise.

	* gas/i386/gotpc.d: Updated.
	* gas/i386/reloc64.d: Likewise.
This commit is contained in:
H.J. Lu 2007-05-04 00:44:36 +00:00
parent 0787a12d29
commit bfb568882d
5 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
PR gas/4460
* gas/i386/gotpc.s: Add a new test.
* gas/i386/reloc64.s: Likewise.
* gas/i386/gotpc.d: Updated.
* gas/i386/reloc64.d: Likewise.
2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/crc32-intel.d: Updated.

View File

@ -49,4 +49,6 @@ Disassembly of section .text:
e0: e0 00 [ ]*loopne e2 <test\+0xe2> e0: (R_386_)?GOTPC _GLOBAL_OFFSET_TABLE_
e2: 00 00 [ ]*add %al,\(%eax\)
e4: 00 00 [ ]*add %al,\(%eax\) e4: (R_386_)?GOTOFF _GLOBAL_OFFSET_TABLE_
...
e6: 00 00 [ ]*add %al,\(%eax\)
e8: 8b 83 00 00 00 00 [ ]*mov 0x0\(%ebx\),%eax ea: (R_386_)?GOTOFF _GLOBAL_OFFSET_TABLE_
#pass

View File

@ -38,3 +38,4 @@ test:
movl _GLOBAL_OFFSET_TABLE_@GOTOFF(%ebx), %ebx
.long _GLOBAL_OFFSET_TABLE_+[.-test]
.long _GLOBAL_OFFSET_TABLE_@GOTOFF
movl _GLOBAL_OFFSET_TABLE_@GOTOFF (%ebx), %eax

View File

@ -47,6 +47,7 @@ Disassembly of section \.text:
.*[ ]+R_X86_64_TPOFF64[ ]+xtrn
.*[ ]+R_X86_64_TPOFF32[ ]+xtrn
.*[ ]+R_X86_64_TPOFF32[ ]+xtrn
.*[ ]+R_X86_64_TPOFF32[ ]+xtrn
Disassembly of section \.data:
#...
.*[ ]+R_X86_64_64[ ]+xtrn

View File

@ -195,3 +195,6 @@ bad .byte xtrn@gottpoff
bad .byte xtrn@tlsld
bad .byte xtrn@dtpoff
bad .byte xtrn@tpoff
.text
mov xtrn@tpoff (%rbx), %eax