aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/lea3.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/lea3.s')
-rw-r--r--ld/testsuite/ld-i386/lea3.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/lea3.s b/ld/testsuite/ld-i386/lea3.s
new file mode 100644
index 0000000..0cd02a1
--- /dev/null
+++ b/ld/testsuite/ld-i386/lea3.s
@@ -0,0 +1,15 @@
+ .text
+ .globl foo
+ .type foo, @function
+foo:
+ ret
+ .type bar, @function
+bar:
+ ret
+ .globl _start
+ .type _start, @function
+_start:
+ call *foo@GOT
+ call *bar@GOT
+ jmp *foo@GOT
+ jmp *bar@GOT