From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5679 invoked by alias); 29 Jan 2013 19:27:16 -0000 Received: (qmail 5662 invoked by uid 22791); 29 Jan 2013 19:27:15 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Jan 2013 19:27:10 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1U0Gpo-0006JD-U9 from joseph_myers@mentor.com ; Tue, 29 Jan 2013 11:27:08 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 29 Jan 2013 11:27:08 -0800 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Tue, 29 Jan 2013 19:27:06 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1U0Gpl-0002eh-5d; Tue, 29 Jan 2013 19:27:05 +0000 Date: Tue, 29 Jan 2013 19:27:00 -0000 From: "Joseph S. Myers" To: Richard Henderson CC: Steve Ellcey , "Maciej W. Rozycki" , "libc-alpha@sourceware.org" , "libc-ports@sourceware.org" , Chung-Lin Tang , Subject: Re: [PATCH 2/2] MIPS16: MIPS16 support proper In-Reply-To: <5107F7A7.50207@twiddle.net> Message-ID: References: <1359151771.11963.200.camel@ubuntu-sellcey> <1359394555.32571.12.camel@ubuntu-sellcey> <5106CA30.4070306@twiddle.net> <1359407838.32571.23.camel@ubuntu-sellcey> <5107F7A7.50207@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2013-01/txt/msg00079.txt.bz2 On Tue, 29 Jan 2013, Richard Henderson wrote: > Both gcc and ld have an --enable-initfini-array configuration switch. > > Both programs can autodetect the current host setting during native builds to > preserve the system setting. > > I don't believe there's currently a way to force the setting on based on a > configuration triple, but it ought not be hard to add. FWIW, ARM EABI has used init_array/fini_array for a long time (probably since before this configure option existed, and maybe not using the same mechanism as the configure option), following an EABI requirement (which might have been motivated by Thumb causing the same issues for .init/.fini as MIPS16 and microMIPS). -- Joseph S. Myers joseph@codesourcery.com