From dd6cd02951f5844d0369f6c29bcaa44c0e801f87 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 11 Jan 2022 12:05:21 +0000 Subject: [PATCH] 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. --- elftools/elf/descriptions.py | 1 + elftools/elf/enums.py | 1 + 2 files changed, 2 insertions(+) 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, ) -- 2.30.2