runtime_loader: ignore PT_ARM_UNWIND sections

Change-Id: I966e366c73d495c3b3396f0dd4b44bafaf5c77c5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5136
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
David Karoly 2022-03-21 19:18:35 +01:00 committed by Adrien Destugues
parent d232643ed8
commit c5d3ca339c

View File

@ -85,6 +85,9 @@ count_regions(const char* imagePath, char const* buff, int phnum, int phentsize)
case PT_TLS:
// will be handled at some other place
break;
case PT_ARM_UNWIND:
// will be handled in libgcc_s.so.1
break;
default:
FATAL("%s: Unhandled pheader type in count 0x%" B_PRIx32 "\n",
imagePath, pheaders->p_type);
@ -213,6 +216,9 @@ parse_program_headers(image_t* image, char* buff, int phnum, int phentsize)
TLSBlockTemplate((void*)pheader->p_vaddr,
pheader->p_filesz, pheader->p_memsz));
break;
case PT_ARM_UNWIND:
// will be handled in libgcc_s.so.1
break;
default:
FATAL("%s: Unhandled pheader type in parse 0x%" B_PRIx32 "\n",
image->path, pheader->p_type);