aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr22135.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr22135.s')
-rw-r--r--ld/testsuite/ld-i386/pr22135.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr22135.s b/ld/testsuite/ld-i386/pr22135.s
new file mode 100644
index 0000000..6afad88
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr22135.s
@@ -0,0 +1,11 @@
+ .text
+ .globl foo
+ .type foo, @function
+foo:
+ ret
+ .size foo, .-foo
+ .globl _start
+ .type _start, @function
+_start:
+ movl foo@GOT(%ecx), %eax
+ .size _start, .-_start