aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected3.d
blob: ba63991582f38643918fd0bdb2cc82c39d68b7c2 (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 8d 05 ([0-9a-f]{2} ){4} *	lea    0x[a-f0-9]+\(%rip\),%rax        # [a-f0-9]+ <.*>
[ 	]*[a-f0-9]+:	8b 00                	mov    \(%rax\),%eax
[ 	]*[a-f0-9]+:	c3                   	ret
#pass