src/share/tools/hsdis/hsdis.c

Print this page
rev 9708 : 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Summary: Set LIBARCH to ppc64le, make SA and hsdis work, have os.arch return ppc64le on PowerPC64 LE
Reviewed-by: david.holmes@oracle.com, magnus.ihse.bursie@oracle.com
Contributed-by: Andrew Hughes gnu.andrew@redhat.com, Alexander Smundak asmundak@google.com

*** 459,469 **** res = "sparc:v8plusb"; #endif #ifdef LIBARCH_sparcv9 res = "sparc:v9b"; #endif ! #ifdef LIBARCH_ppc64 res = "powerpc:common64"; #endif #ifdef LIBARCH_aarch64 res = "aarch64"; #endif --- 459,469 ---- res = "sparc:v8plusb"; #endif #ifdef LIBARCH_sparcv9 res = "sparc:v9b"; #endif ! #if defined(LIBARCH_ppc64) || defined(LIBARCH_ppc64le) res = "powerpc:common64"; #endif #ifdef LIBARCH_aarch64 res = "aarch64"; #endif