From: tyb0807 Date: Wed, 16 Aug 2017 12:18:50 +0000 (+0200) Subject: Adding new OS ABI to ELF header parsing (#153) X-Git-Tag: v0.25~37 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=950b40ea13696b69fbcab011dbbc6c757c4baf3f;p=pyelftools.git Adding new OS ABI to ELF header parsing (#153) * Add OS ABI to ELF header * Add new OS ABI to description --- diff --git a/elftools/elf/descriptions.py b/elftools/elf/descriptions.py index cda6e33..26d6834 100644 --- a/elftools/elf/descriptions.py +++ b/elftools/elf/descriptions.py @@ -171,7 +171,11 @@ _DESCR_EI_OSABI = dict( ELFOSABI_OPENVMS='VMS - OpenVMS', ELFOSABI_NSK='HP - Non-Stop Kernel', ELFOSABI_AROS='AROS', - ELFOSABI_ARM='ARM', + ELFOSABI_FENIXOS='Fenix OS', + ELFOSABI_CLOUD='Nuxi - CloudABI', + ELFOSABI_SORTIX='Sortix', + ELFOSABI_ARM_AEABI='ARM - EABI', + ELFOSABI_ARM='ARM - ABI', ELFOSABI_STANDALONE='Standalone App', ) diff --git a/elftools/elf/enums.py b/elftools/elf/enums.py index b85a18a..904a3ba 100644 --- a/elftools/elf/enums.py +++ b/elftools/elf/enums.py @@ -47,6 +47,9 @@ ENUM_EI_OSABI = dict( ELFOSABI_OPENVMS=13, ELFOSABI_NSK=14, ELFOSABI_AROS=15, + ELFOSABI_FENIXOS=16, + ELFOSABI_CLOUD=17, + ELFOSABI_SORTIX=53, ELFOSABI_ARM_AEABI=64, ELFOSABI_ARM=97, ELFOSABI_STANDALONE=255,