X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Makefile;h=b79e0e8acbe3385028eda1781c528d7f666c3131;hb=730f055666a30b8224d639110eb9b25eaa87883a;hp=0ed7e061c8e9eb8ded46538de1fbcb161f6785ca;hpb=8ac91e6c6033ebc12c5c1e4aa171b81a662bd70f;p=linux-2.6-microblaze.git diff --git a/Makefile b/Makefile index 0ed7e061c8e9..b79e0e8acbe3 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION = 5 PATCHLEVEL = 13 SUBLEVEL = 0 -EXTRAVERSION = -rc2 +EXTRAVERSION = -rc4 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