> The rl78 apparently doesn't know what it wants to do: > > /* NOTE: defined but zero means dwarf2 debugging, but sjlj EH. */ > #define DWARF2_UNWIND_INFO 0 > /*#define DONT_USE_BUILTIN_SETJMP 1*/ > #undef DONT_USE_BUILTIN_SETJMP > #define JMP_BUF_SIZE (8*3+8) > > But I'll leave that to an rl78 maintainer.
RL78 has a return address size different than pointer size, so the default GCC code won't work for EH. For similar reasons, GCC's internal setjmp won't work either.