]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-x86-64/bnd-ifunc-1-now.d
Support different ld --hash-style in the ld testsuite
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-x86-64 / bnd-ifunc-1-now.d
CommitLineData
38b12349
L
1#source: bnd-ifunc-1.s
2#as: --64 -madd-bnd-prefix
bab55c05 3#ld: -z now -shared -melf_x86_64 -z bndplt --hash-style=sysv
38b12349
L
4#objdump: -dw
5
6.*: +file format .*
7
8
9Disassembly of section .plt:
10
110+1f0 <.plt>:
12 +[a-f0-9]+: ff 35 4a 01 20 00 pushq 0x20014a\(%rip\) # 200340 <_GLOBAL_OFFSET_TABLE_\+0x8>
13 +[a-f0-9]+: f2 ff 25 4b 01 20 00 bnd jmpq \*0x20014b\(%rip\) # 200348 <_GLOBAL_OFFSET_TABLE_\+0x10>
14 +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
15 +[a-f0-9]+: 68 00 00 00 00 pushq \$0x0
16 +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmpq 1f0 <.plt>
17 +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
18
f2c29a16 19Disassembly of section .plt.sec:
38b12349
L
20
210+210 <\*ABS\*\+0x218@plt>:
22 +[a-f0-9]+: f2 ff 25 39 01 20 00 bnd jmpq \*0x200139\(%rip\) # 200350 <_GLOBAL_OFFSET_TABLE_\+0x18>
23 +[a-f0-9]+: 90 nop
24
25Disassembly of section .text:
26
270+218 <foo>:
28 +[a-f0-9]+: f2 c3 bnd retq
29
300+21a <bar>:
31 +[a-f0-9]+: f2 e8 f0 ff ff ff bnd callq 210 <\*ABS\*\+0x218@plt>
32 +[a-f0-9]+: f2 c3 bnd retq
33#pass