Skip to content

Commit 8c23566

Browse files
committed
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.
1 parent 349affa commit 8c23566

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

gcc/doc/tm.texi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9579,9 +9579,10 @@ It is false if we must use @command{collect2}.
95799579

95809580
@deftypevr {Target Hook} bool TARGET_DTORS_FROM_CXA_ATEXIT
95819581
This value is true if the target wants destructors to be queued to be
9582-
run from __cxa_atexit. If this is the case then, for each priority level,
9583-
a new constructor will be entered that registers the destructors for that
9584-
level with __cxa_atexit (and there will be no destructors emitted).
9582+
run from @code{__cxa_atexit}. If this is the case then, for each
9583+
priority level, a new constructor will be entered that registers the
9584+
destructors for that level with @code{__cxa_atexit} (and there will be
9585+
no destructors emitted).
95859586
It is false the method implied by @code{have_ctors_dtors} is used.
95869587
@end deftypevr
95879588

gcc/target.def

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,9 +7238,10 @@ It is false if we must use @command{collect2}.",
72387238
DEFHOOKPOD
72397239
(dtors_from_cxa_atexit,
72407240
"This value is true if the target wants destructors to be queued to be\n\
7241-
run from __cxa_atexit. If this is the case then, for each priority level,\n\
7242-
a new constructor will be entered that registers the destructors for that\n\
7243-
level with __cxa_atexit (and there will be no destructors emitted).\n\
7241+
run from @code{__cxa_atexit}. If this is the case then, for each\n\
7242+
priority level, a new constructor will be entered that registers the\n\
7243+
destructors for that level with @code{__cxa_atexit} (and there will be\n\
7244+
no destructors emitted).\n\
72447245
It is false the method implied by @code{have_ctors_dtors} is used.",
72457246
bool, false)
72467247

0 commit comments

Comments
 (0)