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