aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr19636-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr19636-1.s')
-rw-r--r--ld/testsuite/ld-i386/pr19636-1.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr19636-1.s b/ld/testsuite/ld-i386/pr19636-1.s
new file mode 100644
index 0000000..b2bc4df
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr19636-1.s
@@ -0,0 +1,9 @@
+ .text
+ .weak func1
+ .weak func2
+ .weak func3
+ .globl _start
+_start:
+ cmp func1@GOT(%eax), %eax
+ jmp *func2@GOT(%eax)
+ call func3@PLT