Mail Archives: djgpp/1998/05/14/13:01:47
Nate Eldredge wrote in message
<19980511035425 DOT AAP4598 AT ppp107 DOT cartsys DOT com>...
>>>AFAIK, the standard `-fexceptions' switch handles exceptions through a
>>>table
Yep.
>As I understand it, 2.8.1 just enables `-fsjlj-exceptions' by default, to
>save you the trouble. Unless something I haven't heard about has happened,
>nothing has actually changed.
I doubt this. I only have the diffs from 2.8.1 but there is a new startup
file crtf.o as well as a linker script
change to make symbol EH_FRAME_START which is what is needed to initialize
the exception tables. Robert H did the work on this.
In general -
-fexceptions causes exe bloat, but has small runtime overhead
-fsjlj-exceptions doesn't add much to exe but has performance penalty.
I have read reports that say sjlj is faster then table driver on some
architectures though . ??
Andy
- Raw text -