Message ID | 20180424152405.10304-38-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2420244lji; Tue, 24 Apr 2018 09:07:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpYdg9mbkkIktrEFb7CAgA3nttrmb7d/d6I+LCn3xP26kLp3gf/8ZvmF4bxTwIW9FaVpytS X-Received: by 10.12.246.77 with SMTP id s13mr349267qvm.105.1524586066501; Tue, 24 Apr 2018 09:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524586066; cv=none; d=google.com; s=arc-20160816; b=OIH453og/4DB7ZBLPn5w/GzzQQyaMiukPraelB1jl3LJoYo2iHqifS06DimVXSC86z 03i8U4uJaKw2gNnUgMbsWy5oru7Hb3L+Xkiy5QCGjicpcY5B+94CPnqyQXcr9Optbeg+ 5+19rWXPaB912T7IorlSykv9wOnJA4j5LNSZRQRLZhnwJ49n1ztjIL+Dd+SGZkOkE1Ae GhxOZ4o0hdFeXX+eU0a9qwbtoWEzd7FqvjaT/6t7lemlPyauU6eGnpv+uE28wc53IJRq I/+HakFNujH+fJ8WJVdX/o5ZXevfxxSnlts/KNvAlh1lsZ+YpP+yS7Co93fxm4ugNoNP x8Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=1heQrYdnxVPIkKHw1IORbYKNdqJxInChIPATN/MXcP0=; b=xVBMjTkS/fezWRrfbD+eqmgcrUDq1NBKt70q/KYb0Hb9KOJfm4A9tk3HdK5PobLF5G gPcOVufiKskmPjjQ+12Hn5cxJ805tcFA/s2jDnMq2+CtVBMM+kiRpky/7o5qaahctXrb TpiNwHxEnKq/JXmbItUcpzn5117zVZ79ZXp1Jq5ZrWH7WO5Pwv2TXdEz6fz6CXaZU8qd /UMCzvt0OxhuIRCLm94Yj+c5Ir/qs4of4sOlLrcyZL/JWsv5pzmkIjF9Y/1HC6YSVzVy o6FGoVnu2OGn0Cq0yik6FbmsBgRsFNcpeVWSiqWJMtz6I64X32SBa89P7Zk0Wla20lZ8 Kp/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=KpmvGzrf; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id a7si644305qvf.94.2018.04.24.09.07.46 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Apr 2018 09:07:46 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=KpmvGzrf; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fB0Tq-0007KC-0V for patch@linaro.org; Tue, 24 Apr 2018 12:07:46 -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-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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.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(+) -- 2.17.0