linamh/sys-libs/glibc/files/2.3.2/glibc-2.3.2-framestate-USING_SJLJ_EXCEPTIONS.patch
2009-09-12 08:46:08 +00:00

15 lines
440 B
Diff

--- sysdeps/generic/framestate.c.orig Fri Apr 23 23:59:52 2004
+++ sysdeps/generic/framestate.c Sat Apr 24 00:00:13 2004
@@ -42,7 +42,11 @@
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);