summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-24 04:03:24 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-24 04:03:24 +0000
commitb994702ca5801fc60ad93cd3c64593ac7398e355 (patch)
tree3854e42d787736fbca81eb5a0ea06f548cf5a88d /sys-libs/glibc
parentclean up ebuild and inherit eutils/flag-o-matic (diff)
downloadgentoo-2-b994702ca5801fc60ad93cd3c64593ac7398e355.tar.gz
gentoo-2-b994702ca5801fc60ad93cd3c64593ac7398e355.tar.bz2
gentoo-2-b994702ca5801fc60ad93cd3c64593ac7398e355.zip
little patch to help out sh/arm
Diffstat (limited to 'sys-libs/glibc')
-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);