This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __throw and __sjthrow
- To: egcs at cygnus dot com
- Subject: Re: __throw and __sjthrow
- From: Bruno Haible <haible at ilog dot fr>
- Date: Fri, 6 Mar 1998 00:51:14 +0100 (MET)
- Cc: mrs at wrs dot com
> > When I run nm on an executable compiled with egcs-1.0.1, I notice
> > both __throw and __sjthrow.
>
> The idea is that you can default to -no-sjlj-exceptions, and compile
> with -fsjlj-exceptions if you need them.
Both exception support routines are currently put into the same .o
inside libgcc.a. Wouldn't it be possible to emit three .o's, one for
the common code, one for __sjthrow and one for __throw? This way,
only one of the two would find its way into an executable.
Bruno