ELF: added support for SHT_RISCV_ATTRIBUTES seg

This commit is contained in:
2023-10-20 16:14:01 +02:00
parent 326b52ef86
commit a0935f0aad
2 changed files with 87 additions and 82 deletions
+1
View File
@@ -77,6 +77,7 @@ typedef struct ELF_PROGRAM_HEADER_32
#define SEGMENT_TYPE_DYNAMIC 2
#define SEGMENT_TYPE_INTERP 3
#define SEGMENT_TYPE_NOTE 4
#define SEGMENT_TYPE_RISCV_SPECIFIC_SHT_RISCV_ATTRIBUTES 0x70000003
uint32_t elf_32_load(void* file);