X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Makefile;h=144d4f8b7eb3235c8c4c106a8a41693b33737da6;hb=fb5a6ec80367bcccb659a421850d757a5a81767a;hp=e4468353425a65f1c609c93b76007accf5e8e0aa;hpb=c4681547bcce777daf576925a966ffa824edd09d;p=linux-2.6-microblaze.git diff --git a/Makefile b/Makefile index e4468353425a..144d4f8b7eb3 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION = 5 PATCHLEVEL = 13 SUBLEVEL = 0 -EXTRAVERSION = -rc3 +EXTRAVERSION = -rc5 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