]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix a build problem introduced by SVN commit r16365.
authorIvo Raisr <ivosh@ivosh.net>
Mon, 15 May 2017 11:01:28 +0000 (11:01 +0000)
committerIvo Raisr <ivosh@ivosh.net>
Mon, 15 May 2017 11:01:28 +0000 (11:01 +0000)
Fixes BZ#370028
Patch by: Tamara Vlahovic <tamara.vlahovic@imgtec.com>

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

coregrind/launcher-linux.c

index 96e3cf49622566da486b8cb982848eb0f6bcd196..8e7c73475a0c344053b34aecfbea78d7f3272619 100644 (file)
@@ -261,7 +261,7 @@ static const char *select_platform(const char *clientname)
                 (header.ehdr64.e_ident[EI_OSABI] == ELFOSABI_SYSV ||
                  header.ehdr64.e_ident[EI_OSABI] == ELFOSABI_LINUX)) {
                platform = "mips64-linux";
-            } else if (header.ehdr64.e_machine == EM_TILEGX &&
+            } else if (header.ehdr64.e_machine == EM_AARCH64 &&
                 (header.ehdr64.e_ident[EI_OSABI] == ELFOSABI_SYSV ||
                  header.ehdr64.e_ident[EI_OSABI] == ELFOSABI_LINUX)) {
                platform = "arm64-linux";