diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2020-07-24 15:05:42 -0400 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2020-07-24 19:57:14 -0400 |
commit | 6643d2367f8066dd6852568be1759adc7113a660 (patch) | |
tree | 96a9b0f85fd0199bd227c0283b56bd45ad784ae6 /gcc/config.gcc | |
parent | 4e577910050d6e18977525f0302a175542ffd610 (diff) | |
download | gcc-6643d2367f8066dd6852568be1759adc7113a660.zip gcc-6643d2367f8066dd6852568be1759adc7113a660.tar.gz gcc-6643d2367f8066dd6852568be1759adc7113a660.tar.bz2 |
aix: Support GCC64 for AIX 7.1.
gcc/ChangeLog:
2020-07-24 David Edelsohn <dje.gcc@gmail.com>
Clement Chigot <clement.chigot@atos.net>
* config.gcc (powerpc-ibm-aix7.1): Use t-aix64 and biarch64 for
cpu_is_64bit.
* config/rs6000/aix71.h (ASM_SPEC): Remove aix64 option.
(ASM_SPEC32): New.
(ASM_SPEC64): New.
(ASM_CPU_SPEC): Remove vsx and altivec options.
(CPP_SPEC_COMMON): Rename from CPP_SPEC.
(CPP_SPEC32): New.
(CPP_SPEC64): New.
(CPLUSPLUS_CPP_SPEC): Rename to CPLUSPLUS_CPP_SPEC_COMMON..
(TARGET_DEFAULT): Use 64 bit mask if BIARCH.
(LIB_SPEC_COMMON): Rename from LIB_SPEC.
(LIB_SPEC32): New.
(LIB_SPEC64): New.
(LINK_SPEC_COMMON): Rename from LINK_SPEC.
(LINK_SPEC32): New.
(LINK_SPEC64): New.
(STARTFILE_SPEC): Add 64 bit version of crtcxa and crtdbase.
(ASM_SPEC): Define 32 and 64 bit alternatives using DEFAULT_ARCH64_P.
(CPP_SPEC): Same.
(CPLUSPLUS_CPP_SPEC): Same.
(LIB_SPEC): Same.
(LINK_SPEC): Same.
(SUBTARGET_EXTRA_SPECS): Add new 32/64 specs.
* config/rs6000/aix72.h (TARGET_DEFAULT): Use 64 bit mask if BIARCH.
* config/rs6000/defaultaix64.h: Delete.
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 30b51c3..2370368 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3031,8 +3031,12 @@ rs6000-ibm-aix6.* | powerpc-ibm-aix6.*) default_use_cxa_atexit=yes ;; rs6000-ibm-aix7.1.* | powerpc-ibm-aix7.1.*) - tm_file="${tm_file} rs6000/aix.h rs6000/aix71.h rs6000/xcoff.h rs6000/aix-stdint.h" tmake_file="rs6000/t-aix52 t-slibgcc" + if test x$cpu_is_64bit = xyes; then + tm_file="${tm_file} rs6000/biarch64.h" + tmake_file="rs6000/t-aix64 t-slibgcc" + fi + tm_file="${tm_file} rs6000/aix.h rs6000/aix71.h rs6000/xcoff.h rs6000/aix-stdint.h" extra_options="${extra_options} rs6000/aix64.opt" use_collect2=yes thread_file='aix' @@ -3042,7 +3046,7 @@ rs6000-ibm-aix7.1.* | powerpc-ibm-aix7.1.*) rs6000-ibm-aix[789].* | powerpc-ibm-aix[789].*) tmake_file="rs6000/t-aix52 t-slibgcc" if test x$cpu_is_64bit = xyes; then - tm_file="${tm_file} rs6000/biarch64.h rs6000/defaultaix64.h" + tm_file="${tm_file} rs6000/biarch64.h" tmake_file="rs6000/t-aix64 t-slibgcc" fi tm_file="${tm_file} rs6000/aix.h rs6000/aix72.h rs6000/xcoff.h rs6000/aix-stdint.h" |