hrev44759 adds 1 changeset to branch 'master' old head: 1a1e2020f98dac774110baa4df2ab303f1f7292d new head: d2c8db267dd912f719bb582acc14c8c521eac15c ---------------------------------------------------------------------------- d2c8db2: Just ignore unknown ELF program headers instead of failing. * This fixes loading executables with a TLS section (which we do not support so far, though). Still, no reason to let the runtime loader choke on it. [ Axel DÃrfler <axeld@xxxxxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev44759 Commit: d2c8db267dd912f719bb582acc14c8c521eac15c URL: http://cgit.haiku-os.org/haiku/commit/?id=d2c8db2 Author: Axel DÃrfler <axeld@xxxxxxxxxxxxxxxx> Date: Mon Nov 5 11:18:46 2012 UTC ---------------------------------------------------------------------------- 1 file changed, 2 insertions(+), 2 deletions(-) src/system/runtime_loader/elf_load_image.cpp | 4 ++-- ---------------------------------------------------------------------------- diff --git a/src/system/runtime_loader/elf_load_image.cpp b/src/system/runtime_loader/elf_load_image.cpp index 97f6988..d8286ce 100644 --- a/src/system/runtime_loader/elf_load_image.cpp +++ b/src/system/runtime_loader/elf_load_image.cpp @@ -1,6 +1,6 @@ /* * Copyright 2008-2009, Ingo Weinhold, ingo_weinhold@xxxxxxx - * Copyright 2003-2008, Axel DÃrfler, axeld@xxxxxxxxxxxxxxxxx + * Copyright 2003-2012, Axel DÃrfler, axeld@xxxxxxxxxxxxxxxxx * Distributed under the terms of the MIT License. * * Copyright 2002, Manuel J. Petit. All rights reserved. @@ -80,7 +80,7 @@ count_regions(const char* imagePath, char const* buff, int phnum, int phentsize) default: FATAL("%s: Unhandled pheader type in count 0x%lx\n", imagePath, pheaders->p_type); - return B_BAD_DATA; + break; } }