summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-x86-64/protected2.d
blob: 2e91b17cade283bbba15f30c06e96c160d8d9269 (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                   	retq   

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