Commit | Line | Data |
---|---|---|
f604c2a2 | 1 | #source: ifunc-2-local-i386.s |
c9d3eb5f | 2 | #ld: -z now -m elf_i386 -shared --hash-style=sysv -z noseparate-code |
f604c2a2 L |
3 | #as: --32 |
4 | #objdump: -dw | |
5 | #target: x86_64-*-* i?86-*-* | |
bb4e012c | 6 | #notarget: *-*-lynxos *-*-nacl* *-*-nto* *-*-solaris2* |
f604c2a2 L |
7 | |
8 | .*: +file format .* | |
9 | ||
10 | ||
11 | Disassembly of section .plt: | |
12 | ||
fd161d86 | 13 | 0+e0 <.plt>: |
f604c2a2 L |
14 | +[a-f0-9]+: ff b3 04 00 00 00 pushl 0x4\(%ebx\) |
15 | +[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\) | |
16 | +[a-f0-9]+: 00 00 add %al,\(%eax\) | |
17 | ... | |
18 | ||
fd161d86 | 19 | 0+f0 <\*ABS\*@plt>: |
f604c2a2 L |
20 | +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\) |
21 | +[a-f0-9]+: 68 00 00 00 00 push \$0x0 | |
fd161d86 | 22 | +[a-f0-9]+: e9 e0 ff ff ff jmp e0 <.plt> |
f604c2a2 L |
23 | |
24 | Disassembly of section .text: | |
25 | ||
fd161d86 | 26 | 0+100 <__GI_foo>: |
f604c2a2 L |
27 | +[a-f0-9]+: c3 ret |
28 | ||
fd161d86 AM |
29 | 0+101 <bar>: |
30 | +[a-f0-9]+: e8 00 00 00 00 call 106 <bar\+0x5> | |
f604c2a2 L |
31 | +[a-f0-9]+: 5b pop %ebx |
32 | +[a-f0-9]+: 81 c3 9e 10 00 00 add \$0x109e,%ebx | |
fd161d86 | 33 | +[a-f0-9]+: e8 de ff ff ff call f0 <\*ABS\*@plt> |
f604c2a2 L |
34 | +[a-f0-9]+: 8d 83 4c ef ff ff lea -0x10b4\(%ebx\),%eax |
35 | +[a-f0-9]+: c3 ret | |
36 | #pass |