public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Add AIX 7.3 Configuration
@ 2021-06-27 20:26 David Edelsohn
  0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2021-06-27 20:26 UTC (permalink / raw)
  To: GCC Patches

    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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-27 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-27 20:26 [PATCH] Add AIX 7.3 Configuration David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).