From patchwork Fri Oct 23 22:54:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Edelsohn X-Patchwork-Id: 535297 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5ED4A141311 for ; Sat, 24 Oct 2015 09:54:43 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=TF/Hhs8/; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=IquIaN1VRjufSKkeRm23UPgO+xTiHquwSb9fUUXuIq/w4d jKxkVysILas50NQ3epn4MQj5msj/Pb9hiaLVlVHK+ayNCNWkapoIUQLKHZ5Hamaf TKxzsApZcIVAz+5YOG8vwOJiLiEGCNBqotY5dOgq2Ny4/+IZkKWB4n7QoFByQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=F6Ukt8soGKJRFn6CTKAakf/Dna8=; b=TF/Hhs8/kuf/YsRBrian xO11P1wvZQK/N4U5VqC40baFnWna9r0DnTdWQ7+d8Tf90Jj7C6vxbbvKs5pwj+8Q /N9hHHTq048XUcalWgDrIuvou3KDZloxGoEmhv16UgXPS4wNEo3gjP7tPGc82MCM gzw/K0jukw+gUydwnkfwNjs= 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-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@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 18:54:33 -0400 Message-ID: Subject: [PATCH] enable default_cxa_atexit for AIX 6.1 and AIX 7.1 From: David Edelsohn To: GCC Patches 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. 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}" 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