aboutsummaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-12-17 07:39:13 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-12-17 07:39:13 +0000
commitfc69382254fcf45ced69a604adea5b6123c3c1c8 (patch)
treed54c407a6af521d26af28babaad7f943f2b5c8f1 /gcc/invoke.texi
parent5ac99d9adcd93a27006a6ac8d9b7006e65f7aaa8 (diff)
downloadgcc-fc69382254fcf45ced69a604adea5b6123c3c1c8.zip
gcc-fc69382254fcf45ced69a604adea5b6123c3c1c8.tar.gz
gcc-fc69382254fcf45ced69a604adea5b6123c3c1c8.tar.bz2
crtstuff.c (__dso_handle): Declare.
* crtstuff.c (__dso_handle): Declare. (__cxa_finalize): Likewise. (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is non-NULL. * invoke.texi: Document -fuse-cxa-atexit. * tree.h (ptr_type_node): Document. (const_ptr_type_node): Likewise. From-SVN: r30989
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 6f5185a..3fbcba6 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -109,7 +109,7 @@ in the following sections.
-fhonor-std -fhuge-objects -fno-implicit-templates -finit-priority
-fno-implement-inlines -fname-mangling-version-@var{n} -fno-default-inline
-foperator-names -fno-optional-diags -fpermissive -frepo -fstrict-prototype
--fsquangle -ftemplate-depth-@var{n} -fvtable-thunks
+-fsquangle -ftemplate-depth-@var{n} -fuse-cxa-atexit -fvtable-thunks
-nostdinc++ -Wctor-dtor-privacy -Wno-deprecated -Weffc++
-Wno-non-template-friend
-Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual
@@ -1217,6 +1217,13 @@ A limit on the template instantiation depth is needed to detect
endless recursions during template class instantiation. ANSI/ISO C++
conforming programs must not rely on a maximum depth greater than 17.
+@item -fuse-cxa-atexit
+Register destructors for objects with static storage duration with the
+@code{__cxa_atexit} function rather than the @code{atexit} function.
+This option is required for fully standards-compliant handling of static
+destructors, but will only work if your C library supports
+@code{__cxa_atexit}.
+
@item -fvtable-thunks
Use @samp{thunks} to implement the virtual function dispatch table
(@samp{vtable}). The traditional (cfront-style) approach to