]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Handle executables created by the Xcode 3.2.x linker. These contain
authorJulian Seward <jseward@acm.org>
Tue, 10 May 2011 08:42:14 +0000 (08:42 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 10 May 2011 08:42:14 +0000 (08:42 +0000)
LC_DYSYMTAB sections that apparently the 4.0.x created ones don't.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11739

coregrind/fixup_macho_loadcmds.c

index 37e77dd5a3b2bb9021e88aadae13061055295731..77524f8820007d44f859a39dad19aa3e82cc6174 100644 (file)
@@ -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");