From nobody Sun Jul 14 06:00:19 2024 X-Original-To: dev-commits-src-main@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 4WMF6q5lmdz5QJHs; Sun, 14 Jul 2024 06:00:19 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WMF6q4pwXz4Cqk; Sun, 14 Jul 2024 06:00:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720936819; 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=RV9QWuiNYVnPX5mh++OHNKkv1OMPVmWPmw2mxS1LlJw=; b=bWkk/4mGIOEgzQuZyxZBfWRb6E24H83nDjT1RuqVuE+DPfz31A3wYFeEj5/3Wn1leiIE1z XByyCF96xInxuAjt2ZLb5MK4/UX9QhHJ4TD/mop5HbOj3xLOSzKWJ8F9pJThzADMuQCunN wN2R/TeTe0cVeZDs7EIrNqVuoZkDHdOJRVMIeBJGHRcTGapkHcrlZ/lLwUJKlfELHG/iMG gnwrdqiePGtBfbGapoDom31XCr4b89eTGlkvpP+yRy9rW1yj+wAyxdU+ymJ6ELcMC6jTud aiTgRA+c8uIKB/jXKwUhDSR7UQe0As85OldGgug2S5UxOGbtUdn3Kd0TgMO/Aw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720936819; a=rsa-sha256; cv=none; b=I3ZjRLKGJ35PGB0wgL7U6Knq3LOqFDNrzig24Jzo/TBpV9elEbcfUytYE0hhqjGuU8yszg 04I3hqI4ztz01cD1y51BxwZj2CIHQmkkwsNKZ3OIvOCN3PZBY3Cu05FAbYJsI3TsYPqhZw fZUzEt6Kdz1O86PWhGQ5HlaVsDi2uvizwtykOXdq3EKAOYxr9zMiujGwDmUN9jrxahxuPW /dU4bVmKxKcnpLTOUGWYm5znlhr9fwRLbU2LrApzuwrR4Iij1fGx16CX2szaiyg5Pq6vui vno7fpRkCTMybxG/zfcmdKnrLyUAiqzFexqlgBSEKey5wg5QNFtjpGAvu6UwRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720936819; 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=RV9QWuiNYVnPX5mh++OHNKkv1OMPVmWPmw2mxS1LlJw=; b=PuV+MHxyJ8V/SuOAu2V8p+aDVGZO/NcUrDEwYKX/6q6MzlrkH87uhephvLw0kCxNKDq2yW +twmvydcKhvIhhy6QU0zSEPls/Xn+MaDAz49jqYnhHwZ6fSYo3BVeNDHUKVCFswros77cj YrIYjLe4d4CMPEUkZpK+tK/j40/K3xp0u4X6V65dZ31x401Rwhwhe7cqgzYVs/LnsHsxRv 2aIYu9jgDxmW6c3XY4HqxXnOj3pcT3B/ljeNTiec4GcdyC2K62M+EnFdOoLVEbiHCsjl5c D/cP3gpgkop4cnmEVzkSWnJ8dy474fwWwnMn1FSfqZgQQ9/qZeAv5bDo6dhNqw== 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 4WMF6q4NhCzxv6; Sun, 14 Jul 2024 06:00:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46E60JEE047513; Sun, 14 Jul 2024 06:00:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46E60JKl047510; Sun, 14 Jul 2024 06:00:19 GMT (envelope-from git) Date: Sun, 14 Jul 2024 06:00:19 GMT Message-Id: <202407140600.46E60JKl047510@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 60f098f84119 - main - arch: Update to remove armv6 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 60f098f841198d06a3b10d66c99c4778f2167fbb Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=60f098f841198d06a3b10d66c99c4778f2167fbb commit 60f098f841198d06a3b10d66c99c4778f2167fbb Author: Warner Losh AuthorDate: 2024-07-14 05:47:20 +0000 Commit: Warner Losh CommitDate: 2024-07-14 05:59:31 +0000 arch: Update to remove armv6 There were two stray places where armv6 remained that shouldn't be there. Remove them. Replace one with aarch64 and update MACHINE_ARCH description of amd64 while I'm here. Eliminate a near-by contraction igor noted. Sponsored by: Netflix --- share/man/man7/arch.7 | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/share/man/man7/arch.7 b/share/man/man7/arch.7 index 88228b807e6a..21d2b156af87 100644 --- a/share/man/man7/arch.7 +++ b/share/man/man7/arch.7 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd June 19, 2024 +.Dd July 13, 2024 .Dt ARCH 7 .Os .Sh NAME @@ -161,12 +161,11 @@ Examples are: .Pp .Dv aarch64 will support execution of -.Dv armv6 -or .Dv armv7 binaries if the CPU implements .Dv AArch32 -execution state, however older arm binaries aren't supported. +execution state, however older arm binaries are not supported by +.Fx . .Pp On all supported architectures: .Bl -column -offset -indent "long long" "Size" @@ -374,15 +373,19 @@ It, along with defines the ABI used by the system. Generally, the plain CPU name specifies the most common (or at least first) variant of the CPU. -This is why powerpc and powerpc64 imply 'big endian' while 'armv6' and 'armv7' +This is why powerpc and powerpc64 imply 'big endian' while armv7 and aarch64 imply little endian. If we ever were to support the so-called x32 ABI (using 32-bit pointers on the amd64 architecture), it would most likely be encoded as amd64-x32. -It is unfortunate that amd64 specifies the 64-bit evolution of the x86 -platform (it matches the 'first rule') as everybody else uses x86_64. -There is no standard name for the processor: each OS selects its own -conventions. +It is unfortunate that amd64 specifies the 64-bit evolution of the x86 platform +(it matches the 'first rule') as almost everybody else uses x86_64. +The +.Fx +port was so early, it predated processor name standardization after Intel joined +the market. +At the time, each OS selected its own conventions. +Backwards compatibility means it is not easy to change to the consensus name. .It Dv MACHINE_CPUARCH Represents the source location for a given .Dv MACHINE_ARCH .