From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14284 invoked by alias); 22 Jul 2011 12:40:00 -0000 Received: (qmail 14110 invoked by uid 22791); 22 Jul 2011 12:40:00 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_GM,TW_PM X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Jul 2011 12:39:46 +0000 Received: (qmail 26385 invoked from network); 22 Jul 2011 12:39:45 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Jul 2011 12:39:45 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1QkF15-0002m0-PV; Fri, 22 Jul 2011 12:39:43 +0000 Date: Fri, 22 Jul 2011 13:21:00 -0000 From: "Joseph S. Myers" To: Jakub Jelinek cc: "H.J. Lu" , GCC Patches Subject: Re: PING: PATCH: PR target/46770: Use .init_array/.fini_array sections In-Reply-To: <20110722123042.GB2687@tyan-ft48-01.lab.bos.redhat.com> Message-ID: References: <20110722123042.GB2687@tyan-ft48-01.lab.bos.redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 X-SW-Source: 2011-07/txt/msg01949.txt.bz2 On Fri, 22 Jul 2011, Jakub Jelinek wrote: > On Fri, Jul 22, 2011 at 04:59:28AM -0700, H.J. Lu wrote: > > @@ -2660,6 +2664,7 @@ esac > > case ${target} in > > i[34567]86-*-linux* | x86_64-*-linux*) > > tmake_file="${tmake_file} i386/t-pmm_malloc i386/t-i386" > > + use_initfini_array=yes > > ;; > > i[34567]86-*-* | x86_64-*-*) > > tmake_file="${tmake_file} i386/t-gmm_malloc i386/t-i386" > > What is i?86/x86_64 specific on it? Don't most other glibc targets > want to use it too, perhaps with some arch specific tweaks? I already said in the PR that it should be enabled by default for all ELF targets except any for which it proves necessary to disable it. -- Joseph S. Myers joseph@codesourcery.com