made text and data ELF regions compulsory

This commit is contained in:
applestash
2014-08-29 21:50:18 +10:00
parent 64665019c3
commit 61da4a1107
2 changed files with 12 additions and 6 deletions
+5 -4
View File
@@ -6,10 +6,11 @@ typedef enum
NOT_ARM_ELF = -11,
NON_EXECUTABLE_ELF = -12,
ELF_SECTION_NOT_FOUND = -13,
NOT_FIND_CODE_SECTIONS = -14,
ELF_SEGMENT_SECTION_SIZE_MISMATCH = -15,
ELF_SEGMENTS_NOT_CONTINUOUS = -16,
ELF_SEGMENTS_NOT_FOUND = -17,
NOT_FIND_TEXT_SEGMENT = -14,
NOT_FIND_DATA_SEGMENT = -15
ELF_SEGMENT_SECTION_SIZE_MISMATCH = -16,
ELF_SEGMENTS_NOT_CONTINUOUS = -17,
ELF_SEGMENTS_NOT_FOUND = -18,
} elf_errors;
typedef struct