]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-i386/lea1a.d
Convert mov to lea for loading address of local common symbol
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-i386 / lea1a.d
CommitLineData
80d87326
L
1#source: lea1.s
2#as: --32
3#ld: -Bsymbolic -shared -melf_i386
4#objdump: -dw
5
6.*: +file format .*
7
8
9Disassembly of section .text:
10
11#...
12[ ]*[a-f0-9]+: 8d 81 ([0-9a-f]{2} ){4} * lea -0x[a-f0-9]+\(%ecx\),%eax
b31bcacc 13[ ]*[a-f0-9]+: 8d 81 ([0-9a-f]{2} ){4} * lea 0x[a-f0-9]+\(%ecx\),%eax
80d87326 14#pass