Commit | Line | Data |
---|---|---|
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 | ||
9 | Disassembly of section .plt: | |
10 | ||
fd161d86 AM |
11 | 0+170 <.plt>: |
12 | +[a-f0-9]+: ff 35 4a 01 20 00 pushq 0x20014a\(%rip\) # 2002c0 <_GLOBAL_OFFSET_TABLE_\+0x8> | |
13 | +[a-f0-9]+: f2 ff 25 4b 01 20 00 bnd jmpq \*0x20014b\(%rip\) # 2002c8 <_GLOBAL_OFFSET_TABLE_\+0x10> | |
38b12349 L |
14 | +[a-f0-9]+: 0f 1f 00 nopl \(%rax\) |
15 | +[a-f0-9]+: 68 00 00 00 00 pushq \$0x0 | |
fd161d86 | 16 | +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmpq 170 <.plt> |
38b12349 L |
17 | +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\) |
18 | ||
f2c29a16 | 19 | Disassembly of section .plt.sec: |
38b12349 | 20 | |
fd161d86 AM |
21 | 0+190 <\*ABS\*\+0x198@plt>: |
22 | +[a-f0-9]+: f2 ff 25 39 01 20 00 bnd jmpq \*0x200139\(%rip\) # 2002d0 <_GLOBAL_OFFSET_TABLE_\+0x18> | |
38b12349 L |
23 | +[a-f0-9]+: 90 nop |
24 | ||
25 | Disassembly of section .text: | |
26 | ||
fd161d86 | 27 | 0+198 <foo>: |
38b12349 L |
28 | +[a-f0-9]+: f2 c3 bnd retq |
29 | ||
fd161d86 AM |
30 | 0+19a <bar>: |
31 | +[a-f0-9]+: f2 e8 f0 ff ff ff bnd callq 190 <\*ABS\*\+0x198@plt> | |
38b12349 L |
32 | +[a-f0-9]+: f2 c3 bnd retq |
33 | #pass |