From 8c23566d94e63243ee259290926c6dd4073a3893 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 14 Sep 2025 01:06:51 +0200 Subject: 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. --- gcc/doc/tm.texi | 7 ++++--- gcc/target.def | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'gcc') diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 3764268..b80e684 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 8e491d8..d4fd3b4 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) -- cgit v1.1