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
This commit is contained in:
François Revol 2008-07-21 00:31:25 +00:00
parent 2f14f5ee99
commit 1e5538f5e8

View File

@ -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;