aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/protected2.d
blob: ba53e59f0e816ad758a05b2d701e9e85c75b108f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#as: --32
#ld: -shared -melf_i386
#objdump: -drw

.*: +file format .*


Disassembly of section .text:

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

0+[a-f0-9]+ <bar>:
[ 	]*[a-f0-9]+:	e8 fa ff ff ff       	call   [a-f0-9]+ <foo>
[ 	]*[a-f0-9]+:	c3                   	ret    
#pass