summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/lea1b.d
blob: b2bc6cb856fb59d930c50a892ecfac5da463a942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#source: lea1.s
#as: --32 -mrelax-relocations=yes
#ld: -pie -melf_i386
#objdump: -dw

.*: +file format .*


Disassembly of section .text:

#...
[ 	]*[a-f0-9]+:	8d 81 ([0-9a-f]{2} ){4} *	lea    -0x[a-f0-9]+\(%ecx\),%eax
[ 	]*[a-f0-9]+:	8d 81 ([0-9a-f]{2} ){4} *	lea    0x[a-f0-9]+\(%ecx\),%eax
[ 	]*[a-f0-9]+:	8d 81 ([0-9a-f]{2} ){4} *	lea    0x[a-f0-9]+\(%ecx\),%eax
[ 	]*[a-f0-9]+:	8d 81 ([0-9a-f]{2} ){4} *	lea    0x[a-f0-9]+\(%ecx\),%eax
#pass