changeset 282:7ed642a9c3e9

- removed some restriction in mach-o loader
author Tassilo Philipp
date Thu, 19 Apr 2018 22:01:56 +0200
parents f5577f6bf97a
children 6eec7c270aea
files dynload/dynload_syms_mach-o.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dynload/dynload_syms_mach-o.c	Thu Apr 19 20:10:26 2018 +0200
+++ b/dynload/dynload_syms_mach-o.c	Thu Apr 19 22:01:56 2018 +0200
@@ -103,7 +103,7 @@
 		}
 	}
 
-	if(pHeader && (pHeader->magic == MACH_HEADER_MAGIC_NR) && (pHeader->filetype == MH_DYLIB) && !(pHeader->flags & MH_SPLIT_SEGS))
+	if(pHeader && (pHeader->magic == MACH_HEADER_MAGIC_NR) && (pHeader->filetype == MH_DYLIB)/*@@@ ignore for now, seems to work without it on El Capitan && !(pHeader->flags & MH_SPLIT_SEGS)*/)
 	{
 		const char* pBase = (const char*)pHeader;
 		uintptr_t slide = 0, symOffset = 0;