aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/lea3a.d
blob: a7e972497e770474b2a3cfec0ae973439a199be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#source: lea3.s
#as: --32
#ld: -Bsymbolic -shared -melf_i386
#objdump: -dw

.*: +file format .*


Disassembly of section .text:

#...
[ 	]*[a-f0-9]+:	67 e8 ([0-9a-f]{2} ){4}[ 	]*addr16 call [a-f0-9]+ <foo>
[ 	]*[a-f0-9]+:	67 e8 ([0-9a-f]{2} ){4}[ 	]*addr16 call [a-f0-9]+ <bar>
[ 	]*[a-f0-9]+:	[ a-f0-9]+       	jmp    [a-f0-9]+ <foo>
[ 	]*[a-f0-9]+:	90                   	nop
[ 	]*[a-f0-9]+:	[ a-f0-9]+       	jmp    [a-f0-9]+ <bar>
[ 	]*[a-f0-9]+:	90                   	nop
#pass