Skip to content

Commit df4c68c

Browse files
nickdesaulniersintel-lab-lkp
authored andcommitted
Revert "powerpc/xmon: Relax frame size for clang"
This reverts commit 9c87156. I have not been able to reproduce the reported -Wframe-larger-than= warning (or disassembly) with clang-11 or clang-18. I don't know precisely when this was fixed in llvm, but it may be time to revert this. Closes: ClangBuiltLinux#252 Signed-off-by: Nick Desaulniers <[email protected]>
1 parent 1693185 commit df4c68c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/powerpc/xmon/Makefile

-6
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ KCSAN_SANITIZE := n
1010
# Disable ftrace for the entire directory
1111
ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)
1212

13-
ifdef CONFIG_CC_IS_CLANG
14-
# clang stores addresses on the stack causing the frame size to blow
15-
# out. See https://github.com/ClangBuiltLinux/linux/issues/252
16-
KBUILD_CFLAGS += -Wframe-larger-than=4096
17-
endif
18-
1913
ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
2014

2115
obj-y += xmon.o nonstdio.o spr_access.o xmon_bpts.o

0 commit comments

Comments
 (0)