]>
Commit | Line | Data |
---|---|---|
38b12349 L |
1 | #source: ifunc-2-x86-64.s |
2 | #as: --64 | |
679a5bc8 | 3 | #ld: -z now -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code |
38b12349 L |
4 | #objdump: -dw |
5 | #target: x86_64-*-* | |
38b12349 L |
6 | |
7 | .*: +file format .* | |
8 | ||
9 | ||
10 | Disassembly of section .plt: | |
11 | ||
fd161d86 AM |
12 | 0+170 <.plt>: |
13 | +[a-f0-9]+: ff 35 42 01 20 00 pushq 0x200142\(%rip\) # 2002b8 <_GLOBAL_OFFSET_TABLE_\+0x8> | |
14 | +[a-f0-9]+: ff 25 44 01 20 00 jmpq \*0x200144\(%rip\) # 2002c0 <_GLOBAL_OFFSET_TABLE_\+0x10> | |
38b12349 L |
15 | +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\) |
16 | ||
fd161d86 AM |
17 | 0+180 <\*ABS\*\+0x190@plt>: |
18 | +[a-f0-9]+: ff 25 42 01 20 00 jmpq \*0x200142\(%rip\) # 2002c8 <_GLOBAL_OFFSET_TABLE_\+0x18> | |
38b12349 | 19 | +[a-f0-9]+: 68 00 00 00 00 pushq \$0x0 |
fd161d86 | 20 | +[a-f0-9]+: e9 e0 ff ff ff jmpq 170 <.plt> |
38b12349 L |
21 | |
22 | Disassembly of section .text: | |
23 | ||
fd161d86 | 24 | 0+190 <foo>: |
38b12349 L |
25 | +[a-f0-9]+: c3 retq |
26 | ||
fd161d86 AM |
27 | 0+191 <bar>: |
28 | +[a-f0-9]+: e8 ea ff ff ff callq 180 <\*ABS\*\+0x190@plt> | |
29 | +[a-f0-9]+: 48 8d 05 e3 ff ff ff lea -0x1d\(%rip\),%rax # 180 <\*ABS\*\+0x190@plt> | |
38b12349 L |
30 | +[a-f0-9]+: c3 retq |
31 | #pass |