Changeset 27261


Ignore:
Timestamp:
2011-06-23T13:37:39+02:00 (7 years ago)
Author:
jow
Message:

[toolchain] introduce option to enable setjump()/longjump() based C++ exceptions (#9185, patch from David Kuehling via Qi hardware)

Location:
trunk/toolchain/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/gcc/Config.in

    r27118 r27261  
    6767            Enable Thread-local storage support 
    6868 
     69config SJLJ_EXCEPTIONS 
     70        bool 
     71        prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS 
     72        default n 
     73        help 
     74            Use old setjump()/longjump() exceptions instead of the newer 
     75            frame unwinding exceptions handling routines.  Warning: increases 
     76            code size and runtime memory usage. 
     77 
    6978config INSTALL_LIBSTDCPP 
    7079        bool 
  • trunk/toolchain/gcc/final/Makefile

    r22723 r27261  
    2121  GCC_CONFIGURE += \ 
    2222        --disable-tls 
     23endif 
     24 
     25ifneq ($(CONFIG_SJLJ_EXCEPTIONS),) 
     26  GCC_CONFIGURE += \ 
     27        --enable-sjlj-exceptions 
    2328endif 
    2429 
Note: See TracChangeset for help on using the changeset viewer.