x86-64: Generate branch with PLT32 relocation
[external/binutils.git] / gas / testsuite / gas / i386 / ilp32 / x86-64-branch.d
1 #source: ../x86-64-branch.s
2 #as: -J
3 #objdump: -drw -Mintel64
4 #name: x86-64 (ILP32) branch
5
6 .*: +file format .*
7
8 Disassembly of section .text:
9
10 0+ <.text>:
11 [       ]*[a-f0-9]+:    ff d0                   callq  \*%rax
12 [       ]*[a-f0-9]+:    ff d0                   callq  \*%rax
13 [       ]*[a-f0-9]+:    66 ff d0                data16 callq \*%rax
14 [       ]*[a-f0-9]+:    66 ff d0                data16 callq \*%rax
15 [       ]*[a-f0-9]+:    66 ff 10                data16 callq \*\(%rax\)
16 [       ]*[a-f0-9]+:    ff e0                   jmpq   \*%rax
17 [       ]*[a-f0-9]+:    ff e0                   jmpq   \*%rax
18 [       ]*[a-f0-9]+:    66 ff e0                data16 jmpq \*%rax
19 [       ]*[a-f0-9]+:    66 ff e0                data16 jmpq \*%rax
20 [       ]*[a-f0-9]+:    66 ff 20                data16 jmpq \*\(%rax\)
21 [       ]*[a-f0-9]+:    e8 00 00 00 00          callq  0x1f     1b: R_X86_64_PC32       \*ABS\*\+0x10003c
22 [       ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   0x24     20: R_X86_64_PC32       \*ABS\*\+0x10003c
23 [       ]*[a-f0-9]+:    66 e8 00 00 00 00       data16 callq 0x2a       26: R_X86_64_PLT32      foo-0x4
24 [       ]*[a-f0-9]+:    66 e9 00 00 00 00       data16 jmpq 0x30        2c: R_X86_64_PLT32      foo-0x4
25 [       ]*[a-f0-9]+:    66 0f 82 00 00 00 00    data16 jb 0x37  33: R_X86_64_PLT32      foo-0x4
26 [       ]*[a-f0-9]+:    ff d0                   callq  \*%rax
27 [       ]*[a-f0-9]+:    ff d0                   callq  \*%rax
28 [       ]*[a-f0-9]+:    66 ff d0                data16 callq \*%rax
29 [       ]*[a-f0-9]+:    66 ff d0                data16 callq \*%rax
30 [       ]*[a-f0-9]+:    66 ff 10                data16 callq \*\(%rax\)
31 [       ]*[a-f0-9]+:    ff e0                   jmpq   \*%rax
32 [       ]*[a-f0-9]+:    ff e0                   jmpq   \*%rax
33 [       ]*[a-f0-9]+:    66 ff e0                data16 jmpq \*%rax
34 [       ]*[a-f0-9]+:    66 ff e0                data16 jmpq \*%rax
35 [       ]*[a-f0-9]+:    66 ff 20                data16 jmpq \*\(%rax\)
36 [       ]*[a-f0-9]+:    e8 00 00 00 00          callq  0x56     52: R_X86_64_PC32       \*ABS\*\+0x10003c
37 [       ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   0x5b     57: R_X86_64_PC32       \*ABS\*\+0x10003c
38 #pass