aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/pie-bind-locally-b.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-riscv-elf/pie-bind-locally-b.s')
-rw-r--r--ld/testsuite/ld-riscv-elf/pie-bind-locally-b.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-riscv-elf/pie-bind-locally-b.s b/ld/testsuite/ld-riscv-elf/pie-bind-locally-b.s
new file mode 100644
index 0000000..e5f16cd
--- /dev/null
+++ b/ld/testsuite/ld-riscv-elf/pie-bind-locally-b.s
@@ -0,0 +1,8 @@
+ .section .data.rel,"aw",%progbits
+ .type q, %object
+q:
+.ifdef __64_bit__
+ .quad _start
+.else
+ .word _start
+.endif