On Mon, Jun 25, 2012 at 12:31 AM, DJ Delorie <d...@redhat.com> wrote:
>
>> 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.

Right. And rl78 does *not* define DONT_USE_BUILTIN_SETJMP.
In other words, your port *does* use the internal setjmp code right now.

If that doesn't work for EH, your port has a bug.

Ciao!
Steven

Reply via email to