From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41890847C for ; Thu, 12 Jan 2023 19:52:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23154C4339B; Thu, 12 Jan 2023 19:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673553140; bh=nY4bpK4Ck7cDPkgC/IhOZ5jeJAItWSvowi3Q3Mk3wv0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=NNyFLjafIIfmG/gmmbTNu/sXFUWW2nPT/KF0tXmUf8A3AsiLcW9+1yqBPEcgaq+8+ QqPdHymz+hxT3GCnsmAGQ2wGYfFuEhCtAAbUYsFAaedjYVEyC2meZKaCRvVgMNAuuw sxiKH80CbvDPN5B+1JsTtjuLcBtk4IdGgbCnYoP4KJYHClSkQ08AiXuJlBEu2xqFjd ClvLXMQV3SSS0JNCe0vzKYqeUzAblrYxUX7y6H0r/9C+ndpH0TLWId3blT+zVHIQa6 YlE8vMzX0HFOIdotQSTVLc2TylT321+OJfq1mzSXi2FdRupSHb0qUjE42aE7Tbao/5 KUJfanang4v3w== From: Mark Brown Date: Thu, 12 Jan 2023 19:51:48 +0000 Subject: [PATCH 2/6] kselftest/arm64: Remove redundant _start labels from FP tests Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230111-arm64-kselftest-clang-v1-2-89c69d377727@kernel.org> References: <20230111-arm64-kselftest-clang-v1-0-89c69d377727@kernel.org> In-Reply-To: <20230111-arm64-kselftest-clang-v1-0-89c69d377727@kernel.org> To: Catalin Marinas , Will Deacon , Shuah Khan , Nathan Chancellor , Nick Desaulniers , Tom Rix Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, llvm@lists.linux.dev, Mark Brown X-Mailer: b4 0.12-dev-8b3d1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2429; i=broonie@kernel.org; h=from:subject:message-id; bh=nY4bpK4Ck7cDPkgC/IhOZ5jeJAItWSvowi3Q3Mk3wv0=; b=owGbwMvMwMWocq27KDak/QLjabUkhuQDKS/Tgr6kfuizvHC94dEytQWuQkccqq0Mlh5nTwwU1HUL 2MfWyWjEwsDIxSArpsiy9lnGqvRwia3zH81/BTOIlQlkCgMXpwBM5CQ3+zelOVpO9stT91Zbx8uUHu y5stvlk278sn8i95caPpnuXjOtQJS3Umhrhqn8XqufdgGfO764Wyw6EH1bfOmlfjsVlTjp+4XJK7+o /z7az+JRaTeHITw+XjSY4+nJ6eqWB65tL2bdYF6f8i75oubCe/zV/S92WmqKbuzfIX6CoXYO08c9Ts VrTlxI9OL6zbyv+vrG3zmTC295SlsXVKs/ls4JmiPmnGoq+7pou9kOZU2V8rmOUfXddU7RnxgmHLII UrdxevtN/dj+kngPebn9upIr+fgZXZxKflvbXCzK6tpmau++f+GKvm1HPmQy25pLKx8qKj1WwOH24E f4N3FGR8G13Tf3mBUpXsj5yg8A X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB There are a number of freestanding static executables used in floating point testing that have no runtime at all. These all define the main entry point as: .globl _start function _start _start: but clang's integrated assembler complains that: error: symbol '_start' is already defined due to having both a label and function directive. Remove the label to allow building with clang. No functional change. Signed-off-by: Mark Brown --- tools/testing/selftests/arm64/fp/fp-pidbench.S | 1 - tools/testing/selftests/arm64/fp/fpsimd-test.S | 1 - tools/testing/selftests/arm64/fp/sve-test.S | 1 - tools/testing/selftests/arm64/fp/za-test.S | 1 - 4 files changed, 4 deletions(-) diff --git a/tools/testing/selftests/arm64/fp/fp-pidbench.S b/tools/testing/selftests/arm64/fp/fp-pidbench.S index 16a436389bfc..73830f6bc99b 100644 --- a/tools/testing/selftests/arm64/fp/fp-pidbench.S +++ b/tools/testing/selftests/arm64/fp/fp-pidbench.S @@ -31,7 +31,6 @@ // Main program entry point .globl _start function _start -_start: puts "Iterations per test: " mov x20, #10000 lsl x20, x20, #8 diff --git a/tools/testing/selftests/arm64/fp/fpsimd-test.S b/tools/testing/selftests/arm64/fp/fpsimd-test.S index 918d04885a33..8b960d01ed2e 100644 --- a/tools/testing/selftests/arm64/fp/fpsimd-test.S +++ b/tools/testing/selftests/arm64/fp/fpsimd-test.S @@ -215,7 +215,6 @@ endfunction // Main program entry point .globl _start function _start -_start: mov x23, #0 // signal count mov w0, #SIGINT diff --git a/tools/testing/selftests/arm64/fp/sve-test.S b/tools/testing/selftests/arm64/fp/sve-test.S index 2a18cb4c528c..4328895dfc87 100644 --- a/tools/testing/selftests/arm64/fp/sve-test.S +++ b/tools/testing/selftests/arm64/fp/sve-test.S @@ -378,7 +378,6 @@ endfunction // Main program entry point .globl _start function _start -_start: mov x23, #0 // Irritation signal count mov w0, #SIGINT diff --git a/tools/testing/selftests/arm64/fp/za-test.S b/tools/testing/selftests/arm64/fp/za-test.S index 53c54af65704..9dcd70911397 100644 --- a/tools/testing/selftests/arm64/fp/za-test.S +++ b/tools/testing/selftests/arm64/fp/za-test.S @@ -231,7 +231,6 @@ endfunction // Main program entry point .globl _start function _start -_start: mov x23, #0 // signal count mov w0, #SIGINT -- 2.30.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59108C54EBE for ; Thu, 12 Jan 2023 20:23:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VxGsvtcXArQyfbCve2awA6EgBJH3DnD2TOYVSjhT41I=; b=bRc/GpZT83Xzhk NMPteQ8bU/nU/F5Z9UTcsxdQSBDFbgu+suzp4KevDbt3XMtGo5DjbZjmKSxD/yohiN8HhvRorZRBk b/9m5++CWybU9+6QXd9jwU7y24jH3LjVDo0m87s7KviQfPA1ea3ZtEgFHyM5SkW57/kQBHCXf9w9Q 56CrDNiu6DaxBxrVva+ddFhcA8ydQRjzDEW3M36+SSmLCy546Gm09+tU4q0XtdnI70Ox3groVEztk V9hfwM9KJtOXxfCrexeDT+2fRT5/JT5Q6pfXyUJi66VCyaXCkhSotx+SsZWf5qtDPZOLT8jWJKXWe DoKQhkiKHVLDIpiUWcvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG45B-00GrcM-Sr; Thu, 12 Jan 2023 20:21:54 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG3ce-00Gelu-1A for linux-arm-kernel@lists.infradead.org; Thu, 12 Jan 2023 19:52:26 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5BF07B81FF6; Thu, 12 Jan 2023 19:52:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23154C4339B; Thu, 12 Jan 2023 19:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673553140; bh=nY4bpK4Ck7cDPkgC/IhOZ5jeJAItWSvowi3Q3Mk3wv0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=NNyFLjafIIfmG/gmmbTNu/sXFUWW2nPT/KF0tXmUf8A3AsiLcW9+1yqBPEcgaq+8+ QqPdHymz+hxT3GCnsmAGQ2wGYfFuEhCtAAbUYsFAaedjYVEyC2meZKaCRvVgMNAuuw sxiKH80CbvDPN5B+1JsTtjuLcBtk4IdGgbCnYoP4KJYHClSkQ08AiXuJlBEu2xqFjd ClvLXMQV3SSS0JNCe0vzKYqeUzAblrYxUX7y6H0r/9C+ndpH0TLWId3blT+zVHIQa6 YlE8vMzX0HFOIdotQSTVLc2TylT321+OJfq1mzSXi2FdRupSHb0qUjE42aE7Tbao/5 KUJfanang4v3w== From: Mark Brown Date: Thu, 12 Jan 2023 19:51:48 +0000 Subject: [PATCH 2/6] kselftest/arm64: Remove redundant _start labels from FP tests MIME-Version: 1.0 Message-Id: <20230111-arm64-kselftest-clang-v1-2-89c69d377727@kernel.org> References: <20230111-arm64-kselftest-clang-v1-0-89c69d377727@kernel.org> In-Reply-To: <20230111-arm64-kselftest-clang-v1-0-89c69d377727@kernel.org> To: Catalin Marinas , Will Deacon , Shuah Khan , Nathan Chancellor , Nick Desaulniers , Tom Rix Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, llvm@lists.linux.dev, Mark Brown X-Mailer: b4 0.12-dev-8b3d1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2429; i=broonie@kernel.org; h=from:subject:message-id; bh=nY4bpK4Ck7cDPkgC/IhOZ5jeJAItWSvowi3Q3Mk3wv0=; b=owGbwMvMwMWocq27KDak/QLjabUkhuQDKS/Tgr6kfuizvHC94dEytQWuQkccqq0Mlh5nTwwU1HUL 2MfWyWjEwsDIxSArpsiy9lnGqvRwia3zH81/BTOIlQlkCgMXpwBM5CQ3+zelOVpO9stT91Zbx8uUHu y5stvlk278sn8i95caPpnuXjOtQJS3Umhrhqn8XqufdgGfO764Wyw6EH1bfOmlfjsVlTjp+4XJK7+o /z7az+JRaTeHITw+XjSY4+nJ6eqWB65tL2bdYF6f8i75oubCe/zV/S92WmqKbuzfIX6CoXYO08c9Ts VrTlxI9OL6zbyv+vrG3zmTC295SlsXVKs/ls4JmiPmnGoq+7pou9kOZU2V8rmOUfXddU7RnxgmHLII UrdxevtN/dj+kngPebn9upIr+fgZXZxKflvbXCzK6tpmau++f+GKvm1HPmQy25pLKx8qKj1WwOH24E f4N3FGR8G13Tf3mBUpXsj5yg8A X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_115224_427034_BE3ECC4C X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There are a number of freestanding static executables used in floating point testing that have no runtime at all. These all define the main entry point as: .globl _start function _start _start: but clang's integrated assembler complains that: error: symbol '_start' is already defined due to having both a label and function directive. Remove the label to allow building with clang. No functional change. Signed-off-by: Mark Brown --- tools/testing/selftests/arm64/fp/fp-pidbench.S | 1 - tools/testing/selftests/arm64/fp/fpsimd-test.S | 1 - tools/testing/selftests/arm64/fp/sve-test.S | 1 - tools/testing/selftests/arm64/fp/za-test.S | 1 - 4 files changed, 4 deletions(-) diff --git a/tools/testing/selftests/arm64/fp/fp-pidbench.S b/tools/testing/selftests/arm64/fp/fp-pidbench.S index 16a436389bfc..73830f6bc99b 100644 --- a/tools/testing/selftests/arm64/fp/fp-pidbench.S +++ b/tools/testing/selftests/arm64/fp/fp-pidbench.S @@ -31,7 +31,6 @@ // Main program entry point .globl _start function _start -_start: puts "Iterations per test: " mov x20, #10000 lsl x20, x20, #8 diff --git a/tools/testing/selftests/arm64/fp/fpsimd-test.S b/tools/testing/selftests/arm64/fp/fpsimd-test.S index 918d04885a33..8b960d01ed2e 100644 --- a/tools/testing/selftests/arm64/fp/fpsimd-test.S +++ b/tools/testing/selftests/arm64/fp/fpsimd-test.S @@ -215,7 +215,6 @@ endfunction // Main program entry point .globl _start function _start -_start: mov x23, #0 // signal count mov w0, #SIGINT diff --git a/tools/testing/selftests/arm64/fp/sve-test.S b/tools/testing/selftests/arm64/fp/sve-test.S index 2a18cb4c528c..4328895dfc87 100644 --- a/tools/testing/selftests/arm64/fp/sve-test.S +++ b/tools/testing/selftests/arm64/fp/sve-test.S @@ -378,7 +378,6 @@ endfunction // Main program entry point .globl _start function _start -_start: mov x23, #0 // Irritation signal count mov w0, #SIGINT diff --git a/tools/testing/selftests/arm64/fp/za-test.S b/tools/testing/selftests/arm64/fp/za-test.S index 53c54af65704..9dcd70911397 100644 --- a/tools/testing/selftests/arm64/fp/za-test.S +++ b/tools/testing/selftests/arm64/fp/za-test.S @@ -231,7 +231,6 @@ endfunction // Main program entry point .globl _start function _start -_start: mov x23, #0 // signal count mov w0, #SIGINT -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel