summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-libs/glibc/files/glibc-framestate-USING_SJLJ_EXCEPTIONS.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-libs/glibc/files/glibc-framestate-USING_SJLJ_EXCEPTIONS.patch b/sys-libs/glibc/files/glibc-framestate-USING_SJLJ_EXCEPTIONS.patch
new file mode 100644
index 000000000000..0c42b15c1777
--- /dev/null
+++ b/sys-libs/glibc/files/glibc-framestate-USING_SJLJ_EXCEPTIONS.patch
@@ -0,0 +1,14 @@
+--- 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);