diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/framestate.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/unwind-dw2.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/framestate.c b/sysdeps/generic/framestate.c index 20d9d4596e..a912a8c375 100644 --- a/sysdeps/generic/framestate.c +++ b/sysdeps/generic/framestate.c @@ -41,7 +41,11 @@ __frame_state_for (void *pc, struct frame_state *frame_state) if (handle == NULL || (frame_state_for = (framesf) __libc_dlsym (handle, "__frame_state_for")) == NULL) +#ifndef __USING_SJLJ_EXCEPTIONS__ frame_state_for = fallback_frame_state_for; +#else + frame_state_for = abort; +#endif } return frame_state_for (pc, frame_state); diff --git a/sysdeps/generic/unwind-dw2.c b/sysdeps/generic/unwind-dw2.c index 2e013cb2e1..a2d690cf76 100644 --- a/sysdeps/generic/unwind-dw2.c +++ b/sysdeps/generic/unwind-dw2.c @@ -39,7 +39,6 @@ #endif -#ifndef __USING_SJLJ_EXCEPTIONS__ #ifndef STACK_GROWS_DOWNWARD #define STACK_GROWS_DOWNWARD 0 @@ -1287,4 +1286,3 @@ uw_identify_context (struct _Unwind_Context *context) #include "unwind.inc" #endif /* _LIBC */ -#endif /* !USING_SJLJ_EXCEPTIONS */ |