From: Masahiro Yamada Date: Mon, 24 Feb 2014 09:45:24 +0900 Subject: [U-Boot] [U-Boot, v5] Makefile: add a new script to check -fstack-usage support In-Reply-To: <20140221151346.GA23127@bill-the-cat> References: <1386760294-8591-1-git-send-email-yamada.m@jp.panasonic.com> <20140221151346.GA23127@bill-the-cat> Message-ID: <20140224094524.1031.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Tom, > We still want this, and it's still applicable right? Yes, it's still applicable and I really want it on the code base. Without this patch, log message would be sprinked with warnings when using some cross tools. $ make CROSS_COMPILE=m68k-linux- M54418TWR_config all [ snip ] CC arch/m68k/lib/cache.o arch/m68k/lib/cache.c: In function 'flush_cache': arch/m68k/lib/cache.c:18:1: warning: -fstack-usage not supported for this target [enabled by default] CC arch/m68k/lib/interrupts.o arch/m68k/lib/interrupts.c: In function 'irq_install_handler': arch/m68k/lib/interrupts.c:56:1: warning: -fstack-usage not supported for this target [enabled by default] CC arch/m68k/lib/time.o arch/m68k/lib/time.c: In function 'dtimer_interrupt': arch/m68k/lib/time.c:76:1: warning: -fstack-usage not supported for this target [enabled by default] CC arch/m68k/lib/traps.o arch/m68k/lib/traps.c: In function 'exc_handler': arch/m68k/lib/traps.c:40:1: warning: -fstack-usage not supported for this target [enabled by default] LD arch/m68k/lib/built-in.o LD board/freescale/common/built-in.o CC board/freescale/m54418twr/m54418twr.o board/freescale/m54418twr/m54418twr.c: In function 'checkboard': board/freescale/m54418twr/m54418twr.c:26:1: warning: -fstack-usage not supported for this target [enabled by default] LD board/freescale/m54418twr/built-in.o CC common/main.o common/main.c: In function 'delete_char.part.1': common/main.c:1167:1: warning: -fstack-usage not supported for this target [enabled by default] CC common/command.o common/command.c: In function 'find_cmd_tbl': common/command.c:120:1: warning: -fstack-usage not supported for this target [enabled by default] Best Regards Masahiro Yamada