From: Julian Seward Date: Tue, 10 May 2011 08:42:14 +0000 (+0000) Subject: Handle executables created by the Xcode 3.2.x linker. These contain X-Git-Tag: svn/VALGRIND_3_7_0~498 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1930427ceb18350eb46ffbd1302cc53416418cdf;p=thirdparty%2Fvalgrind.git Handle executables created by the Xcode 3.2.x linker. These contain LC_DYSYMTAB sections that apparently the 4.0.x created ones don't. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11739 --- diff --git a/coregrind/fixup_macho_loadcmds.c b/coregrind/fixup_macho_loadcmds.c index 37e77dd5a3..77524f8820 100644 --- a/coregrind/fixup_macho_loadcmds.c +++ b/coregrind/fixup_macho_loadcmds.c @@ -400,6 +400,10 @@ void modify_macho_loadcmds ( HChar* filename, if (DEBUGPRINTING) printf("LC_SYMTAB"); break; + case LC_DYSYMTAB: + if (DEBUGPRINTING) + printf("LC_DYSYMTAB"); + break; case LC_UUID: if (DEBUGPRINTING) printf("LC_UUID");