From: Gerald Pfeifer Date: Sat, 13 Sep 2025 23:06:51 +0000 (+0200) Subject: target.def: Properly mark up __cxa_atexit as code X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c23566d94e63243ee259290926c6dd4073a3893;p=thirdparty%2Fgcc.git 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 --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 37642680f42..b80e6846dd7 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 8e491d83864..d4fd3b46a7d 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)