From patchwork Tue Mar 20 23:02:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10298151 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8AF6A600F6 for ; Tue, 20 Mar 2018 23:04:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E107296C8 for ; Tue, 20 Mar 2018 23:04:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C987296CD; Tue, 20 Mar 2018 23:04:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 15260296C9 for ; Tue, 20 Mar 2018 23:04:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=V84I/FwYW1Xn1n4NzS7fsZgYOuCCMnM0YQyOEhTrMck=; b=cRN/wx88rWzTw9CKq40NY0N6y6 lyDvEIz0av82TThisBYbOaGhsvqcmYE1/EUDxcaO7mb3BEADWDH3jebGR6OOvGEVZY3luP2dpl7/9 sqJDTRzOy9cCZAOq/f3QoYMh+j2jm6FYtuTokYUqu5RsEBymjgSxPWAE39gzoaPt24W7Ay8Iu0/ie w9hIwki8qYh/kRixpdgv4dKXmvhCkpz6S9b0CC+gRuTz2H75AbRC6odnnOK0buhQ014XD4JoufgbC rpuGcLyBc1fBhFn8tuMG5/2ktRIZfK0W7/JSCUFG58dqUpknmSWzBm4b9jfVoYLrbIjwfCjuNgvzb t47OdeRQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1eyQIX-0001or-Gg; Tue, 20 Mar 2018 23:04:05 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1eyQH3-00012F-8c for linux-arm-kernel@lists.infradead.org; Tue, 20 Mar 2018 23:02:37 +0000 Received: from trochilidae.lan (unknown [IPv6:2001:1620:c6e::587]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 008815C1EA3; Wed, 21 Mar 2018 00:01:57 +0100 (CET) From: Stefan Agner To: linux@armlinux.org.uk, ard.biesheuvel@linaro.org, arnd@arndb.de Subject: [PATCH 4/5] ARM: drop no-thumb-interwork in EABI mode Date: Wed, 21 Mar 2018 00:02:05 +0100 Message-Id: <20180320230206.25289-5-stefan@agner.ch> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180320230206.25289-1-stefan@agner.ch> References: <20180320230206.25289-1-stefan@agner.ch> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1521586918; bh=1tyFdWAOjRFI5d860lLYLKJK+O6d8U5ZlEDlmBngXJs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=jaTne94yJFmoTJUyFrs/2Fbx4HGHyt2GuZbItONxC5vHbCzYt4GN6kpQ7wYxv4VJqiJ3jEUQHX1Nhfcjevrcn2ooyd2CtwLERa3mLmRxEWFc/y6X8rfn5EKinVqQQEDlCG8QH6sq1H5oVb/gp199pxDHwOljRqucCONKvB2pTdg= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180320_160233_572341_6FA3E6C3 X-CRM114-Status: GOOD ( 13.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nicolas.pitre@linaro.org, keescook@chromium.org, marc.zyngier@arm.com, linux-kernel@vger.kernel.org, Stefan Agner , mka@chromium.org, linux-arm-kernel@lists.infradead.org, Bernhard.Rosenkranzer@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP According to GCC documentation -m(no-)thumb-interwork is meaningless in AAPCS configurations. Also clang does not support the flag: clang-5.0: error: unknown argument: '-mno-thumb-interwork' Just drop -mno-thumb-interwork in AEABI configuration. Signed-off-by: Stefan Agner --- arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index e83f5161fdd8..e9e3fde3c657 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -106,7 +106,7 @@ tune-$(CONFIG_CPU_V6K) =$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm) tune-y := $(tune-y) ifeq ($(CONFIG_AEABI),y) -CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp +CFLAGS_ABI :=-mabi=aapcs-linux -mfpu=vfp else CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,) endif