summary refs log tree commit diff
path: root/scripts/glibcelf.py
diff options
context:
space:
mode:
authorcaiyinyu <caiyinyu@loongson.cn>2022-07-19 09:20:45 +0800
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-07-26 12:35:12 -0300
commit2d83247d90c9f0bfee7f3f2505bc1b13b6f36c04 (patch)
tree73febbb866fabc3a060fd3c1baada22b1eaadf6d /scripts/glibcelf.py
parent4c2c2142d628b677cdce3adc70f43e5e32542370 (diff)
downloadglibc-2d83247d90c9f0bfee7f3f2505bc1b13b6f36c04.tar.gz
glibc-2d83247d90c9f0bfee7f3f2505bc1b13b6f36c04.tar.xz
glibc-2d83247d90c9f0bfee7f3f2505bc1b13b6f36c04.zip
LoongArch: Add relocations and ELF flags to elf.h and scripts/glibcelf.py
Diffstat (limited to 'scripts/glibcelf.py')
-rw-r--r--scripts/glibcelf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/glibcelf.py b/scripts/glibcelf.py
index 47f95d07ba..de0509130e 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):