summaryrefslogtreecommitdiff
blob: ad4c128209da048b249e4c3e401fa6267eaa70ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- gcc/config/sh/linux.h.orig	2004-12-08 23:59:43.001668912 -0500
+++ gcc/config/sh/linux.h	2004-12-09 00:00:22.244703064 -0500
@@ -154,6 +154,7 @@
 /* Do code reading to identify a signal frame, and set the frame
    state data appropriately.  See unwind-dw2.c for the structs.  */
 
+#ifndef inhibit_libc
 #ifdef IN_LIBGCC2
 #include <signal.h>
 #include <sys/ucontext.h>
@@ -304,6 +305,7 @@
 
 #endif /* defined (__SH5__) */
 #endif /* IN_LIBGCC2 */
+#endif /* inhibit libc */
 
 /* For SH3 and SH4, we use a slot of the unwind frame which correspond
    to a fake register number 16 as a placeholder for the return address