]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-x86-64/bnd-ifunc-1-now.d
ELF: Don't generate unused section symbols
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-x86-64 / bnd-ifunc-1-now.d
CommitLineData
38b12349 1#source: bnd-ifunc-1.s
6c0d3bde 2#as: --64 -madd-bnd-prefix -mx86-used-note=no
c2596c4a 3#ld: -z now -shared -melf_x86_64 -z bndplt --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
38b12349
L
4#objdump: -dw
5
6.*: +file format .*
7
8
9Disassembly of section .plt:
10
fd161d86 110+170 <.plt>:
36938cab
JB
12 +[a-f0-9]+: ff 35 4a 01 20 00 push 0x20014a\(%rip\) # 2002c0 <_GLOBAL_OFFSET_TABLE_\+0x8>
13 +[a-f0-9]+: f2 ff 25 4b 01 20 00 bnd jmp \*0x20014b\(%rip\) # 2002c8 <_GLOBAL_OFFSET_TABLE_\+0x10>
38b12349 14 +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
36938cab 15 +[a-f0-9]+: 68 00 00 00 00 push \$0x0
d1bcae83 16 +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 170 <\*ABS\*\+0x198@plt-0x20>
38b12349
L
17 +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
18
f2c29a16 19Disassembly of section .plt.sec:
38b12349 20
fd161d86 210+190 <\*ABS\*\+0x198@plt>:
36938cab 22 +[a-f0-9]+: f2 ff 25 39 01 20 00 bnd jmp \*0x200139\(%rip\) # 2002d0 <_GLOBAL_OFFSET_TABLE_\+0x18>
38b12349
L
23 +[a-f0-9]+: 90 nop
24
25Disassembly of section .text:
26
fd161d86 270+198 <foo>:
36938cab 28 +[a-f0-9]+: f2 c3 bnd ret *
38b12349 29
fd161d86 300+19a <bar>:
36938cab
JB
31 +[a-f0-9]+: f2 e8 f0 ff ff ff bnd call 190 <\*ABS\*\+0x198@plt>
32 +[a-f0-9]+: f2 c3 bnd ret *
38b12349 33#pass