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