aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/plt-pic2.dd
blob: 4047db5e4deb146dcd02b8cb07146723d5f9b939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#source: plt-pic.s
#as: --32
#ld: -z now -shared -melf_i386
#objdump: -dwr
#target: i?86-*-*

.*: +file format .*


Disassembly of section .plt:

0+180 <.plt>:
 +[a-f0-9]+:	ff b3 04 00 00 00    	pushl  0x4\(%ebx\)
 +[a-f0-9]+:	ff a3 08 00 00 00    	jmp    \*0x8\(%ebx\)
 +[a-f0-9]+:	00 00                	add    %al,\(%eax\)
	...

0+190 <fn1@plt>:
 +[a-f0-9]+:	ff a3 0c 00 00 00    	jmp    \*0xc\(%ebx\)
 +[a-f0-9]+:	68 00 00 00 00       	push   \$0x0
 +[a-f0-9]+:	e9 e0 ff ff ff       	jmp    180 <.plt>

0+1a0 <fn2@plt>:
 +[a-f0-9]+:	ff a3 10 00 00 00    	jmp    \*0x10\(%ebx\)
 +[a-f0-9]+:	68 08 00 00 00       	push   \$0x8
 +[a-f0-9]+:	e9 d0 ff ff ff       	jmp    180 <.plt>

Disassembly of section .text:

0+1b0 <foo>:
 +[a-f0-9]+:	e8 db ff ff ff       	call   190 <fn1@plt>
 +[a-f0-9]+:	e9 e6 ff ff ff       	jmp    1a0 <fn2@plt>
#pass