diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-05 11:25:21 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-05 11:25:21 +1100 |
commit | 4a13d92b88c0b58f6e209114ec3acbbabe0bb352 (patch) | |
tree | d8420e53b2bb2cc704899c02d168bb86ba3afc8c /Makefile.main | |
parent | 1c72cd1a0ca1b0de32c16f11517193ac582fab98 (diff) | |
download | skiboot-4a13d92b88c0b58f6e209114ec3acbbabe0bb352.zip skiboot-4a13d92b88c0b58f6e209114ec3acbbabe0bb352.tar.gz skiboot-4a13d92b88c0b58f6e209114ec3acbbabe0bb352.tar.bz2 |
Reduce -Wstack-usage down to 1024 bytes.
We now warn on any function or stack frame that's going to use
more than 1024 bytes of stack.
The current biggest user with 912 bytes is p7ioc_init_ci_routing()
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r-- | Makefile.main | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.main b/Makefile.main index 75ff7d1..e6ff0a6 100644 --- a/Makefile.main +++ b/Makefile.main @@ -23,8 +23,8 @@ CWARNS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -Winit-self \ -Wsuggest-attribute=const \ -Wsuggest-attribute=noreturn \ - -Wframe-larger-than=2048 \ - -Wstack-usage=4096 + -Wframe-larger-than=1024 \ + -Wstack-usage=1024 # Host tools and options HOSTCC=gcc |