From nobody Mon Jun 24 21:10:55 2024 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 4W7LGl5vPKz5PfvL; Mon, 24 Jun 2024 21:10:55 +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 4W7LGl5S76z45J9; Mon, 24 Jun 2024 21:10:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719263455; 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=e2wcRPbQCyII53fHlwYgLPv7VlIWIgkA88knx6WeUh4=; b=IAIx0ChVrsDKZ5DbonM/r/3clg+KMCX4E1BY2G5an0NeNF/PZF1F6pJleqGKjhweQ5bYqn dbsotvJvaU7nsFk4p+fVt/8YDQswYQ2asNUO/T+ScSqkXmuBpqM8hetR+wB6T2Ktw9er8G UdNJIJ8+v+fCa6xqU+Bvzx2nMOqL7uPA5NWopJ6M8iNXYhDF3eJHvXMGhcexAlZWMT/dKe VleYvqvBhXXh8nP5kMgBGMWBuT/C/0d8hlV6ThN+zWiZMWYMNcEnsUqsoQgGrXmWoXV6fn v11KIykgTPKT2CH1w0MvQs3bktj135rxPmeaMaVPsf+IkoqTrTxlEs37DUFLmw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719263455; a=rsa-sha256; cv=none; b=qMAd50DkkOmzfYD07WoIHI1F56cLA6tdvqiMTsYm8GaaR7XJ3SzdVUrQZ6xk4R72dEYGRw KbwEhEyrti76W9fOo3vBkOvkjSddBXZtwBaD4XZD15uSYUz9uqGGNFXw89RqwKy+Gpz0jN 6MwhiWqHnROiizMaKm+kJ+TZEfUS4nmzH5O0DBZuCQcHE5j0H4+ep/c9vOhK828C89LINS 5K4UDDUBKWyjY3pZiwHeIqizeuFb5ZiJo8wDWnwnsoBSHX+rKeFPRnFIlVpfPZ8KaJc7BA tfN7owEK6AN0qpo4YyjBH8K0IsJ06zsBUo41aIuN/AhCdgI5lSf0MCvtqr8pJg== 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=1719263455; 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=e2wcRPbQCyII53fHlwYgLPv7VlIWIgkA88knx6WeUh4=; b=GkZqYgjjPWjhdjXIjKeQwmXdXkWpssyvB+stto2RuV/mWXoaRcxozPFBIaGy3mG0KdFu0b cXHCAH1eaoHykvbp8/BnwpNSn3VVPzDa5am0doNJFsCeKRjDtvUrMp58BFGwn1gkQ0pRV4 fUsw9DqgiahtLYtUd6kgs7PjUymk59xpctl0S+G2iXvwauwheZDfZ+0S7y2XniU+zOlofv Vzhu13TAW52T4gR+5O7bHwEmNNPgLxfJoE6sM5/kpoNOQ5dc4cKcer5rN+Zs+LgmHdkjtU du5JvVIRsMzsN2JLTGS6JZt3mR3ikvcShqbBIQh5OO5BZdZ6aCI4pJKRo9qwMA== 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 4W7LGl53cGzZSZ; Mon, 24 Jun 2024 21:10:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45OLAt7K045376; Mon, 24 Jun 2024 21:10:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45OLAtk3045373; Mon, 24 Jun 2024 21:10:55 GMT (envelope-from git) Date: Mon, 24 Jun 2024 21:10:55 GMT Message-Id: <202406242110.45OLAtk3045373@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: 65522b64ad7e - main - sys/cdefs.h: Remove old arm acle-compat.h workaround 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: 65522b64ad7e1a761e50a2304ce3d9fa1d222f2a Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=65522b64ad7e1a761e50a2304ce3d9fa1d222f2a commit 65522b64ad7e1a761e50a2304ce3d9fa1d222f2a Author: Warner Losh AuthorDate: 2024-06-24 19:05:07 +0000 Commit: Warner Losh CommitDate: 2024-06-24 21:11:05 +0000 sys/cdefs.h: Remove old arm acle-compat.h workaround The ACLE defines the modern ARM compiler symbols. ARM published acle-compat.h to ease the transition to the new standard. This standard is in all modern versions of gcc and clang, only gcc prior to 4.4 lacked them (though our 4.2.1 back-ported them, IIRC). Since this is no longer needed, remove the global inclusion in sys/ctypes.h. We should likely remove arm/include/acle-compat.h as well (it's unused now in the tree), but I'll make sure this change is the NOP I think it is before moving ahead there. I also recall at one time some out of tree code needing this file, though the need for it to make things right has long since past. Sponsored by: Netflix --- sys/sys/cdefs.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 6592bd2020ae..32050ef81848 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -617,14 +617,6 @@ #endif #endif /* __STDC_WANT_LIB_EXT1__ */ -/* - * Old versions of GCC use non-standard ARM arch symbols; acle-compat.h - * translates them to __ARM_ARCH and the modern feature symbols defined by ARM. - */ -#if defined(__arm__) && !defined(__ARM_ARCH) -#include -#endif - /* * Nullability qualifiers: currently only supported by Clang. */