i386: Improve PLT generation and synthetic PLT symbols
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / pr17154-i386-now.d
1 #source: pr17154-x86.s
2 #ld: -z now -m elf_i386 -shared
3 #as: --32
4 #objdump: -dw
5 #target: x86_64-*-* i?86-*-*
6 #notarget: x86_64-*-nacl* i?86-*-nacl*
7
8 .*: +file format .*
9
10
11 Disassembly of section .plt:
12
13 0+1d0 <.plt>:
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
19 0+1e0 <\*ABS\*@plt>:
20 +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
21 +[a-f0-9]+: 68 08 00 00 00 push \$0x8
22 +[a-f0-9]+: e9 e0 ff ff ff jmp 1d0 <.plt>
23
24 0+1f0 <\*ABS\*@plt>:
25 +[a-f0-9]+: ff a3 10 00 00 00 jmp \*0x10\(%ebx\)
26 +[a-f0-9]+: 68 00 00 00 00 push \$0x0
27 +[a-f0-9]+: e9 d0 ff ff ff jmp 1d0 <.plt>
28
29 Disassembly of section .plt.got:
30
31 0+200 <func1@plt>:
32 +[a-f0-9]+: ff a3 f8 ff ff ff jmp \*-0x8\(%ebx\)
33 +[a-f0-9]+: 66 90 xchg %ax,%ax
34
35 0+208 <func2@plt>:
36 +[a-f0-9]+: ff a3 fc ff ff ff jmp \*-0x4\(%ebx\)
37 +[a-f0-9]+: 66 90 xchg %ax,%ax
38
39 Disassembly of section .text:
40
41 0+210 <resolve1>:
42 +[a-f0-9]+: e8 eb ff ff ff call 200 <func1@plt>
43
44 0+215 <g1>:
45 +[a-f0-9]+: e9 d6 ff ff ff jmp 1f0 <\*ABS\*@plt>
46
47 0+21a <resolve2>:
48 +[a-f0-9]+: e8 e9 ff ff ff call 208 <func2@plt>
49
50 0+21f <g2>:
51 +[a-f0-9]+: e9 bc ff ff ff jmp 1e0 <\*ABS\*@plt>
52 #pass
This page took 0.036228 seconds and 5 git commands to generate.