aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/pie-bind-locally-rv32.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-riscv-elf/pie-bind-locally-rv32.d')
-rw-r--r--ld/testsuite/ld-riscv-elf/pie-bind-locally-rv32.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-riscv-elf/pie-bind-locally-rv32.d b/ld/testsuite/ld-riscv-elf/pie-bind-locally-rv32.d
new file mode 100644
index 0000000..0133995
--- /dev/null
+++ b/ld/testsuite/ld-riscv-elf/pie-bind-locally-rv32.d
@@ -0,0 +1,10 @@
+#source: pie-bind-locally-a.s
+#source: pie-bind-locally-b.s
+#as: -march=rv32i -mabi=ilp32
+#ld: -m[riscv_choose_ilp32_emul] -pie
+#readelf: -Wr
+
+Relocation section '\.rela\.dyn' at offset .* contains 2 entries:
+[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
+[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_RELATIVE[ ].*
+[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_RELATIVE[ ].*