summaryrefslogtreecommitdiff
path: root/arch/loongarch64
AgeCommit message (Collapse)AuthorLines
10 daysstdint.h: derive limits from __LONG_MAX, use common fast16 typesRich Felker-20/+0
the bits file is retained, but as a single generic version, to allow for the unlikely future possibility of letting a new arch define something differently.
10 dayssys/reg.h: derive __WORDSIZE from __LONG_MAXRich Felker-2/+0
this removes an otherwise-unnecessary bits header from most archs, replacing it with an empty generic version.
10 daysunistd.h: derive ILP32/LP64 macros from __LONG_MAX instead of arch bitsRich Felker-2/+0
10 daysunify bits/stat.h for all archs sharing a common definitionRich Felker-18/+0
future archs should not define their own bits/stat.h but use this generic one.
10 daysalign aarch64, riscv64, loongarch64 stat structure padding typeRich Felker-1/+1
this change is purely to document that they are the same in preparation to remove the arch-specific headers for these archs and replace them with a generic version that matches riscv32 and can be shared by these and all future archs.
2024-02-29loongarch64: add new syscall numberswanghongliang-0/+15
2024-02-29loongarch64: remove getrlimit/setrlimit syscall numbersRich Felker-2/+0
these are not supported by the kernel for new archs; prlimit64 replaces them.
2024-02-29loongarch64: remove ptrace.h macroswanghongliang-4/+0
2024-02-26add loongarch64 user.h structs; adjust elf_fpreg_t and ELF_NFPREGHongliang Wang-2/+21
user_regs_struct and user_fp_struct were missing from the initial commit of the port. the union type for elf_fpreg_t and the new value of ELF_NFPREG are made consistent with glibc.
2024-02-26add loongarch64 signal.h register index macroswanghongliang-0/+11
2024-02-16add loongarch64 portHongliang Wang-0/+742
Author: Xiaojuan Zhai <zhaixiaojuan@loongson.cn> Author: Meidan Li <limeidan@loongson.cn> Author: Guoqi Chen <chenguoqi@loongson.cn> Author: Xiaolin Zhao <zhaoxiaolin@loongson.cn> Author: Fan peng <fanpeng@loongson.cn> Author: Jiantao Shan <shanjiantao@loongson.cn> Author: Xuhui Qiang <qiangxuhui@loongson.cn> Author: Jingyun Hua <huajingyun@loongson.cn> Author: Liu xue <liuxue@loongson.cn> Author: Hongliang Wang <wanghongliang@loongson.cn>