Message ID | 20180517174718.10107-29-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp260513lji; Thu, 17 May 2018 11:10:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrDpQEWO8Bh3gXsd/it24I5satK0DA+Y1AnnaFmbdifRG2hNXl7kNdgbSwhP59D7fh68xmo X-Received: by 2002:ae9:e009:: with SMTP id m9-v6mr140698qkk.43.1526580636015; Thu, 17 May 2018 11:10:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526580636; cv=none; d=google.com; s=arc-20160816; b=sQ6Mq4m7m/7AdzUmW1RHCpqHq03+aXr8xvnwEoljDvWbCsl/F03FTtzGCJacNpUE/3 uDoxJ2WKMgxP3b4fMRXLi37fbCSFo4yjVbMfizeBhZ3YEix8ugI7bbCO0Uq9T2CYFGOj t8+9Pgh25Imv4p8qh34Vg3VlinpobRFEs/8aVdUquhexe2t9PkRBYxe3uLbw78ohdqLK uRZO5PMkyvKW4eL0ztswVUGmhdLncDQWAXo4A2UZctI9qBrw518TCmr4lUcmkkXkLbus OZD264jPtbkR5vuEhTprMdjDfhUZ4PDRppabUzmQyNk/1D2CQHdPhkbi3bBCpwzHMSpN wGNg== 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=pdIc4bt8lfVhDYzgFFZfLYJFL76funjcLtghMEQkun0=; b=aB8C4gBmZBXsGoVkA56gk3+ioDoTnVbKX163a8IwhQ5Qf4nq9qTV4tryVSnQqxm//x GB5PEIfyrZPJLKNG5L7+rgQO9gd+WSnvV2s1DiNyrBrIHoZ/rOQBMw7dlwJt0k7s6zDn y6a7YfrbqAIPx0JDZVo0Aot2QHu513570FSBj93riyujL2kIRHP6ZYSX3e8QmENx5Tch PgKwlPIrB5T94/yKHDDNeS/ww/idCnfd448s33h8lHmr9c3maXRiPNddou5JkpVccga3 6pcc7Dx2KAiJuZBj4jCHPfofvUyHZvEeNNcTh4NcR1AcP6Xh6bPTqK1s+ODRIpbaKsJv hLrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=clTQnapD; 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 y9-v6si1171970qvj.136.2018.05.17.11.10.35 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 17 May 2018 11:10:36 -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=clTQnapD; 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]:38558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fJNMJ-0000oz-CE for patch@linaro.org; Thu, 17 May 2018 14:10:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fJN6G-00039c-8Q for qemu-devel@nongnu.org; Thu, 17 May 2018 13:54:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fJN6E-00075O-8Y for qemu-devel@nongnu.org; Thu, 17 May 2018 13:53:59 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:37934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fJN6E-00074i-2I for qemu-devel@nongnu.org; Thu, 17 May 2018 13:53:58 -0400 Received: by mail-wr0-x243.google.com with SMTP id 94-v6so6562936wrf.5 for <qemu-devel@nongnu.org>; Thu, 17 May 2018 10:53:57 -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=pdIc4bt8lfVhDYzgFFZfLYJFL76funjcLtghMEQkun0=; b=clTQnapDNAUNXB9aR+p52PIvLzYVb1KSpsiCgwZSgcAgPrKlTx6rzVRB35ZqCs1kaK 6chjtwobexWZu2w1EEObOsNtW9/Bv9fUahSGiBlgkmDBAXeOi3TWw0ZL47Gw7cPh4j7a L7TruUJ9y5UOTn5WNTy7YzB8v7mTS4rnEBA+E= 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=pdIc4bt8lfVhDYzgFFZfLYJFL76funjcLtghMEQkun0=; b=qEZN7m9vw7Lnovjcba2/JmixM3JEQa/MYKITE5fYeH0ih6dlqW5VwAerNfo8uF2q0a 9cLHUiIHOB6P2TOJPp/T9ac1YXJjsc8CHbfQ7I5eXy+yRItmwF2d5Tr4aZyG7SL0oorl 2kG0CgeRwNF2gJTJ0xGFv9+1RlFQPVWq/HUL8V9MvWm6C5cEtioeNPmtcDXo6nQ3lBUu 2xzpUQvZBdU+iU1CGQYP6gcur+WfmcePTThSXCoaT+adTwNMikeOIGOEdb4oU5tmjKTJ 012l82c4S3UmQEY3Mamqbt6o3wOKmGwOYfh7kkFvNRT6uM8v/HeFSYXlISlsta/xXvn5 IZhg== X-Gm-Message-State: ALKqPwf4FgqdH/kxIVjNA7ns3ISgiQT11K66HDfXX6fsVYFe5bVJMGVe RF0qNadiBKrLgTDqf1RbUgZrzQ== X-Received: by 2002:adf:83c6:: with SMTP id 64-v6mr5442316wre.270.1526579636900; Thu, 17 May 2018 10:53:56 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g192-v6sm7539421wmd.36.2018.05.17.10.53.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 10:53:52 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 0C9EF3E0ED1; Thu, 17 May 2018 18:47:21 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: 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: Thu, 17 May 2018 18:46:57 +0100 Message-Id: <20180517174718.10107-29-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180517174718.10107-1-alex.bennee@linaro.org> References: <20180517174718.10107-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::243 Subject: [Qemu-devel] [PATCH v4 28/49] tests/tcg/arm: fix up test-arm-iwmmxt test 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: Peter Maydell <peter.maydell@linaro.org>, "open list:ARM" <qemu-arm@nongnu.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org 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
|
On 05/17/2018 10:46 AM, Alex Bennée wrote: > We need to rename the source file to a .S so we can do a single-line > assemble and link invocation. We also specify the additional CFLAGS > for the compile as it's a non-standard ARM binary. > > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> > [rth: force fpu configuration] > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > > --- > v4 > - include rth's -mfpu=fpv4-sp-d16 > --- Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index bc6962ecc6..1ef5d79fe3 100644 --- a/tests/tcg/arm/Makefile.target +++ b/tests/tcg/arm/Makefile.target @@ -8,6 +8,11 @@ ARM_SRC=$(SRC_PATH)/tests/tcg/arm # Set search path for all sources VPATH += $(ARM_SRC) +TESTS += hello-arm test-arm-iwmmxt hello-arm: CFLAGS+=-marm -ffreestanding hello-arm: LDFLAGS+=-nostdlib + +test-arm-iwmmxt: CFLAGS+=-marm -march=iwmmxt -mabi=aapcs -mfpu=fpv4-sp-d16 +test-arm-iwmmxt: test-arm-iwmmxt.S + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) diff --git a/tests/tcg/arm/test-arm-iwmmxt.s b/tests/tcg/arm/test-arm-iwmmxt.S similarity index 100% rename from tests/tcg/arm/test-arm-iwmmxt.s rename to tests/tcg/arm/test-arm-iwmmxt.S