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
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
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
* 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
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