From patchwork Tue Nov 20 00:25:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Klose X-Patchwork-Id: 200220 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]) by ozlabs.org (Postfix) with SMTP id 1D14A2C007E for ; Tue, 20 Nov 2012 11:25:23 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1353975924; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=tll1vhD+aVzfJe+BlNCK uGEKWcA=; b=N0U5UJVeoSqnpMC7VwAceL64soXXA8fBaPVuSQkHYTN6AdTjEqY1 9m+2kucmwm/F6YRxlwezjakN1O+sjZD6jBGzVnO0nqKo9WiSW79c1VFbHy/+7Wdf OP8lS9No9olE55QSQOhWX72pYgvJcmLrDuc++4pO3HBKtPIQEoLKUrE= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=rrfu8ny7VKLHQUqF6HUHOZq9G3fr4QV3/j9/VJhqVcr3TLvWoyrtwHOFC57v7p QAq11VLT5Pwjd6QLEY9yjcLWsj5bUXYU1H2ZSuUGpwTOXma/Ui36gi0ma2doJ+ss isdChT8tYQEC0C91QIJnNVUUIDn9r8APnK1DJu9NEAWgg=; Received: (qmail 22541 invoked by alias); 20 Nov 2012 00:25:18 -0000 Received: (qmail 22504 invoked by uid 22791); 20 Nov 2012 00:25:17 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, KHOP_THREADED, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from youngberry.canonical.com (HELO youngberry.canonical.com) (91.189.89.112) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Nov 2012 00:25:13 +0000 Received: from dslb-088-073-102-073.pools.arcor-ip.net ([88.73.102.73] helo=[192.168.42.216]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1TabeK-00020E-2r; Tue, 20 Nov 2012 00:25:12 +0000 Message-ID: <50AACDE3.7000009@ubuntu.com> Date: Tue, 20 Nov 2012 01:25:07 +0100 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: "Joseph S. Myers" CC: Matthias Klose , GCC Patches , Richard Earnshaw , Marcus Shawcroft Subject: Re: [patch] [aarch64] add multiarch definitions for aarch64-linux-gnu References: <50AABDBD.5050002@ubuntu.com> In-Reply-To: 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 Am 20.11.2012 00:39, schrieb Joseph S. Myers: > On Tue, 20 Nov 2012, Matthias Klose wrote: > >> This just adds the multiarch dirname for aarch64. ok for the trunk? There were >> macro redefinitions before in aarch64-linux.h (STANDARD_STARTFILE_PREFIX_[12]). >> I don't think these are necessary. > > Don't you need to allow for big-endian, and use a different name in that > case? ok. I think for now nobody uses a big-endian configuration, and I'll only define the multiarch tuple for the little-endian configuration. Index: aarch64/t-aarch64-linux =================================================================== --- aarch64/t-aarch64-linux (revision 193639) +++ aarch64/t-aarch64-linux (working copy) @@ -20,3 +20,8 @@ LIB1ASMSRC = aarch64/lib1funcs.asm LIB1ASMFUNCS = _aarch64_sync_cache_range + +ARM_EB = $(if $(findstring TARGET_BIG_ENDIAN_DEFAULT=1, $(tm_defines)),eb) +ifeq (,$(ARM_EB)) +MULTIARCH_DIRNAME = $(call if_multiarch,aarch64-linux-gnu) +endif