summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr20244-2a.d
blob: 40c6e32c94fe218e8516932059fcdc877eca65a5 (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
#source: pr20244-2.s
#as: --32
#ld: -m elf_i386 -z noseparate-code
#objdump: --sym -dw
#notarget: i?86-*-nacl* x86_64-*-nacl*

.*: +file format .*

SYMBOL TABLE:
#...
0+8048085 l   i   .text	00000000 bar
#...
0+8048086 g     F .text	00000000 _start
#...
0+8048084 g   i   .text	00000000 foo
#...

Disassembly of section .text:

0+8048084 <foo>:
 +[a-f0-9]+:	c3                   	ret    

0+8048085 <bar>:
 +[a-f0-9]+:	c3                   	ret    

0+8048086 <_start>:
 +[a-f0-9]+:	ff 15 a8 90 04 08    	call   \*0x80490a8
 +[a-f0-9]+:	ff 25 ac 90 04 08    	jmp    \*0x80490ac
 +[a-f0-9]+:	c7 05 ac 90 04 08 00 00 00 00 	movl   \$0x0,0x80490ac
 +[a-f0-9]+:	83 3d a8 90 04 08 00 	cmpl   \$0x0,0x80490a8
 +[a-f0-9]+:	b9 fc ff ff ff       	mov    \$0xfffffffc,%ecx
#pass