aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected3.d
blob: 897c1cf215bf06762ec36d8ed7c21394cc9b14ed (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 [a-f0-9][a-f0-9] 00 [a-f0-9][a-f0-9] 00    	mov    0x[a-f0-9]+\(%rip\),%eax        # [a-f0-9]+ <foo>
[ 	]*[a-f0-9]+:	c3                   	retq   
#pass