|
|
|
@ -68,8 +68,12 @@ uint32_t elf_32_load(void* file) |
|
|
|
|
|
|
|
|
|
// Check segment type
|
|
|
|
|
if(current.segment_type != SEGMENT_TYPE_LOAD) |
|
|
|
|
{ |
|
|
|
|
// Don't message for riscv-specific attributes segment
|
|
|
|
|
if(current.segment_type != SEGMENT_TYPE_RISCV_SPECIFIC_SHT_RISCV_ATTRIBUTES) |
|
|
|
|
{ |
|
|
|
|
fprintf(stderr, "WARNING: Unknown segment type %u in ELF file ; skipping\n", current.segment_type); |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|