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

.*: +file format .*


Disassembly of section .text:

0+[a-f0-9]+ <bar>:
[ 	]*[a-f0-9]+:	48 8b 05 ([0-9a-f]{2} ){4} *	mov    0x[a-f0-9]+\(%rip\),%rax        # [a-f0-9]+ <.*>
[ 	]*[a-f0-9]+:	8b 00                	mov    \(%rax\),%eax
[ 	]*[a-f0-9]+:	c3                   	ret *
#pass