2
0
mirror of https://sourceware.org/git/binutils-gdb.git synced 2025-03-01 13:26:47 +08:00
binutils-gdb/ld/testsuite/ld-loongarch-elf/reloc_ler_with_shared.d
Lulu Cai 66156bae7a LoongArch: Add bad static relocation check and output more information to user
Absolute address symbols cannot be used with -shared.
We output more information to the user than just BFD_ASSETR.
2024-04-25 09:21:26 +08:00

5 lines
172 B
Makefile

#source: reloc_ler_with_shared.s
#as:
#ld: -shared
#error: .*relocation R_LARCH_TLS_LE_HI20_R against `s` can not be used when making a shared object; recompile with -fPIC