x86-64: Force symbol dynamic if it isn't undefined weak
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / bnd-ifunc-2.d
1 #as: --64 -madd-bnd-prefix
2 #ld: -shared -melf_x86_64 -z bndplt
3 #objdump: -dw
4
5 #...
6 0+2b0 <.plt>:
7 [ ]*[a-f0-9]+: ff 35 7a 01 20 00 pushq 0x20017a\(%rip\) # 200430 <_GLOBAL_OFFSET_TABLE_\+0x8>
8 [ ]*[a-f0-9]+: f2 ff 25 7b 01 20 00 bnd jmpq \*0x20017b\(%rip\) # 200438 <_GLOBAL_OFFSET_TABLE_\+0x10>
9 [ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
10 [ ]*[a-f0-9]+: 68 03 00 00 00 pushq \$0x3
11 [ ]*[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmpq 2b0 <.*>
12 [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
13 [ ]*[a-f0-9]+: 68 00 00 00 00 pushq \$0x0
14 [ ]*[a-f0-9]+: f2 e9 d5 ff ff ff bnd jmpq 2b0 <.*>
15 [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
16 [ ]*[a-f0-9]+: 68 01 00 00 00 pushq \$0x1
17 [ ]*[a-f0-9]+: f2 e9 c5 ff ff ff bnd jmpq 2b0 <.*>
18 [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
19 [ ]*[a-f0-9]+: 68 02 00 00 00 pushq \$0x2
20 [ ]*[a-f0-9]+: f2 e9 b5 ff ff ff bnd jmpq 2b0 <.*>
21 [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
22
23 Disassembly of section .plt.bnd:
24
25 0+300 <\*ABS\*\+0x32c@plt>:
26 [ ]*[a-f0-9]+: f2 ff 25 39 01 20 00 bnd jmpq \*0x200139\(%rip\) # 200440 <_GLOBAL_OFFSET_TABLE_\+0x18>
27 [ ]*[a-f0-9]+: 90 nop
28
29 0+308 <func1@plt>:
30 [ ]*[a-f0-9]+: f2 ff 25 39 01 20 00 bnd jmpq \*0x200139\(%rip\) # 200448 <func1>
31 [ ]*[a-f0-9]+: 90 nop
32
33 0+310 <func2@plt>:
34 [ ]*[a-f0-9]+: f2 ff 25 39 01 20 00 bnd jmpq \*0x200139\(%rip\) # 200450 <func2>
35 [ ]*[a-f0-9]+: 90 nop
36
37 0+318 <\*ABS\*\+0x320@plt>:
38 [ ]*[a-f0-9]+: f2 ff 25 39 01 20 00 bnd jmpq \*0x200139\(%rip\) # 200458 <_GLOBAL_OFFSET_TABLE_\+0x30>
39 [ ]*[a-f0-9]+: 90 nop
40
41 Disassembly of section .text:
42
43 0+320 <resolve1>:
44 [ ]*[a-f0-9]+: f2 e8 e2 ff ff ff bnd callq 308 <func1@plt>
45
46 0+326 <g1>:
47 [ ]*[a-f0-9]+: f2 e9 ec ff ff ff bnd jmpq 318 <\*ABS\*\+0x320@plt>
48
49 0+32c <resolve2>:
50 [ ]*[a-f0-9]+: f2 e8 de ff ff ff bnd callq 310 <func2@plt>
51
52 0+332 <g2>:
53 [ ]*[a-f0-9]+: f2 e9 c8 ff ff ff bnd jmpq 300 <\*ABS\*\+0x32c@plt>
54 #pass
This page took 0.03027 seconds and 4 git commands to generate.