diff options
Diffstat (limited to 'ld/testsuite/ld-riscv-elf/pr31179-r.d')
-rw-r--r-- | ld/testsuite/ld-riscv-elf/pr31179-r.d | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-riscv-elf/pr31179-r.d b/ld/testsuite/ld-riscv-elf/pr31179-r.d new file mode 100644 index 0000000..cd5c98e --- /dev/null +++ b/ld/testsuite/ld-riscv-elf/pr31179-r.d @@ -0,0 +1,10 @@ +#source: pr31179.s +#as: +#readelf: -Wr + +Relocation section '.rela.text' at .* +[ ]+Offset[ ]+Info[ ]+Type[ ]+.* +[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_SET_ULEB128[ ]+[0-9a-f]+[ ]+bar \+ 1 +[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_SUB_ULEB128[ ]+[0-9a-f]+[ ]+foo \+ 0 +[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_SET_ULEB128[ ]+[0-9a-f]+[ ]+bar \+ 1 +[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_SUB_ULEB128[ ]+[0-9a-f]+[ ]+foo \+ 1 |