From patchwork Fri Jul 19 10:45:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yufeng Zhang X-Patchwork-Id: 260236 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 19ADB2C008A for ; Fri, 19 Jul 2013 20:46:01 +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 :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=oCepbNjXwmlTt3S72wbk6ewef44Daokx8ZNr+mZxq4a mY9dai6dQiHpUzVyOdYTpXDIlF/YYNIOJgdMZKhWCv/Ug4lDbnyik7O0MbqpSL8x QuN2pI/U4hj5xl52z/4qo0PMAPXkSvlb3x9ZZ41/DBs5p/N6594gEPf1Ij90+9cA = 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 :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=srPMucmjTcA7IrJWQbh9H7wNMBI=; b=kydWDegKdx5PfACIk BjfH51bd6KMFn33GTup+sNpkWvjyoW+1dkpamTsWK/VL+exI+PaVDB3lWxJ3LjLM REDgH8q5BHfm5xB1mAB3IPhXDU75jallLYoOQouiXioLnGSwCGLmhmt3q+vj7Ece /0cz0MqIkFpoQl8zFabYZbp6BA= Received: (qmail 30064 invoked by alias); 19 Jul 2013 10:45:54 -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 30037 invoked by uid 89); 19 Jul 2013 10:45:53 -0000 X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RDNS_NONE, SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 19 Jul 2013 10:45:52 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 19 Jul 2013 11:45:44 +0100 Received: from [10.1.201.52] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 19 Jul 2013 11:45:42 +0100 Message-ID: <51E918D6.1070102@arm.com> Date: Fri, 19 Jul 2013 11:45:42 +0100 From: Yufeng Zhang User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: Marcus Shawcroft Subject: [PATCH, AArch64] Change to pass -mabi=* directly to the assembler X-MC-Unique: 113071911454400301 X-Virus-Found: No Hi, Following the work in AArch64 GAS to unify the ABI command line interface, this patch updates the compiler driver to pass -mabi=* directly to the assembler. The related GAS patch is here: http://www.sourceware.org/ml/binutils/2013-07/msg00180.html OK for the trunk (after the initial ILP32 patch set are committed)? Thanks, Yufeng gcc/ * config/aarch64/aarch64-elf.h (ASM_SPEC): Pass on -mabi=*. diff --git a/gcc/config/aarch64/aarch64-elf.h b/gcc/config/aarch64/aarch64-elf.h index 315a510..4757d22 100644 --- a/gcc/config/aarch64/aarch64-elf.h +++ b/gcc/config/aarch64/aarch64-elf.h @@ -140,8 +140,7 @@ %{mlittle-endian:-EL} \ %{mcpu=*:-mcpu=%*} \ %{march=*:-march=%*} \ -%{mabi=ilp32*:-milp32} \ -%{mabi=lp64*:-mlp64}" +%{mabi=*:-mabi=%*}" #endif #undef TYPE_OPERAND_FMT