Fix the LoongArch support code and some more (#483)
[pyelftools.git] / elftools / elf / elffile.py
index 0a945c6b6f4cff0f3dd06f211d62dbbc3279c8ce..f9fc0b35544ed26806c52289ac75f88b9e9f12de 100644 (file)
@@ -533,6 +533,7 @@ class ELFFile(object):
             'EM_RISCV'         : 'RISC-V',
             'EM_BPF'           : 'Linux BPF - in-kernel virtual machine',
             'EM_CSKY'          : 'C-SKY',
+            'EM_LOONGARCH'     : 'LoongArch',
             'EM_FRV'           : 'Fujitsu FR-V'
         }