[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <a5a1563967a9d9ff30b39559cdf9dfb997970401.1552863571.git.stefan@agner.ch>
Date: Mon, 18 Mar 2019 00:05:27 +0100
From: Stefan Agner <stefan@...er.ch>
To: linux@...linux.org.uk
Cc: robin.murphy@....com, will.deacon@....com, ndesaulniers@...gle.com,
natechancellor@...il.com, arnd@...db.de, ard.biesheuvel@...aro.org,
nicolas.pitre@...aro.org, thierry.reding@...il.com,
julien.thierry@....com, mark.rutland@....com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Stefan Agner <stefan@...er.ch>
Subject: [PATCH v2 2/2] ARM: drop -mauto-it
The assembler option -mauto-it is no longer a valid option. The last
remaining references have been removed from the documentation in
July 2009 [0].
The currently supported binutils version is 2.20 (released in
September 2009) or higher where gas supports -mimplicit-it=always.
Drop the fallback to -mauto-it and use -mimplicit-it=always only.
[0] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=529707530657a333a304c651c808ea630c955223
Signed-off-by: Stefan Agner <stefan@...er.ch>
Reviewed-by: Nick Desaulniers <ndesaulniers@...gle.com>
---
Changes in v2:
- Drop $(comma) since we are no longer use the call to as-option.
arch/arm/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index df3ad82d312c..eb9d38e77cf0 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -113,8 +113,7 @@ CFLAGS_ABI +=-funwind-tables
endif
ifeq ($(CONFIG_THUMB2_KERNEL),y)
-AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mauto-it)
-CFLAGS_ISA :=-mthumb $(AFLAGS_AUTOIT)
+CFLAGS_ISA :=-mthumb -Wa,-mimplicit-it=always
AFLAGS_ISA :=$(CFLAGS_ISA) -Wa$(comma)-mthumb
# Work around buggy relocation from gas if requested:
ifeq ($(CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11),y)
--
2.21.0
Powered by blists - more mailing lists