Add a new config knob for gcc: usage of SJLJ to handle exceptions.
This is needed for some architectures to compile the Java frontend (eg. ARM with uClibc).
/trunk/config/cc/gcc.in | 41 39 2 0 +++++++++++++++++++++++++++++++++++++++--
/trunk/scripts/build/cc_gcc.sh | 8 5 3 0 +++++---
2 files changed, 44 insertions(+), 5 deletions(-)
1 --- glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h.orig 2008-06-19 15:31:45.000000000 +0300
2 +++ glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2008-06-19 15:36:10.000000000 +0300
4 bne a3, SYSCALL_ERROR_LABEL; \
8 __LABEL($pseudo_cancel) \
10 cfi_def_cfa_offset(64); \
12 cfi_def_cfa_offset(0); \
13 __LABEL($syscall_error) \
14 SYSCALL_ERROR_HANDLER; \
19 # define PSEUDO_END(sym) \
25 # define SAVE_ARGS_0 /* Nothing. */