aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected3.d
blob: 09556ce24507576144ae5b746aa2905f4b44ee72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#as: --64
#ld: -shared -melf_x86_64
#objdump: -drw

.*: +file format .*


Disassembly of section .text:

0+[a-f0-9]+ <bar>:
[ 	]*[a-f0-9]+:	8b 05 ce 00 20 00    	mov    0x[a-f0-9]+\(%rip\),%eax        # [a-f0-9]+ <foo>
[ 	]*[a-f0-9]+:	c3                   	retq   
#pass