aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/branch1.d
blob: 81b069e4281c0d17268b44796c3957523978198d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#as: --32 -mrelax-relocations=yes
#ld: -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]+:	e9 ([0-9a-f]{2} ){4} *	jmp +[a-f0-9]+ <foo>
[ 	]*[a-f0-9]+:	90                   	nop
[ 	]*[a-f0-9]+:	e9 ([0-9a-f]{2} ){4} *	jmp +[a-f0-9]+ <bar>
[ 	]*[a-f0-9]+:	90                   	nop
#pass