diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-02-04 17:16:37 -0700 |
---|---|---|
committer | David Mosberger-Tang <davidm@koala.mostang.com> | 2008-02-04 17:16:37 -0700 |
commit | 3842dac7333e42aa44531eda34ba55200b99ccf8 (patch) | |
tree | 409f22e4ddf1c4711c106e88f529764420d7d89e /src/setjmp/longjmp.c | |
parent | 5ed2da2a403fe091d953183449003c9df861c289 (diff) | |
download | libunwind-3842dac7333e42aa44531eda34ba55200b99ccf8.tar.gz |
Add initial ARM and MIPS support. To support this, also enable the
reading of .debug_frame sections (used in lieu of .eh_frame sections
when they're not available).
Diffstat (limited to 'src/setjmp/longjmp.c')
-rw-r--r-- | src/setjmp/longjmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setjmp/longjmp.c b/src/setjmp/longjmp.c index ac31b5b2..ca5f1e42 100644 --- a/src/setjmp/longjmp.c +++ b/src/setjmp/longjmp.c @@ -63,7 +63,7 @@ _longjmp (jmp_buf env, int val) if (unw_set_reg (&c, UNW_REG_EH + 0, wp[JB_RP]) < 0 || unw_set_reg (&c, UNW_REG_EH + 1, val) < 0 || unw_set_reg (&c, UNW_REG_IP, - (unw_word_t) &_UI_longjmp_cont)) + (unw_word_t) (uintptr_t) &_UI_longjmp_cont)) abort (); unw_resume (&c); |