aboutsummaryrefslogtreecommitdiff
path: root/scripts
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
parent4c2c2142d628b677cdce3adc70f43e5e32542370 (diff)
downloadglibc-2d83247d90c9f0bfee7f3f2505bc1b13b6f36c04.zip
glibc-2d83247d90c9f0bfee7f3f2505bc1b13b6f36c04.tar.gz
glibc-2d83247d90c9f0bfee7f3f2505bc1b13b6f36c04.tar.bz2
LoongArch: Add relocations and ELF flags to elf.h and scripts/glibcelf.py
Diffstat (limited to 'scripts')
-rw-r--r--scripts/glibcelf.py3
1 files changed, 2 insertions, 1 deletions
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):