X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Makefile;h=ed669b2d705dc7b8c59065acb28c64cebdc84450;hb=706998e70104d93d7e137b92ff0c216aee66c0dd;hp=e4468353425a65f1c609c93b76007accf5e8e0aa;hpb=3c856a3180daf38d33166c0c98da921841588019;p=linux-2.6-microblaze.git diff --git a/Makefile b/Makefile index e4468353425a..ed669b2d705d 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION = 5 PATCHLEVEL = 13 SUBLEVEL = 0 -EXTRAVERSION = -rc3 +EXTRAVERSION = -rc6 NAME = Frozen Wasteland # *DOCUMENTATION* @@ -928,6 +928,11 @@ CC_FLAGS_LTO += -fvisibility=hidden # Limit inlining across translation units to reduce binary size KBUILD_LDFLAGS += -mllvm -import-instr-limit=5 + +# Check for frame size exceeding threshold during prolog/epilog insertion. +ifneq ($(CONFIG_FRAME_WARN),0) +KBUILD_LDFLAGS += -plugin-opt=-warn-stack-size=$(CONFIG_FRAME_WARN) +endif endif ifdef CONFIG_LTO