From patchwork Sun Mar 25 18:09:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10306823 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 E881C60212 for ; Sun, 25 Mar 2018 22:18:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCFCF291BF for ; Sun, 25 Mar 2018 22:18:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C18422933D; Sun, 25 Mar 2018 22:18:37 +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 57748291BF for ; Sun, 25 Mar 2018 22:18:37 +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=sIGaKG2OtwUD84xw40pD8z+xS6 po2hBWXZovwiPIUkSkWYGR9k/gOZGHuDuorXS1qrhANaNhlw81FyyGAQMbEC3avRMD2cXrsoVKawE F+p3lxGlNOnigbpJ1qywORZhywXkIPbFOG2H4vHF3nU83DVXKsssgF0mJukKufe3CVGX9VKSyIFYA uCiFjILKUPVCuxqfO55i1fevQy7SeM7ZGsUncRj7q8qrgZTvlaWCghU85J+hHp+YptFFBKU/V+RA8 UMlCC9fWuhKXJlZRJ36DqvaiHRsHi0ok+UOSDfdolUrXJth8dEEylW2J1uNVI8ISa+n7Ktszp5K6E fQ7ooTLA==; 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 1f0DyD-0002HB-HH; Sun, 25 Mar 2018 22:18:33 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0Dpu-0000d4-EP for linux-arm-kernel@bombadil.infradead.org; Sun, 25 Mar 2018 22:09:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1tyFdWAOjRFI5d860lLYLKJK+O6d8U5ZlEDlmBngXJs=; b=q4Hh4rn8S8fvp/jsmI1mx1KQL 8juAzA/5v7o4Jv3OOM4qyOMmN72LNTA4NrXEyQnQjsYm66ENPvNnBg/xOf9gEfhftQQNb1U5+J3zU Zdus2ByzsdIymCtLd7CHO19yD0E7JAQSq1nd5XqKfGYatAcFIYBBb8D4WT3bqMGv95LfEvZcyR9JW TFLpv9qMaQnZP/fvVXMQHXB1dQhuNld2m7E6CMsIOx5rtGzuCZou1PiYKjlz+gzr8Jrw7I65We4aN EiAbndJancoeOovu6pIs8YTGqE1Axr9GEJrMP2PV6LKn66tkXzswFNDYkoZIFIom2PmREPQUUsIzM Hkh6fw8rg==; Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0A6v-0002qF-Uk for linux-arm-kernel@lists.infradead.org; Sun, 25 Mar 2018 18:11:20 +0000 Received: from trochilidae.lan (unknown [IPv6:2001:1620:c6e:0:814c:3584:bd88:6cb6]) by mail.kmu-office.ch (Postfix) with ESMTPSA id B60875C1FB8; Sun, 25 Mar 2018 20:09:36 +0200 (CEST) From: Stefan Agner To: linux@armlinux.org.uk, ard.biesheuvel@linaro.org, arnd@arndb.de Subject: [PATCH v2 4/6] ARM: drop no-thumb-interwork in EABI mode Date: Sun, 25 Mar 2018 20:09:57 +0200 Message-Id: <20180325180959.28008-5-stefan@agner.ch> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180325180959.28008-1-stefan@agner.ch> References: <20180325180959.28008-1-stefan@agner.ch> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1522001376; bh=1tyFdWAOjRFI5d860lLYLKJK+O6d8U5ZlEDlmBngXJs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=lq30MdcOKEg9UApHAXfM1cJeSVhXFDVUVc0m4pVcdqsJ6zPoJRItkMzf0qQp8J+YT/MuUxaO6XmFgLTux4xJxbEyt513rMVwLfqF/4RgLaEOQjmXH3O59VtX6dnf/Z/3CGhUDbSSZ2RIksZw/dFhpA1U/m0dmIUwOwwM9GGZSBU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180325_191118_032005_26E6F7DA X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. 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, robin.murphy@arm.com, 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