diff options
author | sgehwolf <none@none> | 2015-03-03 11:51:15 +0100 |
---|---|---|
committer | sgehwolf <none@none> | 2015-03-03 11:51:15 +0100 |
commit | 3fc9fe60ac69f8f0b042c25adc3a01e09e2ac790 (patch) | |
tree | 27401f64aacf6aa292b4799aec25563a1af90ba5 /common/autoconf | |
parent | 9d4ceda6f6add83d7c20000fd49c64005f36b8f4 (diff) | |
download | jdk8u-3fc9fe60ac69f8f0b042c25adc3a01e09e2ac790.tar.gz |
8067330: ZERO_ARCHDEF incorrectly defined for PPC/PPC64 architectures
Reviewed-by: simonis, tbell, erikj
Diffstat (limited to 'common/autoconf')
-rw-r--r-- | common/autoconf/generated-configure.sh | 5 | ||||
-rw-r--r-- | common/autoconf/platform.m4 | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/common/autoconf/generated-configure.sh b/common/autoconf/generated-configure.sh index aec4d98..4c646e8 100644 --- a/common/autoconf/generated-configure.sh +++ b/common/autoconf/generated-configure.sh @@ -3877,7 +3877,7 @@ fi #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1421450260 +DATE_WHEN_GENERATED=1425379745 ############################################################################### # @@ -7212,7 +7212,8 @@ $as_echo "$COMPILE_TYPE" >&6; } # ZERO_ARCHDEF is used to enable architecture-specific code case "${OPENJDK_TARGET_CPU}" in - ppc*) ZERO_ARCHDEF=PPC ;; + ppc) ZERO_ARCHDEF=PPC32 ;; + ppc64) ZERO_ARCHDEF=PPC64 ;; s390*) ZERO_ARCHDEF=S390 ;; sparc*) ZERO_ARCHDEF=SPARC ;; x86_64*) ZERO_ARCHDEF=AMD64 ;; diff --git a/common/autoconf/platform.m4 b/common/autoconf/platform.m4 index 1f06f0c..20096b3 100644 --- a/common/autoconf/platform.m4 +++ b/common/autoconf/platform.m4 @@ -365,7 +365,8 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS], # ZERO_ARCHDEF is used to enable architecture-specific code case "${OPENJDK_TARGET_CPU}" in - ppc*) ZERO_ARCHDEF=PPC ;; + ppc) ZERO_ARCHDEF=PPC32 ;; + ppc64) ZERO_ARCHDEF=PPC64 ;; s390*) ZERO_ARCHDEF=S390 ;; sparc*) ZERO_ARCHDEF=SPARC ;; x86_64*) ZERO_ARCHDEF=AMD64 ;; |