]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-i386/lea1.s
Convert mov to lea for loading address of local common symbol
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-i386 / lea1.s
CommitLineData
80d87326
L
1 .text
2 .globl foo
3 .type foo, @function
4foo:
5 ret
6 .size foo, .-foo
7 .globl _start
8 .type _start, @function
9_start:
10 movl foo@GOT(%ecx), %eax
b31bcacc 11 movl bar@GOT(%ecx), %eax
80d87326 12 .size _start, .-_start
b31bcacc
L
13 .comm pad,4,4
14 .comm bar,4,4