From patchwork Tue May 7 01:00:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 241865 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id B01592C007A for ; Tue, 7 May 2013 11:00:31 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=PwprMv3smEYkpXsKbQ3C/n3JELBUjZVuPnAtl+LO/uSKXiSTMh sDRbakW1Ki7Jrqpmxa80LKMr7diF30Zz7RFKyxaBmftXCykDQpQ98NgZAHw+NvB/ IX4JJU68EQdRnwq/RFG1wKBWkRionDQChLZ+hbjzjXLiSfNvwnwRa9voE= 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:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=EcnA19ttIIFMuAOlS2ey9R/+4VY=; b=bkCTkozcjbhplKuCG+eC BhwFABKhGTRy8SttBeqMpF9GYqwKYQgvt10sKKA2bQUbdlKYniZDvq2UB0xHCZxh +aurT2M7yxW2wFgqluCcIuuQkU+wtNLeprDY8cvmgS/jwBk+n2rtIc8YQHeXJQVz gzeRMdfU62G3GBPSZEhSfp8= Received: (qmail 26138 invoked by alias); 7 May 2013 01:00:23 -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 26114 invoked by uid 89); 7 May 2013 01:00:19 -0000 X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, SPF_PASS autolearn=ham version=3.3.1 Received: from mail-da0-f45.google.com (HELO mail-da0-f45.google.com) (209.85.210.45) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 07 May 2013 01:00:17 +0000 Received: by mail-da0-f45.google.com with SMTP id w3so10611dad.32 for ; Mon, 06 May 2013 18:00:15 -0700 (PDT) X-Received: by 10.66.220.197 with SMTP id py5mr344046pac.86.1367888415642; Mon, 06 May 2013 18:00:15 -0700 (PDT) Received: from bubble.grove.modra.org ([101.166.26.37]) by mx.google.com with ESMTPSA id lq5sm27842790pab.19.2013.05.06.18.00.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 May 2013 18:00:14 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 01736EA35EF; Tue, 7 May 2013 10:30:08 +0930 (CST) Date: Tue, 7 May 2013 10:30:08 +0930 From: Alan Modra To: gcc-patches@gcc.gnu.org Cc: Anton Blanchard Subject: powerpc64le configure fix Message-ID: <20130507010008.GM5221@bubble.grove.modra.org> Mail-Followup-To: gcc-patches@gcc.gnu.org, Anton Blanchard MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Applying under the obvious rule. 2013-05-07 Anton Blanchard * configure.ac (HAVE_LD_LARGE_TOC): Use correct linker emulation for powerpc64 little endian. * configure: Regenerate. diff --git a/gcc/configure.ac b/gcc/configure.ac index a859d99..a289cf7 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4573,6 +4573,9 @@ fi case "$target:$tm_file" in powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*) case "$target" in + *le-*-linux*) + emul_name="-melf64lppc" + ;; *-*-linux*) emul_name="-melf64ppc" ;;