aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr18160.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr18160.s')
-rw-r--r--ld/testsuite/ld-x86-64/pr18160.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr18160.s b/ld/testsuite/ld-x86-64/pr18160.s
new file mode 100644
index 0000000..a0331aa
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr18160.s
@@ -0,0 +1,16 @@
+ .section .text.start,"ax",@progbits
+ .globl start
+ .type start, @function
+start:
+ .cfi_startproc
+ jmp foo
+ .cfi_endproc
+ .size start, .-start
+ .section .text.foo,"ax",@progbits
+ .globl foo
+ .type foo, @function
+foo:
+ .cfi_startproc
+ ret
+ .cfi_endproc
+ .size foo, .-foo