x86: Properly handle PLT expression in directive
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / plt-pic.pd
1 #source: plt.s
2 #as: --32
3 #ld: -shared -melf_i386
4 #objdump: -drj.plt
5 #target: i?86-*-*
6
7 .*: +file format .*
8
9 Disassembly of section .plt:
10
11 [0-9a-f]+ <.plt>:
12 +[0-9a-f]+: ff b3 04 00 00 00 pushl 0x4\(%ebx\)
13 +[0-9a-f]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
14 #...
15
16 [0-9a-f]+ <fn1@plt>:
17 +[0-9a-f]+: ff a3 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+\(%ebx\)
18 +[0-9a-f]+: 68 00 00 00 00 push \$0x0
19 +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt>
20
21 [0-9a-f]+ <fn2@plt>:
22 +[0-9a-f]+: ff a3 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+\(%ebx\)
23 +[0-9a-f]+: 68 08 00 00 00 push \$0x8
24 +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt>
This page took 0.032885 seconds and 4 git commands to generate.