aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-11-03 23:52:01 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2009-11-03 23:52:01 +0100
commit13f6812ffb5b8ad8c343d49e0be7e5ae0d31dc8e (patch)
treee57278e0d283a1c6dd1d6e2623c531d84d12bb0e /sysdeps/generic/framestate.c
parentRestore locking in free_check. (diff)
downloadglibc-13f6812ffb5b8ad8c343d49e0be7e5ae0d31dc8e.tar.gz
glibc-13f6812ffb5b8ad8c343d49e0be7e5ae0d31dc8e.tar.bz2
glibc-13f6812ffb5b8ad8c343d49e0be7e5ae0d31dc8e.zip
Make name of libgcc_s library configurable
Diffstat (limited to 'sysdeps/generic/framestate.c')
-rw-r--r--sysdeps/generic/framestate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/framestate.c b/sysdeps/generic/framestate.c
index a912a8c375..80375bba98 100644
--- a/sysdeps/generic/framestate.c
+++ b/sysdeps/generic/framestate.c
@@ -24,6 +24,7 @@
#define __frame_state_for fallback_frame_state_for
#include <unwind-dw2.c>
#undef __frame_state_for
+#include <libgcc_s.h>
typedef struct frame_state * (*framesf)(void *pc, struct frame_state *);
struct frame_state *__frame_state_for (void *pc,
@@ -36,7 +37,7 @@ __frame_state_for (void *pc, struct frame_state *frame_state)
if (frame_state_for == NULL)
{
- void *handle = __libc_dlopen ("libgcc_s.so.1");
+ void *handle = __libc_dlopen (LIBGCC_S_SO);
if (handle == NULL
|| (frame_state_for