Skip to content

[3.21]main/musl: Add new LoongArch reloc types and NT_LOONGARCH_HW_* into elf.h

Jingyun Hua requested to merge huajingyun01/aports:3.21-musl into 3.21-stable

These new LoongArch reloc types(101 to 126) have been added in LoongArch psABI v2.30 and NT_LOONGARCH_HW_BREAK/NT_LOONGARCH_HW_WATCH sync Linux 6.12 elf.h.

Link:

https://github.com/loongson/la-abi-specs/blob/v2.30/laelf.adoc#relocation-types

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/elf.h?h=v6.12#n458

Also refer to glibc:

https://sourceware.org/git/?p=glibc.git;a=blob;f=elf/elf.h

Edited by Jingyun Hua

Merge request reports

Loading