binutils-gdb/ld/testsuite/ld-loongarch-elf/reloc_ler_with_shared.s
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

10 lines
195 B
ArmAsm

.text
.globl s
.section .tdata,"awT",@progbits
.type s, @object
s:
.word 123
.text
lu12i.w $r4,%le_hi20_r(s)
add.d $r4,$r4,$r2,%le_add_r(s)