aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected2.d
blob: 1dd75fb53365c46863fcec8b527c50cf3dfd7590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#as: --64
#ld: -shared -melf_x86_64
#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