aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr19636-2c.d
blob: e3b737bff5ff0936c38af4ae84d8e6bee4c18a7b (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
#source: pr19636-2.s
#as: --32 -mrelax-relocations=no
#ld: -pie -m elf_i386 -z notext
#objdump: -dw

.*: +file format .*


Disassembly of section .plt:

.* <.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\)
[ 	]*[a-f0-9]+:	00 00                	add    %al,\(%eax\)
[ 	]*[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 00 00 00 00       	jmp    .* <_start>

Disassembly of section .text:

.* <_start>:
[ 	]*[a-f0-9]+:	3b 80 fc ff ff ff    	cmp    -0x4\(%eax\),%eax
[ 	]*[a-f0-9]+:	ff a0 fc ff ff ff    	jmp    \*-0x4\(%eax\)
[ 	]*[a-f0-9]+:	e8 df ff ff ff       	call   .* <\.plt\+0x10>
[ 	]*[a-f0-9]+:	3d 00 00 00 00       	cmp    \$0x0,%eax
[ 	]*[a-f0-9]+:	e8 fc ff ff ff       	call   .* <_start\+0x17>