From 3f2546b2ef55b661fd8dd69682b38992225e86f6 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Mon, 29 Apr 2019 01:17:54 +0100 Subject: Initial import of qemu-2.4.1 --- roms/u-boot/scripts/gcc-stack-usage.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 roms/u-boot/scripts/gcc-stack-usage.sh (limited to 'roms/u-boot/scripts/gcc-stack-usage.sh') diff --git a/roms/u-boot/scripts/gcc-stack-usage.sh b/roms/u-boot/scripts/gcc-stack-usage.sh new file mode 100644 index 00000000..27ac9289 --- /dev/null +++ b/roms/u-boot/scripts/gcc-stack-usage.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# Test for gcc '-fstack-usage' support +# Copyright (C) 2013, Masahiro Yamada +# +# SPDX-License-Identifier: GPL-2.0+ +# + +TMP="$$" + +cat </dev/null 2>&1 \ + && echo "y" +int main(void) +{ + return 0; +} +END + +rm -f $TMP $TMP.su -- cgit v1.2.3