PATCH: Factor __aeabi_atexit into its own object file

Paolo Carlini pcarlini@suse.de
Tue May 8 20:25:00 GMT 2007


Mark Mitchell wrote:

>Ah, I see.  If you compile C code with -fexceptions, GCC generates the
>same kind of EH information it would for C++.  You can't throw an
>exception from C code, but the compiler emits enough information to
>unwind the stack through the C code.  So, if your C++ application calls
>a C function that calls a C++ function, and that last function throws an
>exception, the right thing happens: your original function can catch it.
>  
>
Ah, ah... Nice.

>>Thanks a lot about the many additional details and explanations!
>>    
>>
>So, is the patch OK? :-)
>  
>
Yes, but don't get used to such easy acceptances :-)

Paolo.



More information about the Libstdc++ mailing list