kernel: avoid dprintf messages for known header types we don't use.
* fix a typo in runtime_loader/count_regions().
This commit is contained in:
parent
4c7d851f15
commit
6c009cde0b
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user