aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d
blob: 9c87c165a586fd78403c9c7259fb95d8e51b5a6b (plain)
1
2
3
4
#source: pcrel-lo-addend-3b.s
#as: -march=rv64i -mabi=lp64 -mno-relax
#ld: -m[riscv_choose_lp64_emul] -Tpcrel-lo-addend-3.ld
#error: .*dangerous relocation: The addend isn't allowed for R_RISCV_GOT_HI20