mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/build: remove code effective only for GCC older than 4.0
@ 2018-07-09 12:07 Masahiro Yamada
  2018-07-15 23:35 ` [tip:x86/build] x86/build: Remove old -funit-at-a-time GCC quirk tip-bot for Masahiro Yamada
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2018-07-09 12:07 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, x86
  Cc: Masahiro Yamada, H. Peter Anvin, linux-kernel

Commit e501ce957a78 ("x86: Force asm-goto") bumped the minimum GCC
version to 4.5 for building the x86 kernel.

arch/x86/Makefile no longer needs to take care of older GCC versions.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/x86/Makefile | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index a08e828..7e3c07d 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -80,11 +80,6 @@ ifeq ($(CONFIG_X86_32),y)
         # alignment instructions.
         KBUILD_CFLAGS += $(call cc-option,$(cc_stack_align4))
 
-        # Disable unit-at-a-time mode on pre-gcc-4.0 compilers, it makes gcc use
-        # a lot more stack due to the lack of sharing of stacklots:
-        KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0400, \
-				$(call cc-option,-fno-unit-at-a-time))
-
         # CPU-specific tuning. Anything which can be shared with UML should go here.
         include arch/x86/Makefile_32.cpu
         KBUILD_CFLAGS += $(cflags-y)
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-15 23:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-09 12:07 [PATCH] x86/build: remove code effective only for GCC older than 4.0 Masahiro Yamada
2018-07-15 23:35 ` [tip:x86/build] x86/build: Remove old -funit-at-a-time GCC quirk tip-bot for Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome