diff options
| author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-10 17:09:05 +0000 |
|---|---|---|
| committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-10 17:09:05 +0000 |
| commit | 7d4097fadd8f7ea3e54ecb05f52b9f3979b59b44 (patch) | |
| tree | 4014e4b127618ea02b52db0a49f9de44edf021f5 | |
| parent | bb9099b3d65759c9fb58560c28b4020e2df71595 (diff) | |
| download | ppe42-gcc-7d4097fadd8f7ea3e54ecb05f52b9f3979b59b44.tar.gz ppe42-gcc-7d4097fadd8f7ea3e54ecb05f52b9f3979b59b44.zip | |
* libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
(__cxa_bad_typeid): Likewise.
(__cxa_atexit): Likewise.
(__cxa_finalize): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60001 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 1396496d5eb..8355247096d 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 babb97f4aab..adb1a00d307 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" |

