--- gcc-4.4.7.orig/gcc/config/sh/linux-unwind.h	2010-10-13 10:29:19.000000000 -0400
+++ gcc-4.4.7/gcc/config/sh/linux-unwind.h	2010-10-14 00:01:26.000000000 -0400
@@ -23,6 +23,7 @@
 <http://www.gnu.org/licenses/>.  */
 
 
+#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.  */
 
@@ -248,3 +249,5 @@
   return _URC_NO_REASON;
 }
 #endif /* defined (__SH5__) */
+
+#endif
