diff options
Diffstat (limited to 'ld/testsuite/ld-riscv-elf/pie-bind-locally-rv64.d')
-rw-r--r-- | ld/testsuite/ld-riscv-elf/pie-bind-locally-rv64.d | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-riscv-elf/pie-bind-locally-rv64.d b/ld/testsuite/ld-riscv-elf/pie-bind-locally-rv64.d new file mode 100644 index 0000000..6ae627a --- /dev/null +++ b/ld/testsuite/ld-riscv-elf/pie-bind-locally-rv64.d @@ -0,0 +1,10 @@ +#source: pie-bind-locally-a.s +#source: pie-bind-locally-b.s +#as: -march=rv64i -mabi=lp64 -defsym __64_bit__=1 +#ld: -m[riscv_choose_lp64_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[ ].* |