From nobody Thu Apr 6 16:05:58 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PsmZG3v4vz44WxQ; Thu, 6 Apr 2023 16:05:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsmZG33d0z3hww; Thu, 6 Apr 2023 16:05:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680797158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nyjFetYFvBPv1iRnRsQkSFOllExeWA1BpPQWRoQ33uo=; b=rL5AqAoS4Zt7LbQlVh4UzW2+6X1AbFqp71X0zxSOCKti95r1pkhHxhVQbbl+S3JT6gq8ti ZtM4YzNGJ/vjcS7xMX259Ka1ESvmBpBRgHq+kjVUO1omak1jV/7UaawQsedaOoF/gdofZ8 i3eDXyEu3JXhZvYzwsqogiUYqL8sP5pE1YnqjQ1J4j0Wn4cKQuLzGDVGfzK/9LJF+yPQ7Q EcqE5DZcrWBUITuCpBNNkUz8Auda+YGndyGwoSYA706Jdn6vs5nTkHFBK5mx+xt6ZDAHoV 5t0PmYSBszlefa1CMIfe5LgMrg6GyYjo5x30KsS/Qpr2EY1oVj+nb20OUsfg8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680797158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nyjFetYFvBPv1iRnRsQkSFOllExeWA1BpPQWRoQ33uo=; b=hQ1K7uo/W4yr4B0fa+m+qdDVbG8IG1kSPvjdYA8hej/7w951XkqsGby2nqN2NX4aApFt7G L0BTn26ROTXO/QnHBVZIBjfMFTHbLHcpd2nO0rFZS8TT/KOyx2NGHvSPMVF08Pun6N4TPr p403fwI05dcun0Z80Z345h37kUiDjfMc10TUgQpV0izG9oB9Kp+z3OmpQBCykaFJNSVctj 77V//O+q21FQftUUj0GNL2zHgx2R6LEKHuix8u+OfhSuZz0Iv8VQ1kbKKVQJln700XA22N zC9vyAorP7sGb8Nog3XrMmCgVZN9SpzeXcraY1yMXZKD5X0wW6I8L+/oPYpp1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680797158; a=rsa-sha256; cv=none; b=uMN4RNApzOHRAsw+U5gm3Un0yE7os7MGrFsEgS5ypEkqAVfpBv5M81/uDjsP1KFnpXLOYP hOszSYMU3bVcjwY+2TDaFT0o8nFNe7iCSZB/iopKpJggYwW86cnCPU720BXzPFHnCIkc50 ersoznIEae2amSL+//DB52M9Y+LYVbHgJTvH6UveMBF/xs74hfz6s+LUmaQmZxpVqnEyla GodF2qbXdDfcIrzVXDxxGT0xhUCzt4bYbJww5BSq7I7E+Q/vmEl/V/efgWJz8wuaKfngHD FcPGZPci/MLTapZTUbInSFgq04E0OL0eDTLu02ZBp4WED1I7itBN1lRiBeWJKQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PsmZG20wzz19C0; Thu, 6 Apr 2023 16:05:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 336G5wqx013810; Thu, 6 Apr 2023 16:05:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 336G5wEM013809; Thu, 6 Apr 2023 16:05:58 GMT (envelope-from git) Date: Thu, 6 Apr 2023 16:05:58 GMT Message-Id: <202304061605.336G5wEM013809@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 04b4655997d2 - main - Mark EENTRY as .text List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 04b4655997d2d10e3f3748f3a1a1d84c4ae95740 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=04b4655997d2d10e3f3748f3a1a1d84c4ae95740 commit 04b4655997d2d10e3f3748f3a1a1d84c4ae95740 Author: Andrew Turner AuthorDate: 2023-04-06 15:36:15 +0000 Commit: Andrew Turner CommitDate: 2023-04-06 15:50:54 +0000 Mark EENTRY as .text To allow it to be used before ENTRY we need to ensure the symbol is in the .text section. It also needs to be aligned correctly. While here mark the symbol type as a function as in the ENTRY macro. Reported by: jrtc27 Sponsored by: Arm Ltd --- sys/arm64/include/asm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/include/asm.h b/sys/arm64/include/asm.h index 32b79d256e80..b1d4ba50be9a 100644 --- a/sys/arm64/include/asm.h +++ b/sys/arm64/include/asm.h @@ -50,7 +50,7 @@ #define ENTRY(sym) \ .globl sym; LENTRY(sym) #define EENTRY(sym) \ - .globl sym; sym: + .globl sym; .text; .align 2; .type sym,#function; sym: #define LEND(sym) .ltorg; .cfi_endproc; .size sym, . - sym #define END(sym) LEND(sym) #define EEND(sym)