8186655: Identifier strings for PowerPC 64 LE and PowerPC 64 are swapped
authorglaubitz
Wed, 23 Aug 2017 17:45:49 -0400
changeset 46967 89fb7df32425
parent 46966 612739349279
child 46969 d4db878f22f3
8186655: Identifier strings for PowerPC 64 LE and PowerPC 64 are swapped Reviewed-by: stuefe, dholmes
hotspot/src/os/linux/vm/os_linux.cpp
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Wed Aug 23 20:20:59 2017 +0000
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Wed Aug 23 17:45:49 2017 -0400
@@ -1747,9 +1747,9 @@
     {EM_SPARCV9,     EM_SPARCV9, ELFCLASS64, ELFDATA2MSB, (char*)"Sparc v9 64"},
     {EM_PPC,         EM_PPC,     ELFCLASS32, ELFDATA2MSB, (char*)"Power PC 32"},
 #if defined(VM_LITTLE_ENDIAN)
-    {EM_PPC64,       EM_PPC64,   ELFCLASS64, ELFDATA2LSB, (char*)"Power PC 64"},
+    {EM_PPC64,       EM_PPC64,   ELFCLASS64, ELFDATA2LSB, (char*)"Power PC 64 LE"},
 #else
-    {EM_PPC64,       EM_PPC64,   ELFCLASS64, ELFDATA2MSB, (char*)"Power PC 64 LE"},
+    {EM_PPC64,       EM_PPC64,   ELFCLASS64, ELFDATA2MSB, (char*)"Power PC 64"},
 #endif
     {EM_ARM,         EM_ARM,     ELFCLASS32,   ELFDATA2LSB, (char*)"ARM"},
     {EM_S390,        EM_S390,    ELFCLASSNONE, ELFDATA2MSB, (char*)"IBM System/390"},