]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d
RISC-V: Clarify the addends of pc-relative access.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-riscv-elf / pcrel-lo-addend-3b.d
1 #source: pcrel-lo-addend-3b.s
2 #as: -march=rv64i -mabi=lp64 -mno-relax
3 #ld: -m[riscv_choose_lp64_emul] -Tpcrel-lo-addend-3.ld
4 #error: .*dangerous relocation: The addend isn't allowed for R_RISCV_GOT_HI20