diff --git a/src/system/kernel/elf.cpp b/src/system/kernel/elf.cpp index 66764f71ab..2ed0240787 100644 --- a/src/system/kernel/elf.cpp +++ b/src/system/kernel/elf.cpp @@ -2231,6 +2231,12 @@ load_kernel_add_on(const char *path) case PT_DYNAMIC: image->dynamic_section = programHeaders[i].p_vaddr; continue; + case PT_INTERP: + // should check here for appropriate interpreter + continue; + case PT_PHDR: + // we don't use it + continue; default: dprintf("%s: unhandled pheader type %#" B_PRIx32 "\n", fileName, programHeaders[i].p_type); diff --git a/src/system/runtime_loader/elf_load_image.cpp b/src/system/runtime_loader/elf_load_image.cpp index 8455645a60..c6bcbbff41 100644 --- a/src/system/runtime_loader/elf_load_image.cpp +++ b/src/system/runtime_loader/elf_load_image.cpp @@ -64,7 +64,7 @@ count_regions(const char* imagePath, char const* buff, int phnum, int phentsize) // will be handled at some other place break; case PT_INTERP: - // should check here for appropiate interpreter + // should check here for appropriate interpreter break; case PT_NOTE: // unsupported