Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2023 05:25:13 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d2ec42ca5751 - main - cdefs: Remove __GNUCLIKE_CTOR_SECTION_HANDLING, it's unused
Message-ID:  <202311270525.3AR5PDp3067084@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit d2ec42ca575132e5af70d8991c64157a291982e9
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-11-20 22:40:55 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-11-27 05:24:02 +0000

    cdefs: Remove __GNUCLIKE_CTOR_SECTION_HANDLING, it's unused
    
    __GNUCLIKE_CTOR_SECTION_HANDLING is unused, remove it. Also remove it
    from the generated cryptodevh.py script.
    
    PR: 275221 (exp-run)
    Sponsored by:           Netflix
---
 sys/sys/cdefs.h                    | 2 --
 tests/sys/opencrypto/cryptodevh.py | 1 -
 2 files changed, 3 deletions(-)

diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 10eb0d6ede5f..2d29466b91e3 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -74,8 +74,6 @@
 
 #if defined(__GNUC__)
 
-#define	__GNUCLIKE_CTOR_SECTION_HANDLING 1
-
 #define	__GNUCLIKE_BUILTIN_CONSTANT_P 1
 
 #if (__GNUC_MINOR__ > 95 || __GNUC__ >= 3)
diff --git a/tests/sys/opencrypto/cryptodevh.py b/tests/sys/opencrypto/cryptodevh.py
index 8f8b384305ce..1169980b1ebc 100644
--- a/tests/sys/opencrypto/cryptodevh.py
+++ b/tests/sys/opencrypto/cryptodevh.py
@@ -23,7 +23,6 @@ def __has_include(x): return 0
 
 def __has_builtin(x): return 0
 
-__GNUCLIKE_CTOR_SECTION_HANDLING = 1
 __GNUCLIKE_BUILTIN_CONSTANT_P = 1
 __GNUCLIKE_BUILTIN_VARARGS = 1
 __GNUCLIKE_BUILTIN_STDARG = 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311270525.3AR5PDp3067084>