Add R_X86_64_[REX_]GOTPCRELX support to gas and ld
[external/binutils.git] / ld / testsuite / ld-x86-64 / load1b.d
1 #source: load1.s
2 #as: --x32
3 #ld: -melf32_x86_64
4 #objdump: -dw --sym
5
6 .*: +file format .*
7
8 SYMBOL TABLE:
9 #...
10 0+60017c l     O .data  0+1 bar
11 #...
12 0+60017d g     O .data  0+1 foo
13 #...
14
15
16 Disassembly of section .text:
17
18 0+400074 <_start>:
19 [       ]*[a-f0-9]+:    81 d0 7c 01 60 00       adc    \$0x60017c,%eax
20 [       ]*[a-f0-9]+:    81 c3 7c 01 60 00       add    \$0x60017c,%ebx
21 [       ]*[a-f0-9]+:    81 e1 7c 01 60 00       and    \$0x60017c,%ecx
22 [       ]*[a-f0-9]+:    81 fa 7c 01 60 00       cmp    \$0x60017c,%edx
23 [       ]*[a-f0-9]+:    81 ce 7c 01 60 00       or     \$0x60017c,%esi
24 [       ]*[a-f0-9]+:    81 df 7c 01 60 00       sbb    \$0x60017c,%edi
25 [       ]*[a-f0-9]+:    81 ed 7c 01 60 00       sub    \$0x60017c,%ebp
26 [       ]*[a-f0-9]+:    41 81 f0 7c 01 60 00    xor    \$0x60017c,%r8d
27 [       ]*[a-f0-9]+:    41 f7 c7 7c 01 60 00    test   \$0x60017c,%r15d
28 [       ]*[a-f0-9]+:    48 81 d0 7c 01 60 00    adc    \$0x60017c,%rax
29 [       ]*[a-f0-9]+:    48 81 c3 7c 01 60 00    add    \$0x60017c,%rbx
30 [       ]*[a-f0-9]+:    48 81 e1 7c 01 60 00    and    \$0x60017c,%rcx
31 [       ]*[a-f0-9]+:    48 81 fa 7c 01 60 00    cmp    \$0x60017c,%rdx
32 [       ]*[a-f0-9]+:    48 81 cf 7c 01 60 00    or     \$0x60017c,%rdi
33 [       ]*[a-f0-9]+:    48 81 de 7c 01 60 00    sbb    \$0x60017c,%rsi
34 [       ]*[a-f0-9]+:    48 81 ed 7c 01 60 00    sub    \$0x60017c,%rbp
35 [       ]*[a-f0-9]+:    49 81 f0 7c 01 60 00    xor    \$0x60017c,%r8
36 [       ]*[a-f0-9]+:    49 f7 c7 7c 01 60 00    test   \$0x60017c,%r15
37 [       ]*[a-f0-9]+:    81 d0 7d 01 60 00       adc    \$0x60017d,%eax
38 [       ]*[a-f0-9]+:    81 c3 7d 01 60 00       add    \$0x60017d,%ebx
39 [       ]*[a-f0-9]+:    81 e1 7d 01 60 00       and    \$0x60017d,%ecx
40 [       ]*[a-f0-9]+:    81 fa 7d 01 60 00       cmp    \$0x60017d,%edx
41 [       ]*[a-f0-9]+:    81 ce 7d 01 60 00       or     \$0x60017d,%esi
42 [       ]*[a-f0-9]+:    81 df 7d 01 60 00       sbb    \$0x60017d,%edi
43 [       ]*[a-f0-9]+:    81 ed 7d 01 60 00       sub    \$0x60017d,%ebp
44 [       ]*[a-f0-9]+:    41 81 f0 7d 01 60 00    xor    \$0x60017d,%r8d
45 [       ]*[a-f0-9]+:    41 f7 c7 7d 01 60 00    test   \$0x60017d,%r15d
46 [       ]*[a-f0-9]+:    48 81 d0 7d 01 60 00    adc    \$0x60017d,%rax
47 [       ]*[a-f0-9]+:    48 81 c3 7d 01 60 00    add    \$0x60017d,%rbx
48 [       ]*[a-f0-9]+:    48 81 e1 7d 01 60 00    and    \$0x60017d,%rcx
49 [       ]*[a-f0-9]+:    48 81 fa 7d 01 60 00    cmp    \$0x60017d,%rdx
50 [       ]*[a-f0-9]+:    48 81 cf 7d 01 60 00    or     \$0x60017d,%rdi
51 [       ]*[a-f0-9]+:    48 81 de 7d 01 60 00    sbb    \$0x60017d,%rsi
52 [       ]*[a-f0-9]+:    48 81 ed 7d 01 60 00    sub    \$0x60017d,%rbp
53 [       ]*[a-f0-9]+:    49 81 f0 7d 01 60 00    xor    \$0x60017d,%r8
54 [       ]*[a-f0-9]+:    49 f7 c7 7d 01 60 00    test   \$0x60017d,%r15
55 #pass