Remove checks for __GNUCLIKE___SECTION assuming it is always true.

All supported compilers (modern versions of GCC and clang) support
this.

PR:		263102 (exp-run)
Reviewed by:	brooks, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D34799
This commit is contained in:
John Baldwin 2022-04-12 10:05:55 -07:00
parent 5ab33279ad
commit 9f92ef766a

View File

@ -58,7 +58,6 @@
/*
* Private macros, not to be used outside this header file.
*/
#ifdef __GNUCLIKE___SECTION
/*
* The userspace address sanitizer inserts redzones around global variables,
@ -78,9 +77,6 @@
__set_##set##_sym_##sym __section("set_" #set) \
__used = &(sym)
#define __MAKE_SET(set, sym) __MAKE_SET_QV(set, sym, __MAKE_SET_CONST)
#else /* !__GNUCLIKE___SECTION */
#error this file needs to be ported to your compiler
#endif /* __GNUCLIKE___SECTION */
/*
* Public macros.