aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr23194.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr23194.s')
-rw-r--r--ld/testsuite/ld-x86-64/pr23194.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/pr23194.s b/ld/testsuite/ld-x86-64/pr23194.s
index 277c19d..34517bc 100644
--- a/ld/testsuite/ld-x86-64/pr23194.s
+++ b/ld/testsuite/ld-x86-64/pr23194.s
@@ -3,10 +3,11 @@
.globl foo
.type foo, @function
foo:
- ret
+ movq foobar@GOTPCREL(%rip), %rax
.size foo, .-foo
.globl bar
.type bar, @function
bar:
jmp *foo@GOTPCREL(%rip)
.size bar, .-bar
+ .comm foobar,30,4