summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.3.3/sh_unwind.patch
blob: 94921636bcd981d582f71767b73c009a85a29e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: gcc-4.2.4/gcc/config/sh/linux-unwind.h
===================================================================
--- gcc-4.2.4.orig/gcc/config/sh/linux-unwind.h	2008-10-04 00:05:29.434889757 +0200
+++ gcc-4.2.4/gcc/config/sh/linux-unwind.h	2008-10-04 00:06:02.594883544 +0200
@@ -26,6 +26,7 @@
 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
 Boston, MA 02110-1301, USA.  */
 
+#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.  */
 
@@ -251,3 +252,5 @@
   return _URC_NO_REASON;
 }
 #endif /* defined (__SH5__) */
+
+#endif /* defined inhibit_libc */