]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-i386/plt2.dd
Define various symbols conditionally in shared libraries
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-i386 / plt2.dd
1 #source: plt2.s
2 #as: --32
3 #ld: -z now -melf_i386
4 #objdump: -dwr
5 #target: i?86-*-*
6
7 .*: +file format .*
8
9
10 Disassembly of section .plt:
11
12 0+8048160 <.plt>:
13 +[a-f0-9]+: ff 35 40 92 04 08 pushl 0x8049240
14 +[a-f0-9]+: ff 25 44 92 04 08 jmp \*0x8049244
15 +[a-f0-9]+: 00 00 add %al,\(%eax\)
16 ...
17
18 0+8048170 <fn1@plt>:
19 +[a-f0-9]+: ff 25 48 92 04 08 jmp \*0x8049248
20 +[a-f0-9]+: 68 00 00 00 00 push \$0x0
21 +[a-f0-9]+: e9 e0 ff ff ff jmp 8048160 <.plt>
22
23 0+8048180 <fn2@plt>:
24 +[a-f0-9]+: ff 25 4c 92 04 08 jmp \*0x804924c
25 +[a-f0-9]+: 68 08 00 00 00 push \$0x8
26 +[a-f0-9]+: e9 d0 ff ff ff jmp 8048160 <.plt>
27
28 Disassembly of section .text:
29
30 0+8048190 <_start>:
31 +[a-f0-9]+: e8 db ff ff ff call 8048170 <fn1@plt>
32 +[a-f0-9]+: e8 e6 ff ff ff call 8048180 <fn2@plt>
33 +[a-f0-9]+: 81 7c 24 04 70 81 04 08 cmpl \$0x8048170,0x4\(%esp\)
34 #pass