diff options
author | Mark Mitchell <mark@codesourcery.com> | 2002-12-10 17:09:05 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2002-12-10 17:09:05 +0000 |
commit | 68e25f880621dd6f500bbd8ba2f9698593b51bcf (patch) | |
tree | 4014e4b127618ea02b52db0a49f9de44edf021f5 | |
parent | 3e25353ee782062cd488c4dc0382096e2276c17a (diff) | |
download | gcc-68e25f880621dd6f500bbd8ba2f9698593b51bcf.zip gcc-68e25f880621dd6f500bbd8ba2f9698593b51bcf.tar.gz gcc-68e25f880621dd6f500bbd8ba2f9698593b51bcf.tar.bz2 |
cxxabi.h (__cxa_bad_cast): Declare it.
* libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
(__cxa_bad_typeid): Likewise.
(__cxa_atexit): Likewise.
(__cxa_finalize): Likewise.
From-SVN: r60001
-rw-r--r-- | libstdc++-v3/ChangeLog | 7 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/cxxabi.h | 16 |
2 files changed, 23 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1396496..8355247 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2002-12-10 Mark Mitchell <mark@codesourcery.com> + + * libsupc++/cxxabi.h (__cxa_bad_cast): Declare it. + (__cxa_bad_typeid): Likewise. + (__cxa_atexit): Likewise. + (__cxa_finalize): Likewise. + 2002-12-09 Gabriel Dos Reis <gdr@integrable-solutions.net> * include/bits/slice_array.h (slice_array<>::operator=): Fix typo. diff --git a/libstdc++-v3/libsupc++/cxxabi.h b/libstdc++-v3/libsupc++/cxxabi.h index babb97f..adb1a00 100644 --- a/libstdc++-v3/libsupc++/cxxabi.h +++ b/libstdc++-v3/libsupc++/cxxabi.h @@ -520,6 +520,22 @@ void __cxa_guard_abort (__guard *); extern "C" void __cxa_pure_virtual (void); +/* exception handling */ + +extern "C" void +__cxa_bad_cast (); + +extern "C" void +__cxa_bad_typeid (); + +/* DSO destruction */ + +extern "C" int +__cxa_atexit (void (*)(void *), void *, void *); + +extern "C" int +__cxa_finalize (void *); + /* demangling routines */ extern "C" |