Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1079368imj; Sat, 9 Feb 2019 15:10:36 -0800 (PST) X-Google-Smtp-Source: AHgI3IZGmvWlO+C8YgqNiXg5/kIf1lQiilC8RugcJfAS4bVsqIrMyjxX5enqssgxYlIbCIdA3LIl X-Received: by 2002:aa7:810c:: with SMTP id b12mr29555868pfi.44.1549753836684; Sat, 09 Feb 2019 15:10:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549753836; cv=none; d=google.com; s=arc-20160816; b=gPJr9kb+UQRXzv/lhaMYhSHBq+o+LEjC87JbYX0f2HquEY7LMARUT3uV2BZy2M1TXy bp1YZXQTJow6AvJsVNg5H+VfT0hvJUWhMXmNFoqWS4Imbn+xWc9nS1nyk9dWKDoArfIv cPLkrq7v2Rw05InhPBeY1kgAcYe2aiN7GfVf2D5uYZiwSi2rnPnYdyD6tpbdOO9qGgp+ FZzADxSAAp5ZYBJadRrIqLhF7u+nAlDMJ/bOzlvI/dXruG7fsgjbOOfgd7YGm+BZAuVP qLnNne/9SYzoL/zJZhb053EN6jUgQG+BHDDIA7R+gt/zuHIdbeeX8eBHH8t5aFVz0zpY q4oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FFtE+gRkZtvx68ySZweGqYQu/rBZmd2tjzup4595PT8=; b=CsGfmwUybciGcBjJ/d1mmriFo8wAeVuySlApdzO/uLvie1kKOwHi2IR4vQTd+xZLD8 WjsRKHJmvYPlSeCDx2D2nUd0C1ncvevvlj2aSV3tce9ra8Whiz8pD/7mAxlzYG44Xbs/ wSRjM/RXNJc++ZIY0icyj0c4DH0A3LqI+/KWmBjFe8Dh9jvZh/clRJtw74Ye0NuFadif AXJg6s8SBQHqDlnnwxIhKsuiU9m0IDEyaogfsPTj0nU76pHGHO2/CbrKMLrO+GNMsQwX Z457PHGC/Mj3Zw9XhWYnL3po/cQmSuBY6kHQm/ZOM68gmn1KSFQZ5VbFQ4gBwQB4KZkV J6XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=lv1kpYAJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1si5739289pgq.144.2019.02.09.15.10.21; Sat, 09 Feb 2019 15:10:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=lv1kpYAJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727284AbfBIXJh (ORCPT + 99 others); Sat, 9 Feb 2019 18:09:37 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:59170 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727012AbfBIXJS (ORCPT ); Sat, 9 Feb 2019 18:09:18 -0500 Received: from zyt.lan (unknown [IPv6:2a02:169:34b6::564]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 012F25C25FE; Sun, 10 Feb 2019 00:09:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1549753755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FFtE+gRkZtvx68ySZweGqYQu/rBZmd2tjzup4595PT8=; b=lv1kpYAJX86BygrxJmMEncfIpq3Qqjx6g9O3bugjm/PM7lhVg8GUG+q2Zn7CKZEquKt3Yn 6r+cRGHQN1Ld+cwL6CC943waQ3FB5xjMQAbUlAowlDX7oZD55TxMaOQNgzF3vJCT4zF2my OisCScj9f4LkGyPBxsP1rMM8LxK4yhc= From: Stefan Agner To: linux@armlinux.org.uk Cc: ndesaulniers@google.com, natechancellor@gmail.com, arnd@arndb.de, ard.biesheuvel@linaro.org, nicolas.pitre@linaro.org, thierry.reding@gmail.com, will.deacon@arm.com, julien.thierry@arm.com, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Agner Subject: [PATCH v2 5/5] ARM: warn if divided syntax assembler is used Date: Sun, 10 Feb 2019 00:09:02 +0100 Message-Id: <668a4c10c2731ddb572e8ddd3f0816904436d7ae.1549753425.git.stefan@agner.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the -mno-warn-deprecated assembler flag to make sure the GNU assembler warns in case non-unified syntax is used. Signed-off-by: Stefan Agner --- Changes in v2: - Remove AFLAGS_NOWARN from CFLAGS_ISA arch/arm/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index a0d08a3c9d33..9561325c5201 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -112,19 +112,16 @@ ifeq ($(CONFIG_ARM_UNWIND),y) CFLAGS_ABI +=-funwind-tables endif -# Accept old syntax despite ".syntax unified" -AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W) - ifeq ($(CONFIG_THUMB2_KERNEL),y) AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mauto-it) -CFLAGS_ISA :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN) +CFLAGS_ISA :=-mthumb $(AFLAGS_AUTOIT) AFLAGS_ISA :=$(CFLAGS_ISA) -Wa$(comma)-mthumb # Work around buggy relocation from gas if requested: ifeq ($(CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11),y) KBUILD_CFLAGS_MODULE +=-fno-optimize-sibling-calls endif else -CFLAGS_ISA :=$(call cc-option,-marm,) $(AFLAGS_NOWARN) +CFLAGS_ISA :=$(call cc-option,-marm,) AFLAGS_ISA :=$(CFLAGS_ISA) endif -- 2.20.1