From 1e5538f5e822fe87277a7288610acf08052b9b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 21 Jul 2008 00:31:25 +0000 Subject: [PATCH] silently skip PT_INTERP and PT_PHDR types as we can ignore them. This should make real unhandled types more obvious. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26535 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/loader/elf.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/system/boot/loader/elf.cpp b/src/system/boot/loader/elf.cpp index 58f548f97a..b917b8c4f5 100644 --- a/src/system/boot/loader/elf.cpp +++ b/src/system/boot/loader/elf.cpp @@ -250,6 +250,10 @@ elf_load_image(int fd, preloaded_image *image) image->dynamic_section.start = header.p_vaddr; image->dynamic_section.size = header.p_memsz; continue; + case PT_INTERP: + case PT_PHDR: + // known but unused type + continue; default: dprintf("unhandled pheader type 0x%lx\n", header.p_type); continue;