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

Identifier strings for PowerPC 64 LE and PowerPC 64 are swapped

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      ppc

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: