Message ID | 20180424152405.10304-38-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="KpmvGzrf"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40Vp8M5npxz9s02 for <incoming@patchwork.ozlabs.org>; Wed, 25 Apr 2018 02:05:38 +1000 (AEST) Received: from localhost ([::1]:59337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fB0Rj-00067A-WF for incoming@patchwork.ozlabs.org; Tue, 24 Apr 2018 12:05:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fB068-0005DS-Br for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:43:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fB067-0000eg-L7 for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:43:16 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:37770) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fB067-0000dh-EQ for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:43:15 -0400 Received: by mail-wr0-x244.google.com with SMTP id c14-v6so10315751wrd.4 for <qemu-devel@nongnu.org>; Tue, 24 Apr 2018 08:43:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1heQrYdnxVPIkKHw1IORbYKNdqJxInChIPATN/MXcP0=; b=KpmvGzrfV95yNBQ8Dxfu7rVSGQNu6GoxyYgaqLK3SttUeGN9rsIwWKrZrkzYgHGlpq jPncmvQGfXo0HSrAWdhrYuORclTkJPOldoGqC12X4SuUZe8Pv/LXuTIfu5DASQHifj3u cbv9naGX/P719zUnG/gSGYBNXR2hZxErzSJgY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1heQrYdnxVPIkKHw1IORbYKNdqJxInChIPATN/MXcP0=; b=D3kt7XUBypuJtZTB12S9z9bsHCpcI4W9cWhDMdnBJ9S25lY7dS9XfZpYlOt+rIrjFI PGinTjv7PQR9Yh6USNfgZBv5L8LtccP/5+tAOwP5JimktTbSEHRDQHDnRkyeCUkxgNky EN5WNvSchXOxtIgZBaIKOxGyCmq6agRd3tlv4TCvNVr8jRzN55k8rqOFaxpZ/wvxO4Mj SNxs1P8c84/WErwNXsBgFqfTfrjvDMnLIw3A3GyLAqOR5gUpDCx0kY2MNsqiR9HMtfKr 6arOjw/2/Y/4Utj5m4/HJCqfTZC2vRj13fCuBsFC3OoOZvaSQFStiEHaqeIr8U9JMT15 XIYw== X-Gm-Message-State: ALQs6tALNTDISC6GIVysYwSlAWXFmG4WznsxBRy8z20LurAR/wvKTNqH +Fn83f/RyeZSOl7rwXhftSMQkQ== X-Google-Smtp-Source: AIpwx4/RUndtKzMhR/3S+Fbp5N+1j4Ts8nOoJcdqSIJ7hrmOCpOsHkX9HUf1Z/E1s8eULBdXUWzZhg== X-Received: by 2002:adf:c6c7:: with SMTP id c7-v6mr19941357wrh.104.1524584594360; Tue, 24 Apr 2018 08:43:14 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id m15-v6sm4346219wri.8.2018.04.24.08.43.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 08:43:10 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 530703E1551; Tue, 24 Apr 2018 16:24:08 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: peter.maydell@linaro.org, cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Tue, 24 Apr 2018 16:23:56 +0100 Message-Id: <20180424152405.10304-38-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180424152405.10304-1-alex.bennee@linaro.org> References: <20180424152405.10304-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 Subject: [Qemu-devel] [PATCH v3 37/46] tests/tcg/alpha: fix warnings about write() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org, Richard Henderson <rth@twiddle.net> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
fix building of tests/tcg
|
expand
|
diff --git a/tests/tcg/alpha/hello-alpha.c b/tests/tcg/alpha/hello-alpha.c index 79892e6522..f1207a2411 100644 --- a/tests/tcg/alpha/hello-alpha.c +++ b/tests/tcg/alpha/hello-alpha.c @@ -1,3 +1,5 @@ +void write(int, char*, int); + int main (void) { write (1, "hello\n", 6); diff --git a/tests/tcg/alpha/test-cond.c b/tests/tcg/alpha/test-cond.c index 74adffaa69..b5774e4d6d 100644 --- a/tests/tcg/alpha/test-cond.c +++ b/tests/tcg/alpha/test-cond.c @@ -1,3 +1,4 @@ +void write(int, char*, int); #ifdef TEST_CMOV diff --git a/tests/tcg/alpha/test-ovf.c b/tests/tcg/alpha/test-ovf.c index 01c80e7525..7ecf7e4bce 100644 --- a/tests/tcg/alpha/test-ovf.c +++ b/tests/tcg/alpha/test-ovf.c @@ -1,3 +1,5 @@ +void write(int, char*, int); + static long test_subqv (long a, long b) { long res;
Although we are not linking to libc we still need a function prototype for the write we have defined in crt.S. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- tests/tcg/alpha/hello-alpha.c | 2 ++ tests/tcg/alpha/test-cond.c | 1 + tests/tcg/alpha/test-ovf.c | 2 ++ 3 files changed, 5 insertions(+)