From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22440 invoked by alias); 22 Feb 2012 22:29:50 -0000 Received: (qmail 22431 invoked by uid 22791); 22 Feb 2012 22:29:49 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_KC,URIBL_BLACK X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Feb 2012 22:29:37 +0000 From: "jingyu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/49325] Incorrect target HAVE_INITFINI_ARRAY check Date: Wed, 22 Feb 2012 22:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jingyu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-02/txt/msg02265.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49325 --- Comment #5 from Jing Yu 2012-02-22 22:26:46 UTC --- Author: jingyu Date: Wed Feb 22 22:26:40 2012 New Revision: 184494 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184494 Log: 2012-02-21 Jing Yu Bakcport r175181, r177963, r178116, r183299 from mainline. 2011-06-18 H.J. Lu PR other/49325 * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Properly check if .init_array can be used with .ctors on targets. * configure: Regenerated. 2011-08-22 H.J. Lu * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Error if __ELF__ isn't defined. * configure: Regenerated. 2011-08-26 Rainer Orth PR target/50166 * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Check count in main. * configure: Regenerate. 2012-01-19 Jakub Jelinek PR bootstrap/50237 * config/initfini-array.h: Guard content of the header with #ifdef HAVE_INITFINI_ARRAY. * configure.ac: Move gcc_AC_INITFINI_ARRAY much later into the file. Add initfini-array.h to tm_file here. * acinclude.m4 (gcc_AC_INITFINI_ARRAY): For non-ia64 do a linker test. * config.gcc: Don't add initfini-array.h to tm_file here. * configure: Regenerated. Modified: branches/google/gcc-4_6_2-mobile/gcc/ChangeLog.google-4_6 branches/google/gcc-4_6_2-mobile/gcc/acinclude.m4 branches/google/gcc-4_6_2-mobile/gcc/config.gcc branches/google/gcc-4_6_2-mobile/gcc/config/initfini-array.h branches/google/gcc-4_6_2-mobile/gcc/configure branches/google/gcc-4_6_2-mobile/gcc/configure.ac