b4cd71fea15b2478dcda5ed752da991dac277ad7
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / bnd-branch-1-now.d
1 #source: bnd-branch-1.s
2 #as: --64
3 #ld: -z now -shared -melf_x86_64
4 #objdump: -dw
5
6 .*: +file format .*
7
8
9 Disassembly of section .plt:
10
11 0+290 <.plt>:
12 +[a-f0-9]+: ff 35 82 01 20 00 pushq 0x200182\(%rip\) # 200418 <_GLOBAL_OFFSET_TABLE_\+0x8>
13 +[a-f0-9]+: ff 25 84 01 20 00 jmpq \*0x200184\(%rip\) # 200420 <_GLOBAL_OFFSET_TABLE_\+0x10>
14 +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
15
16 Disassembly of section .plt.got:
17
18 0+2a0 <foo2@plt>:
19 +[a-f0-9]+: ff 25 4a 01 20 00 jmpq \*0x20014a\(%rip\) # 2003f0 <foo2>
20 +[a-f0-9]+: 66 90 xchg %ax,%ax
21
22 0+2a8 <foo3@plt>:
23 +[a-f0-9]+: ff 25 4a 01 20 00 jmpq \*0x20014a\(%rip\) # 2003f8 <foo3>
24 +[a-f0-9]+: 66 90 xchg %ax,%ax
25
26 0+2b0 <foo1@plt>:
27 +[a-f0-9]+: ff 25 4a 01 20 00 jmpq \*0x20014a\(%rip\) # 200400 <foo1>
28 +[a-f0-9]+: 66 90 xchg %ax,%ax
29
30 0+2b8 <foo4@plt>:
31 +[a-f0-9]+: ff 25 4a 01 20 00 jmpq \*0x20014a\(%rip\) # 200408 <foo4>
32 +[a-f0-9]+: 66 90 xchg %ax,%ax
33
34 Disassembly of section .text:
35
36 0+2c0 <_start>:
37 +[a-f0-9]+: f2 e9 ea ff ff ff bnd jmpq 2b0 <foo1@plt>
38 +[a-f0-9]+: e8 d5 ff ff ff callq 2a0 <foo2@plt>
39 +[a-f0-9]+: e9 d8 ff ff ff jmpq 2a8 <foo3@plt>
40 +[a-f0-9]+: e8 e3 ff ff ff callq 2b8 <foo4@plt>
41 +[a-f0-9]+: f2 e8 cd ff ff ff bnd callq 2a8 <foo3@plt>
42 +[a-f0-9]+: e9 d8 ff ff ff jmpq 2b8 <foo4@plt>
43 #pass