]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Unbreak the MacOS port following the recent ppc64le port merge.
authorJulian Seward <jseward@acm.org>
Wed, 13 Aug 2014 09:04:02 +0000 (09:04 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 13 Aug 2014 09:04:02 +0000 (09:04 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14266

coregrind/launcher-darwin.c

index 1f990263775e39cf03590f62da72dcc5ce02481d..4d96b72062cc9e3cf90ec070f9f21d4eb79c90ac 100644 (file)
@@ -59,11 +59,15 @@ static struct {
    const char *apple_name;     // e.g. x86_64
    const char *valgrind_name;  // e.g. amd64
 } valid_archs[] = {
-   { CPU_TYPE_X86,         "i386",    "x86" },
-   { CPU_TYPE_X86_64,      "x86_64",  "amd64" },
-   { CPU_TYPE_ARM,         "arm",     "arm" },
-   { CPU_TYPE_POWERPC,     "ppc",     "ppc32" },
-   { CPU_TYPE_POWERPC64BE, "ppc64be", "ppc64be" },
+   { CPU_TYPE_X86,       "i386",   "x86" },
+   { CPU_TYPE_X86_64,    "x86_64", "amd64" },
+   { CPU_TYPE_ARM,       "arm",    "arm" },
+   /* Not that it's actually relevant, since we don't support PPC on
+      MacOS X, but .. the Apple PPC descriptors refer to the BE
+      variant, since the LE variant is something that appeared long
+      after Apple dropped PPC. */
+   { CPU_TYPE_POWERPC,   "ppc",    "ppc32" }, 
+   { CPU_TYPE_POWERPC64, "ppc64",  "ppc64be" }
 };
 static int valid_archs_count = sizeof(valid_archs)/sizeof(valid_archs[0]);