Browse Source
2005-04-01 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S. (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case. gas/testsuite/ 2005-04-01 Jan Beulich <jbeulich@novell.com> * gas/i386/x86-64-pcrel.[sd]: New. * gas/i386/i386.exp: Run new test.msnyder-tracepoint-checkpoint-branch
6 changed files with 32 additions and 1 deletions
@ -0,0 +1,13 @@ |
|||
#objdump: -drw |
|||
#name: x86-64 pcrel |
|||
|
|||
.*: +file format elf64-x86-64 |
|||
|
|||
Disassembly of section .text: |
|||
|
|||
0+000 <_start>: |
|||
[ ]*[0-9a-f]+:[ ]+b0 00[ ]+movb?[ ]+\$(0x)?0,%al[ ]*[0-9a-f]+:[ ]+R_X86_64_PC8[ ]+xtrn\+(0x)?1 |
|||
[ ]*[0-9a-f]+:[ ]+66 b8 00 00[ ]+movw?[ ]+\$(0x)?0,%ax[ ]*[0-9a-f]+:[ ]+R_X86_64_PC16[ ]+xtrn\+(0x)?2 |
|||
[ ]*[0-9a-f]+:[ ]+b8 00 00 00 00[ ]+movl?[ ]+\$(0x)?0,%eax[ ]*[0-9a-f]+:[ ]+R_X86_64_PC32[ ]+xtrn\+(0x)?1 |
|||
[ ]*[0-9a-f]+:[ ]+48 c7 c0 00 00 00 00[ ]+movq?[ ]+\$(0x)?0,%rax[ ]*[0-9a-f]+:[ ]+R_X86_64_PC32[ ]+xtrn\+(0x)?3 |
|||
#pass |
|||
@ -0,0 +1,8 @@ |
|||
.text |
|||
_start: |
|||
movb $(xtrn - .), %al |
|||
movw $(xtrn - .), %ax |
|||
movl $(xtrn - .), %eax |
|||
movq $(xtrn - .), %rax |
|||
|
|||
.p2align 4,0 |
|||
Loading…
Reference in new issue