summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/lea4.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/lea4.s')
-rw-r--r--ld/testsuite/ld-i386/lea4.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/lea4.s b/ld/testsuite/ld-i386/lea4.s
new file mode 100644
index 00000000000..1ecd50c1ebc
--- /dev/null
+++ b/ld/testsuite/ld-i386/lea4.s
@@ -0,0 +1,8 @@
+ .text
+ .type foo, @function
+foo:
+ ret
+ .globl _start
+ .type _start, @function
+_start:
+ movl foo@GOT, %eax