summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gold/testsuite/i386_mov_to_lea1.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gold/testsuite/i386_mov_to_lea1.s')
-rw-r--r--binutils-2.25/gold/testsuite/i386_mov_to_lea1.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils-2.25/gold/testsuite/i386_mov_to_lea1.s b/binutils-2.25/gold/testsuite/i386_mov_to_lea1.s
new file mode 100644
index 00000000..6d0f436e
--- /dev/null
+++ b/binutils-2.25/gold/testsuite/i386_mov_to_lea1.s
@@ -0,0 +1,11 @@
+ .text
+ .globl foo
+ .type foo, @function
+foo:
+ ret
+ .size foo, .-foo
+ .globl bar
+ .type bar, @function
+bar:
+ movl foo@GOT(%ecx), %eax
+ .size bar, .-bar