From 2d83247d90c9f0bfee7f3f2505bc1b13b6f36c04 Mon Sep 17 00:00:00 2001 From: caiyinyu Date: Tue, 19 Jul 2022 09:20:45 +0800 Subject: LoongArch: Add relocations and ELF flags to elf.h and scripts/glibcelf.py --- scripts/glibcelf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/glibcelf.py b/scripts/glibcelf.py index 47f95d0..de05091 100644 --- a/scripts/glibcelf.py +++ b/scripts/glibcelf.py @@ -252,7 +252,8 @@ class Machine(_OpenIntEnum): EM_RISCV = 243 EM_BPF = 247 EM_CSKY = 252 - EM_NUM = 253 + EM_LOONGARCH = 258 + EM_NUM = 259 EM_ALPHA = 0x9026 class Et(_OpenIntEnum): -- cgit v1.1