summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected2-k1om.d
blob: cda2c95a03ba98479da2d5ca953fd05730cb1601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#source: protected2.s
#as: --64 -march=k1om
#ld: -shared -melf_k1om
#objdump: -drw
#target: x86_64-*-linux*

.*: +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