[PATCH 2/2] backends: Update list of LoongArch relocations

2024-02-22 Thread Xi Ruoyao
Signed-off-by: Xi Ruoyao --- backends/loongarch_reloc.def | 17 + 1 file changed, 17 insertions(+) diff --git a/backends/loongarch_reloc.def b/backends/loongarch_reloc.def index a39eefd9..cdc83211 100644 --- a/backends/loongarch_reloc.def +++ b/backends/loongarch_reloc.def

[PATCH 1/2] libelf: Sync elf.h from glibc

2024-02-22 Thread Xi Ruoyao
Adds new LoongArch relocations. Signed-off-by: Xi Ruoyao --- libelf/elf.h | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/libelf/elf.h b/libelf/elf.h index 7b4a8fe4..f2206e5c 100644 --- a/libelf/elf.h +++ b/libelf/elf.h @@ -1,5 +1,5

[PATCH 0/2] Update LoongArch relocations for psABI v2.30

2024-02-22 Thread Xi Ruoyao
LoongArch psABI v2.30 has introduced 17 new reloc types for TLS descriptor, TLS LE relaxation, and medium code model function call. Add them to elfutils. Tested on loongarch64-linux-gnu with Binutils-2.42 and GCC 14 (trunk). Xi Ruoyao (2): libelf: Sync elf.h from glibc backends: Update list

[PATCH 2/2] backends: Update list of LoongArch relocations

2023-08-29 Thread Xi Ruoyao via Elfutils-devel
* backends/loongarch_reloc.def: Add DELETE, ALIGN, PCREL20_S2, CFA, ADD6, SUB6, ADD_ULEB128, SUB_ULEB128, 64_PCREL. Signed-off-by: Xi Ruoyao --- backends/loongarch_reloc.def | 9 + 1 file changed, 9 insertions(+) diff --git a/backends/loongarch_reloc.def b/backends

[PATCH 1/2] libelf: Sync elf.h from Glibc

2023-08-29 Thread Xi Ruoyao via Elfutils-devel
Adds new LoongArch relocations. * elf.h: Update from glibc. Signed-off-by: Xi Ruoyao --- libelf/elf.h | 9 + 1 file changed, 9 insertions(+) diff --git a/libelf/elf.h b/libelf/elf.h index 89fc8021..9c51073f 100644 --- a/libelf/elf.h +++ b/libelf/elf.h @@ -4205,6 +4205,15