From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29806 invoked by alias); 3 Jan 2011 12:06:40 -0000 Received: (qmail 29781 invoked by uid 22791); 3 Jan 2011 12:06:39 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Mon, 03 Jan 2011 12:06:35 +0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/46685] [4.6 Regression] New stack alignment failures with -fpic X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou 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.6.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 Date: Mon, 03 Jan 2011 12:06:00 -0000 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: 2011-01/txt/msg00124.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #15 from Eric Botcazou 2011-01-03 12:06:23 UTC --- Author: ebotcazou Date: Mon Jan 3 12:06:19 2011 New Revision: 168418 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168418 Log: Backport from mainline 2010-12-30 Eric Botcazou PR target/47038 * config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section on the GOT helper if USE_HIDDEN_LINKONCE. 2010-12-02 Eric Botcazou PR target/46685 * config/sparc/sparc.c (can_use_mov_pic_label_ref): New predicate. (sparc_expand_move): Call it to decide whether to emit the special mov{si,di}_pic_label_ref patterns. (sparc_legitimize_pic_address): Call it to decide whether to emit the regular PIC sequence for labels. Fix long line. (sparc_file_end): Set is_thunk for the PIC helper. Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/config/sparc/sparc.c