mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
5 lines
272 B
D
5 lines
272 B
D
|
#source: data-reloc.s
|
||
|
#as: -march=rv64i -mabi=lp64 -defsym __addr__=1
|
||
|
#ld: -m[riscv_choose_lp64_emul] -Ttext 0x8000 --defsym _start=0x0 -shared
|
||
|
#error: .*relocation R_RISCV_32 against non-absolute symbol `addr_globl' can not be used in RV64 when making a shared object.*
|