aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/loongarch/sys
AgeCommit message (Collapse)AuthorFilesLines
2025-01-01Update copyright dates with scripts/update-copyrightsPaul Eggert3-3/+3
2024-06-14LoongArch: Ensure sp 16-byte aligned for tlsdescXi Ruoyao1-1/+0
"ADDI sp, sp, 24" and "ADDI sp, sp, SZFCSREG" (SZFCSREG = 4) are misaligning the stack: the ABI mandates a 16-byte alignment. Fix it by changing the first one to "ADDI sp, sp, 32", and reuse the spare 4th slot for saving fcsr. Reported-by: Jinyang He <hejinyang@loongson.cn> Signed-off-by: Xi Ruoyao <xry111@xry111.site>
2024-05-15LoongArch: Add support for TLS Descriptorsmengqinggang2-0/+2
This is mostly based on AArch64 and RISC-V implementation. Add R_LARCH_TLS_DESC32 and R_LARCH_TLS_DESC64 relocations. For _dl_tlsdesc_dynamic function slow path, temporarily save and restore all vector registers.
2024-01-01Update copyright dates with scripts/update-copyrightsPaul Eggert3-3/+3
2023-08-14Loongarch: Add ifunc support and add different versions of strlendengjianbo1-0/+57
strlen-lasx is implemeted by LASX simd instructions(256bit) strlen-lsx is implemeted by LSX simd instructions(128bit) strlen-align is implemented by LA basic instructions and never use unaligned memory acess
2023-08-14LoongArch: Redefine macro LEAF/ENTRY.dengjianbo1-10/+26
The following usage of macro LEAF/ENTRY are all feasible: 1. LEAF(fcn) -- the align value of fcn is .align 3(default value) 2. LEAF(fcn, 6) -- the align value of fcn is .align 6
2023-07-11LoongArch: Add vector implementation for _dl_runtime_resolve.caiyinyu2-0/+20
2023-06-13LoongArch: Add support for dl_runtime_profilecaiyinyu1-0/+1
This commit can fix the FAIL item: elf/tst-sprof-basic.
2023-01-06Update copyright dates with scripts/update-copyrightsJoseph Myers3-3/+3
2022-07-26LoongArch: Build Infrastructurecaiyinyu1-0/+93
2022-07-26LoongArch: Linux ABIcaiyinyu1-0/+30
2022-07-26LoongArch: ABI Implementationcaiyinyu1-0/+59