From patchwork Thu Apr 19 13:58:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 133798 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp706496ljf; Thu, 19 Apr 2018 07:31:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqekH4be6wEaYGzM4FepJEum2QzvyJl1r5NPvCt275GFM3zo48xhN1KVrq3BzxP02i2APp0 X-Received: by 10.55.25.196 with SMTP id 65mr5958007qkz.64.1524148281430; Thu, 19 Apr 2018 07:31:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524148281; cv=none; d=google.com; s=arc-20160816; b=UQEfv8REqodulBrDl5BJcn90toZu2tTnZ2w96yKLPVJVoiDCLuU6OKzxt+cGMxl9Nn yxBSpKMiYi1D4VsUGbZwVa/ZBQ4HBqOG9DBBNSzSvMGzSxC8/UHrvnMmlrPRdrSpjMcI z9ngk0jrSZMUtw5S7Zv4FLX3gx+RfWiIMFTcjDj3k+7EtfL0NGqXfgEAFA+2ffG3APh7 bWNLx1uRBRRcKCvWDi/dt5opuOWoyqt1CBQ8fs6hkMbzQyQlDgucOGGee07BCx6DiyyC XulKIpSRpRNZ8mVxgUYSqYjbNPFAa5DTzn52ISiuQGWbGszJTgqGf4VtpZ3RqjKzdFp4 Md9Q== 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=pj18XZhZR/Qc6G0FNDx9yQSp1u3QyGzeTNKFrokJOwc=; b=kHuagCIXzyY8ipqmZRQkT6Ya9IcrmxW2mgZaehx+81gCUnIf4qL+RpgTxBaNqAbSZ6 EeBAGcNTyQg61h+SyF+fTIX9Fakadt1Z6sJncrGXdjForvWTZGu0Z1JZS1KNaDVrYyo+ vFbKCJx16URMVJ/cyqTnn6hoio8L6Hj8P9ckDuEzgb34ihwrSfBMML54kk/IjuXBrkaw XGZS+H0DjwlEZGDymWTqd0E4i7O3BYNVHpws3G6eZq3djGYQzYdUEuVlWt0J3f5Vo/2b Y1pmP7OKx7KP/rnehMYCdZtdgz68DutdzsuW46SMRhNXJXzbHPbao5/LEW2AZzbERqUk n2KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=E4K6K9QG; 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: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id n123si4612405qkd.201.2018.04.19.07.31.21 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 19 Apr 2018 07:31:21 -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=E4K6K9QG; 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]:50856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9Aam-0002tB-JS for patch@linaro.org; Thu, 19 Apr 2018 10:31:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9ANQ-0004go-F6 for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9ANP-00065m-LJ for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:32 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:43970) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9ANP-00065P-F9 for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:31 -0400 Received: by mail-wr0-x244.google.com with SMTP id u4-v6so14504772wrg.10 for ; Thu, 19 Apr 2018 07:17:31 -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=pj18XZhZR/Qc6G0FNDx9yQSp1u3QyGzeTNKFrokJOwc=; b=E4K6K9QG5CcWiAmTzWjZ8xAPDGCzRpErQdWRTkZl/kEW3VThCHpKz9j0rUwHshveFR C+WwYmlPphqJ//x9OHUQzDxOvctsqO2sbe/0ehU9F8B/Envd7ftZOqrAX0FO1YjUDczW 0z7mx9uvw8vqiZToXjr2Ex5Zq39ij+1ywIfJs= 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=pj18XZhZR/Qc6G0FNDx9yQSp1u3QyGzeTNKFrokJOwc=; b=pbP2m3k8o7u3n3bUChxA9C/K3XoYNt5DFsTipYs6kNwHGh3nQ3DHsTIHtyu9HnRZwL IO9jynr+krPcEeOTnLZ9jQVZoE7p2Da/h1Zk3yfCGLCyxnJ55X8QP1jXPpzFaA0dzpBr d5Dthth5YjiaGvEhfcTotSa76kz4NbyWA0zjExTCEbZw6MPnUmCwaPYD9+cHedA2HT7W +fqnl8g2yVgOAUUSYlwQq3pViBC9BThK94W7MDye/uKaC4q++F448EPfEqPjqcmG0xT+ K7iSPRtKkXp4WhxrlsZ4IezLjKLACWgu9G4cOBP5aAiw29YTY3wNhMqlaKj3ng7xaz76 6Otw== X-Gm-Message-State: ALQs6tC1heD6T/5WMWoia8XP8Lm7THq0jjB51n2rg31zIBnx6V6Ez+EF 0ah49tfF8QipzBN8HT4jh/hk8A== X-Received: by 10.28.114.9 with SMTP id n9mr4477686wmc.147.1524147450336; Thu, 19 Apr 2018 07:17:30 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o12-v6sm1662633wri.78.2018.04.19.07.17.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 07:17:25 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 781853E055F; Thu, 19 Apr 2018 14:59:03 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= 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: Thu, 19 Apr 2018 14:58:44 +0100 Message-Id: <20180419135901.30035-27-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180419135901.30035-1-alex.bennee@linaro.org> References: <20180419135901.30035-1-alex.bennee@linaro.org> MIME-Version: 1.0 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 v2 26/43] 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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 --- tests/tcg/arm/Makefile.target | 5 +++++ tests/tcg/arm/{test-arm-iwmmxt.s => test-arm-iwmmxt.S} | 0 2 files changed, 5 insertions(+) rename tests/tcg/arm/{test-arm-iwmmxt.s => test-arm-iwmmxt.S} (100%) -- 2.17.0 diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index bc6962ecc6..be9d3fb4a1 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 +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