aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/linux.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 45b9fa4..19ab2ed 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-24 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/mips/linux.h: Wrap MD_FALLBACK_FRAME_STATE_FOR and
+ associated includes in #ifndef inhibit_libc.
+
2003-10-24 Roger Sayle <roger@eyesopen.com>
* doc/libgcc.texi: Document some more of the libgcc API.
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index 1785a14..48c5e3c 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -193,6 +193,7 @@ Boston, MA 02111-1307, USA. */
%{!shared: %{pthread:-lpthread} \
%{profile:-lc_p} %{!profile: -lc}}"
+#ifndef inhibit_libc
/* Do code reading to identify a signal frame, and set the frame
state data appropriately. See unwind-dw2.c for the structs. */
#ifdef IN_LIBGCC2
@@ -262,3 +263,4 @@ typedef struct _sig_ucontext {
\
goto SUCCESS; \
} while (0)
+#endif