]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
target.def: Properly mark up __cxa_atexit as code
authorGerald Pfeifer <gerald@pfeifer.com>
Sat, 13 Sep 2025 23:06:51 +0000 (01:06 +0200)
committerGerald Pfeifer <gerald@pfeifer.com>
Sat, 13 Sep 2025 23:06:51 +0000 (01:06 +0200)
gcc:
* target.def (dtors_from_cxa_atexit): Properly mark up
__cxa_atexit as code.
* doc/tm.texi: Regenerate.

gcc/doc/tm.texi
gcc/target.def

index 37642680f4230e1d7ceb93d9c1557c1baa918101..b80e6846dd7c9be8166f231b326ec4c767624093 100644 (file)
@@ -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
 
index 8e491d83864291c6e941e392da9f255534d2e1ec..d4fd3b46a7d3890cf17767045389b9b65495c00d 100644 (file)
@@ -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)