https://gcc.gnu.org/g:8c23566d94e63243ee259290926c6dd4073a3893
commit r16-3843-g8c23566d94e63243ee259290926c6dd4073a3893 Author: Gerald Pfeifer <[email protected]> Date: Sun Sep 14 01:06:51 2025 +0200 target.def: Properly mark up __cxa_atexit as code gcc: * target.def (dtors_from_cxa_atexit): Properly mark up __cxa_atexit as code. * doc/tm.texi: Regenerate. Diff: --- gcc/doc/tm.texi | 7 ++++--- gcc/target.def | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 37642680f423..b80e6846dd7c 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -9579,9 +9579,10 @@ It is false if we must use @command{collect2}. @deftypevr {Target Hook} bool TARGET_DTORS_FROM_CXA_ATEXIT This value is true if the target wants destructors to be queued to be -run from __cxa_atexit. If this is the case then, for each priority level, -a new constructor will be entered that registers the destructors for that -level with __cxa_atexit (and there will be no destructors emitted). +run from @code{__cxa_atexit}. If this is the case then, for each +priority level, a new constructor will be entered that registers the +destructors for that level with @code{__cxa_atexit} (and there will be +no destructors emitted). It is false the method implied by @code{have_ctors_dtors} is used. @end deftypevr diff --git a/gcc/target.def b/gcc/target.def index 8e491d838642..d4fd3b46a7d3 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -7238,9 +7238,10 @@ It is false if we must use @command{collect2}.", DEFHOOKPOD (dtors_from_cxa_atexit, "This value is true if the target wants destructors to be queued to be\n\ -run from __cxa_atexit. If this is the case then, for each priority level,\n\ -a new constructor will be entered that registers the destructors for that\n\ -level with __cxa_atexit (and there will be no destructors emitted).\n\ +run from @code{__cxa_atexit}. If this is the case then, for each\n\ +priority level, a new constructor will be entered that registers the\n\ +destructors for that level with @code{__cxa_atexit} (and there will be\n\ +no destructors emitted).\n\ It is false the method implied by @code{have_ctors_dtors} is used.", bool, false)
