From: Adam Date: Tue, 11 Jan 2022 12:05:21 +0000 (+0000) Subject: Add PS3/CellOS OSABI identifier (#389) X-Git-Tag: v0.28~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd6cd02951f5844d0369f6c29bcaa44c0e801f87;p=pyelftools.git Add PS3/CellOS OSABI identifier (#389) * Add PS3/CellOS OSABI identifier. * Remove "OS" from CELL OS ABI * Remove "OS" from CELL OS ABI * Add Missing comma for ELFOSABI_CELL_LV2. --- diff --git a/elftools/elf/descriptions.py b/elftools/elf/descriptions.py index 53c5b16..b14ea3e 100644 --- a/elftools/elf/descriptions.py +++ b/elftools/elf/descriptions.py @@ -326,6 +326,7 @@ _DESCR_EI_OSABI = dict( ELFOSABI_SORTIX='Sortix', ELFOSABI_ARM_AEABI='ARM - EABI', ELFOSABI_ARM='ARM - ABI', + ELFOSABI_CELL_LV2='CellOS Lv-2', ELFOSABI_STANDALONE='Standalone App', ) diff --git a/elftools/elf/enums.py b/elftools/elf/enums.py index 43e5302..61c3d42 100644 --- a/elftools/elf/enums.py +++ b/elftools/elf/enums.py @@ -53,6 +53,7 @@ ENUM_EI_OSABI = dict( ELFOSABI_SORTIX=53, ELFOSABI_ARM_AEABI=64, ELFOSABI_ARM=97, + ELFOSABI_CELL_LV2=102, ELFOSABI_STANDALONE=255, _default_=Pass, )