about summary refs log tree commit diff
path: root/sysdeps/generic/framestate.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-21 09:08:04 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-21 09:08:04 +0000
commitd7cc1c9fe36a1c29ddeda94042ffc2477afdc31d (patch)
tree189e233fafa7d0bfe1e8e5acba8d1a5d15709767 /sysdeps/generic/framestate.c
parent97f94fff438576a6ece7c116d46325fdce4c25db (diff)
downloadglibc-d7cc1c9fe36a1c29ddeda94042ffc2477afdc31d.tar.gz
glibc-d7cc1c9fe36a1c29ddeda94042ffc2477afdc31d.tar.xz
glibc-d7cc1c9fe36a1c29ddeda94042ffc2477afdc31d.zip
Update.
2004-02-19  Carlos O'Donell  <carlos@baldric.uwo.ca>

	* sysdeps/generic/framestate.c [__USING_SJLJ_EXCEPTIONS__]
	(__frame_state_for): Set frame_State_for to abort if the compiler
	is using sjlj.
	* sysdeps/generic/unwind-dw2.c: Allow sjlj enabled compilers to
	build the code by removing __USING_SJLJ_EXCEPTIONS__ wrapper.
Diffstat (limited to 'sysdeps/generic/framestate.c')
-rw-r--r--sysdeps/generic/framestate.c4
1 files changed, 4 insertions, 0 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);