public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Edelsohn <dje.gcc@gmail.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [PATCH] Add AIX 7.3 Configuration
Date: Sun, 27 Jun 2021 16:26:10 -0400	[thread overview]
Message-ID: <CAGWvny=utp5och1KTYbm7GT-QNn3BO4e+ZXNgSCGCEAoVF4ZsQ@mail.gmail.com> (raw)

    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

                 reply	other threads:[~2021-06-27 20:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGWvny=utp5och1KTYbm7GT-QNn3BO4e+ZXNgSCGCEAoVF4ZsQ@mail.gmail.com' \
    --to=dje.gcc@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).