git: 65522b64ad7e - main - sys/cdefs.h: Remove old arm acle-compat.h workaround

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 24 Jun 2024 21:10:55 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=65522b64ad7e1a761e50a2304ce3d9fa1d222f2a

commit 65522b64ad7e1a761e50a2304ce3d9fa1d222f2a
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-06-24 19:05:07 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
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 <machine/acle-compat.h>
-#endif
-
 /*
  * Nullability qualifiers: currently only supported by Clang.
  */