[PATCH] Add AIX 7.3 Configuration

David Edelsohn dje.gcc@gmail.com
Sun Jun 27 20:26:10 GMT 2021


    aix: Add AIX 7.3 configuration and SPDX License Identifiers.

            The anticipated release of AIX 7.3 has been announced.  This
            patch adds the configuration bits based on AIX 7.2 configuration.

    gcc/ChangeLog:

            * config.gcc: Add SPDX License Identifier.
            (powerpc-ibm-aix789): Default to aix73.h.
            (powerpc-ibm-aix7.2.*.*): New stanza.
            * config/rs6000/aix72.h: Add SPDX License Identifier.
            * config/rs6000/aix73.h: New file.

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 1be8d96f5e5..0230bb88861 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
 # GCC target-specific configuration file.
 # Copyright (C) 1997-2021 Free Software Foundation, Inc.

@@ -3099,7 +3100,7 @@ rs6000-ibm-aix7.1.* | powerpc-ibm-aix7.1.*)
        use_gcc_stdint=wrap
        default_use_cxa_atexit=yes
        ;;
-rs6000-ibm-aix[789].* | powerpc-ibm-aix[789].*)
+rs6000-ibm-aix7.2.* | powerpc-ibm-aix7.2.*)
        tmake_file="rs6000/t-aix52 t-slibgcc"
        if test x$cpu_is_64bit = xyes; then
            tm_file="${tm_file} rs6000/biarch64.h"
@@ -3112,6 +3113,19 @@ rs6000-ibm-aix[789].* | powerpc-ibm-aix[789].*)
        use_gcc_stdint=wrap
        default_use_cxa_atexit=yes
        ;;
+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"
+           tmake_file="rs6000/t-aix64 t-slibgcc"
+       fi
+       tm_file="${tm_file} rs6000/aix.h rs6000/aix73.h rs6000/xcoff.h
rs6000/aix-stdint.h"
+       extra_options="${extra_options} rs6000/aix64.opt"
+       use_collect2=yes
+       thread_file='aix'
+       use_gcc_stdint=wrap
+       default_use_cxa_atexit=yes
+       ;;
 rl78-*-elf*)
        tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
        target_has_targetm_common=no


More information about the Gcc-patches mailing list