diff options
author | Naveen N Rao <naveen@kernel.org> | 2024-01-10 15:12:37 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-05-07 15:48:45 +0200 |
commit | c330b50d8cae1a7b1fed7622eedacaf652396bb7 (patch) | |
tree | e879740424fc91ffaa8e61152237cf210d26f4ce /arch/powerpc/xmon | |
parent | powerpc/pseries/pci: Code cleanup (diff) | |
download | linux-c330b50d8cae1a7b1fed7622eedacaf652396bb7.tar.xz linux-c330b50d8cae1a7b1fed7622eedacaf652396bb7.zip |
powerpc/Makefile: Remove bits related to the previous use of -mcmodel=large
All supported compilers today (gcc v5.1+ and clang v11+) have support for
-mcmodel=medium. As such, NO_MINIMAL_TOC is no longer being set. Remove
NO_MINIMAL_TOC as well as the fallback to -mminimal-toc.
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Naveen N Rao <naveen@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240110141237.3179199-1-naveen@kernel.org
Diffstat (limited to 'arch/powerpc/xmon')
-rw-r--r-- | arch/powerpc/xmon/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/xmon/Makefile b/arch/powerpc/xmon/Makefile index 682c7c0a6f77..d778011060a8 100644 --- a/arch/powerpc/xmon/Makefile +++ b/arch/powerpc/xmon/Makefile @@ -10,8 +10,6 @@ KCSAN_SANITIZE := n # Disable ftrace for the entire directory ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE) -ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) - # Clang stores addresses on the stack causing the frame size to blow # out. See https://github.com/ClangBuiltLinux/linux/issues/252 ccflags-$(CONFIG_CC_IS_CLANG) += -Wframe-larger-than=4096 |