[coreboot] Patch set updated for coreboot: 23eb3fb add a return type to test function used by xcompile

Ronald G. Minnich (rminnich@gmail.com) gerrit at coreboot.org
Fri Dec 21 18:11:39 CET 2012

Ronald G. Minnich (rminnich at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2068


commit 23eb3fbf9afbc0471efd0e1615e570272b0db734
Author: David Hendricks <dhendrix at chromium.org>
Date:   Thu Dec 20 14:24:08 2012 -0800

    add a return type to test function used by xcompile
    This fixes a minor bug that could cause testcc to fail unexpectedly.
    Change-Id: Ib75d343104b6937682c05acf5232596aac83f105
    Signed-off-by: David Hendricks <dhendrix at chromium.org>
 util/xcompile/xcompile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index fdc5213..4239176 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -40,7 +40,7 @@ testcc() {
 	local tmp_c="$TMPFILE.c"
 	local tmp_o="$TMPFILE.o"
 	rm -f "$tmp_c" "$tmp_o"
-	echo "_start(void) {}" >"$tmp_c"
+	echo "void _start(void) {}" >"$tmp_c"
 	"$1" -nostdlib -Werror $2 "$tmp_c" -o "$tmp_o" >/dev/null 2>&1

More information about the coreboot mailing list