This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __throw and __sjthrow



> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]