aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32c-opc.h
diff options
context:
space:
mode:
authorLulu Cai <cailulu@loongson.cn>2023-10-31 16:11:29 +0800
committerliuzhensong <liuzhensong@loongson.cn>2023-12-25 11:46:22 +0800
commit26265e7fdf19d461563388495b6799eb3719f80a (patch)
tree3aaf2793a448b90fd5d55097ee5dbf9efa12ad4c /opcodes/m32c-opc.h
parent051b3736af7b9dc47a37e31a9c82556e942d1ed4 (diff)
downloadgdb-26265e7fdf19d461563388495b6799eb3719f80a.zip
gdb-26265e7fdf19d461563388495b6799eb3719f80a.tar.gz
gdb-26265e7fdf19d461563388495b6799eb3719f80a.tar.bz2
LoongArch: Add new relocs and macro for TLSDESC.
The normal DESC instruction sequence is: pcalau12i $a0,%desc_pc_hi20(var) #R_LARCH_TLS_DESC_PC_HI20 addi.d $a0,$a0,%desc_pc_lo12(var) #R_LARCH_TLS_DESC_PC_LO12 ld.d $ra,$a0,%desc_ld(var) #R_LARCH_TLS_DESC_LD jirl $ra,$ra,%desc_call(var) #R_LARCH_TLS_DESC_CALL add.d $a0,$a0,$tp
Diffstat (limited to 'opcodes/m32c-opc.h')
0 files changed, 0 insertions, 0 deletions