Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8186655

Identifier strings for PowerPC 64 LE and PowerPC 64 are swapped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • hotspot
    • None
    • b22
    • ppc

      While working on hotspot/src/os/linux/vm/os_linux.cpp to add new architectures for Zero, I noticed that the identifier strings for PowerPC 64 and PowerPC 64 LE are swapped:

      #if defined(VM_LITTLE_ENDIAN)
          {EM_PPC64, EM_PPC64, ELFCLASS64, ELFDATA2LSB, (char*)"Power PC 64"},
      #else
          {EM_PPC64, EM_PPC64, ELFCLASS64, ELFDATA2MSB, (char*)"Power PC 64 LE"},
      #endif

      The upper entry should have the string "PowerPC 64 LE" and the lower one "PowerPC 64", not vice versa.

            glaubitz John Paul Adrian Glaubitz
            glaubitz John Paul Adrian Glaubitz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: