Commit | Line | Data |
---|---|---|
f604c2a2 L |
1 | #source: plt-pic.s |
2 | #as: --32 | |
3 | #ld: -z now -shared -melf_i386 | |
4 | #objdump: -dwr | |
5 | #target: i?86-*-* | |
6 | ||
7 | .*: +file format .* | |
8 | ||
9 | ||
10 | Disassembly of section .plt: | |
11 | ||
12 | 0+180 <.plt>: | |
13 | +[a-f0-9]+: ff b3 04 00 00 00 pushl 0x4\(%ebx\) | |
14 | +[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\) | |
15 | +[a-f0-9]+: 00 00 add %al,\(%eax\) | |
16 | ... | |
17 | ||
f604c2a2 | 18 | 0+190 <fn1@plt>: |
dc2be3d2 L |
19 | +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\) |
20 | +[a-f0-9]+: 68 00 00 00 00 push \$0x0 | |
21 | +[a-f0-9]+: e9 e0 ff ff ff jmp 180 <.plt> | |
f604c2a2 | 22 | |
dc2be3d2 L |
23 | 0+1a0 <fn2@plt>: |
24 | +[a-f0-9]+: ff a3 10 00 00 00 jmp \*0x10\(%ebx\) | |
25 | +[a-f0-9]+: 68 08 00 00 00 push \$0x8 | |
26 | +[a-f0-9]+: e9 d0 ff ff ff jmp 180 <.plt> | |
f604c2a2 L |
27 | |
28 | Disassembly of section .text: | |
29 | ||
dc2be3d2 L |
30 | 0+1b0 <foo>: |
31 | +[a-f0-9]+: e8 db ff ff ff call 190 <fn1@plt> | |
32 | +[a-f0-9]+: e9 e6 ff ff ff jmp 1a0 <fn2@plt> | |
f604c2a2 | 33 | #pass |