aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2025-09-14 01:06:51 +0200
committerGerald Pfeifer <gerald@pfeifer.com>2025-09-14 01:06:51 +0200
commit8c23566d94e63243ee259290926c6dd4073a3893 (patch)
tree855b176fbe089894cc1c7dfe76646bc39b63dce7
parent349affa42c9fa47a12eb7f5f97f5650a77bbf014 (diff)
downloadgcc-8c23566d94e63243ee259290926c6dd4073a3893.zip
gcc-8c23566d94e63243ee259290926c6dd4073a3893.tar.gz
gcc-8c23566d94e63243ee259290926c6dd4073a3893.tar.bz2
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.
-rw-r--r--gcc/doc/tm.texi7
-rw-r--r--gcc/target.def7
2 files changed, 8 insertions, 6 deletions
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)