From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27919 invoked by alias); 23 Oct 2015 22:54:36 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 27909 invoked by uid 89); 23 Oct 2015 22:54:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f174.google.com Received: from mail-ig0-f174.google.com (HELO mail-ig0-f174.google.com) (209.85.213.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 23 Oct 2015 22:54:35 +0000 Received: by igbdj2 with SMTP id dj2so25174694igb.1 for ; Fri, 23 Oct 2015 15:54:33 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.111.137 with SMTP id ii9mr7543479igb.91.1445640873301; Fri, 23 Oct 2015 15:54:33 -0700 (PDT) Received: by 10.36.133.193 with HTTP; Fri, 23 Oct 2015 15:54:33 -0700 (PDT) Date: Fri, 23 Oct 2015 23:28:00 -0000 Message-ID: Subject: [PATCH] enable default_cxa_atexit for AIX 6.1 and AIX 7.1 From: David Edelsohn To: GCC Patches Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-10/txt/msg02566.txt.bz2 cxa_atexit functionality for AIX was added to libgcc a while ago. It seems stable in all of the testing. This patch enables it by default. Bootstrapped on powerpc-ibm-aix7.1.0.0, powerpc-ibm-aix7.1.2.0, powerpc-ibm-aix7.1.3.0 Thanks, David * config.gcc (powerpc-ibm-aix[6789])[default_use_cxa_atexit]: Set to yes. Index: config.gcc =================================================================== --- config.gcc (revision 229275) +++ config.gcc (working copy) @@ -2540,6 +2540,7 @@ thread_file='aix' use_gcc_stdint=wrap extra_headers=altivec.h + default_use_cxa_atexit=yes ;; rs6000-ibm-aix[789].* | powerpc-ibm-aix[789].*) tm_file="${tm_file} rs6000/aix.h rs6000/aix71.h rs6000/xcoff.h rs6000/aix-stdint.h" @@ -2549,6 +2550,7 @@ thread_file='aix' use_gcc_stdint=wrap extra_headers=altivec.h + default_use_cxa_atexit=yes ;; rl78-*-elf*) tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"