1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/gcc/4.2.0/290-sh-without-headers.patch Sun Oct 12 10:18:35 2008 +0000
1.3 @@ -0,0 +1,26 @@
1.4 +On 20081011, Khem RAJ writes:
1.5 + You have to bar gcc trying to build unwinding at stage 1. Try the
1.6 + attached patch and see if it helps.
1.7 +
1.8 + gcc/config/sh/linux-unwind.h | 3 +++
1.9 + 1 file changed, 3 insertions(+)
1.10 +
1.11 +Index: gcc-4_2-branch/gcc/config/sh/linux-unwind.h
1.12 +===================================================================
1.13 +--- gcc-4_2-branch.orig/gcc/config/sh/linux-unwind.h 2008-07-01 17:24:40.000000000 -0700
1.14 ++++ gcc-4_2-branch/gcc/config/sh/linux-unwind.h 2008-07-01 17:25:47.000000000 -0700
1.15 +@@ -26,6 +26,8 @@ along with this program; see the file CO
1.16 + the Free Software Foundation, 51 Franklin Street, Fifth Floor,
1.17 + Boston, MA 02110-1301, USA. */
1.18 +
1.19 ++#ifndef inhibit_libc
1.20 ++
1.21 + /* Do code reading to identify a signal frame, and set the frame
1.22 + state data appropriately. See unwind-dw2.c for the structs. */
1.23 +
1.24 +@@ -251,3 +253,4 @@ sh_fallback_frame_state (struct _Unwind_
1.25 + return _URC_NO_REASON;
1.26 + }
1.27 + #endif /* defined (__SH5__) */
1.28 ++#endif /* ifndef inhibit_libc */
1.29 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/patches/gcc/4.2.1/290-sh-without-headers.patch Sun Oct 12 10:18:35 2008 +0000
2.3 @@ -0,0 +1,26 @@
2.4 +On 20081011, Khem RAJ writes:
2.5 + You have to bar gcc trying to build unwinding at stage 1. Try the
2.6 + attached patch and see if it helps.
2.7 +
2.8 + gcc/config/sh/linux-unwind.h | 3 +++
2.9 + 1 file changed, 3 insertions(+)
2.10 +
2.11 +Index: gcc-4_2-branch/gcc/config/sh/linux-unwind.h
2.12 +===================================================================
2.13 +--- gcc-4_2-branch.orig/gcc/config/sh/linux-unwind.h 2008-07-01 17:24:40.000000000 -0700
2.14 ++++ gcc-4_2-branch/gcc/config/sh/linux-unwind.h 2008-07-01 17:25:47.000000000 -0700
2.15 +@@ -26,6 +26,8 @@ along with this program; see the file CO
2.16 + the Free Software Foundation, 51 Franklin Street, Fifth Floor,
2.17 + Boston, MA 02110-1301, USA. */
2.18 +
2.19 ++#ifndef inhibit_libc
2.20 ++
2.21 + /* Do code reading to identify a signal frame, and set the frame
2.22 + state data appropriately. See unwind-dw2.c for the structs. */
2.23 +
2.24 +@@ -251,3 +253,4 @@ sh_fallback_frame_state (struct _Unwind_
2.25 + return _URC_NO_REASON;
2.26 + }
2.27 + #endif /* defined (__SH5__) */
2.28 ++#endif /* ifndef inhibit_libc */
2.29 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/patches/gcc/4.2.2/290-sh-without-headers.patch Sun Oct 12 10:18:35 2008 +0000
3.3 @@ -0,0 +1,26 @@
3.4 +On 20081011, Khem RAJ writes:
3.5 + You have to bar gcc trying to build unwinding at stage 1. Try the
3.6 + attached patch and see if it helps.
3.7 +
3.8 + gcc/config/sh/linux-unwind.h | 3 +++
3.9 + 1 file changed, 3 insertions(+)
3.10 +
3.11 +Index: gcc-4_2-branch/gcc/config/sh/linux-unwind.h
3.12 +===================================================================
3.13 +--- gcc-4_2-branch.orig/gcc/config/sh/linux-unwind.h 2008-07-01 17:24:40.000000000 -0700
3.14 ++++ gcc-4_2-branch/gcc/config/sh/linux-unwind.h 2008-07-01 17:25:47.000000000 -0700
3.15 +@@ -26,6 +26,8 @@ along with this program; see the file CO
3.16 + the Free Software Foundation, 51 Franklin Street, Fifth Floor,
3.17 + Boston, MA 02110-1301, USA. */
3.18 +
3.19 ++#ifndef inhibit_libc
3.20 ++
3.21 + /* Do code reading to identify a signal frame, and set the frame
3.22 + state data appropriately. See unwind-dw2.c for the structs. */
3.23 +
3.24 +@@ -251,3 +253,4 @@ sh_fallback_frame_state (struct _Unwind_
3.25 + return _URC_NO_REASON;
3.26 + }
3.27 + #endif /* defined (__SH5__) */
3.28 ++#endif /* ifndef inhibit_libc */
3.29 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/patches/gcc/4.2.3/310-sh-without-headers.patch Sun Oct 12 10:18:35 2008 +0000
4.3 @@ -0,0 +1,26 @@
4.4 +On 20081011, Khem RAJ writes:
4.5 + You have to bar gcc trying to build unwinding at stage 1. Try the
4.6 + attached patch and see if it helps.
4.7 +
4.8 + gcc/config/sh/linux-unwind.h | 3 +++
4.9 + 1 file changed, 3 insertions(+)
4.10 +
4.11 +Index: gcc-4_2-branch/gcc/config/sh/linux-unwind.h
4.12 +===================================================================
4.13 +--- gcc-4_2-branch.orig/gcc/config/sh/linux-unwind.h 2008-07-01 17:24:40.000000000 -0700
4.14 ++++ gcc-4_2-branch/gcc/config/sh/linux-unwind.h 2008-07-01 17:25:47.000000000 -0700
4.15 +@@ -26,6 +26,8 @@ along with this program; see the file CO
4.16 + the Free Software Foundation, 51 Franklin Street, Fifth Floor,
4.17 + Boston, MA 02110-1301, USA. */
4.18 +
4.19 ++#ifndef inhibit_libc
4.20 ++
4.21 + /* Do code reading to identify a signal frame, and set the frame
4.22 + state data appropriately. See unwind-dw2.c for the structs. */
4.23 +
4.24 +@@ -251,3 +253,4 @@ sh_fallback_frame_state (struct _Unwind_
4.25 + return _URC_NO_REASON;
4.26 + }
4.27 + #endif /* defined (__SH5__) */
4.28 ++#endif /* ifndef inhibit_libc */
4.29 +
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/patches/gcc/4.2.4/310-sh-without-headers.patch Sun Oct 12 10:18:35 2008 +0000
5.3 @@ -0,0 +1,26 @@
5.4 +On 20081011, Khem RAJ writes:
5.5 + You have to bar gcc trying to build unwinding at stage 1. Try the
5.6 + attached patch and see if it helps.
5.7 +
5.8 + gcc/config/sh/linux-unwind.h | 3 +++
5.9 + 1 file changed, 3 insertions(+)
5.10 +
5.11 +Index: gcc-4_2-branch/gcc/config/sh/linux-unwind.h
5.12 +===================================================================
5.13 +--- gcc-4_2-branch.orig/gcc/config/sh/linux-unwind.h 2008-07-01 17:24:40.000000000 -0700
5.14 ++++ gcc-4_2-branch/gcc/config/sh/linux-unwind.h 2008-07-01 17:25:47.000000000 -0700
5.15 +@@ -26,6 +26,8 @@ along with this program; see the file CO
5.16 + the Free Software Foundation, 51 Franklin Street, Fifth Floor,
5.17 + Boston, MA 02110-1301, USA. */
5.18 +
5.19 ++#ifndef inhibit_libc
5.20 ++
5.21 + /* Do code reading to identify a signal frame, and set the frame
5.22 + state data appropriately. See unwind-dw2.c for the structs. */
5.23 +
5.24 +@@ -251,3 +253,4 @@ sh_fallback_frame_state (struct _Unwind_
5.25 + return _URC_NO_REASON;
5.26 + }
5.27 + #endif /* defined (__SH5__) */
5.28 ++#endif /* ifndef inhibit_libc */
5.29 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/patches/gcc/4.3.1/350-sh-without-headers.patch Sun Oct 12 10:18:35 2008 +0000
6.3 @@ -0,0 +1,26 @@
6.4 +On 20081011, Khem RAJ writes:
6.5 + You have to bar gcc trying to build unwinding at stage 1. Try the
6.6 + attached patch and see if it helps.
6.7 +
6.8 + gcc/config/sh/linux-unwind.h | 3 +++
6.9 + 1 file changed, 3 insertions(+)
6.10 +
6.11 +Index: gcc-4_2-branch/gcc/config/sh/linux-unwind.h
6.12 +===================================================================
6.13 +--- gcc-4_2-branch.orig/gcc/config/sh/linux-unwind.h 2008-07-01 17:24:40.000000000 -0700
6.14 ++++ gcc-4_2-branch/gcc/config/sh/linux-unwind.h 2008-07-01 17:25:47.000000000 -0700
6.15 +@@ -26,6 +26,8 @@ along with this program; see the file CO
6.16 + the Free Software Foundation, 51 Franklin Street, Fifth Floor,
6.17 + Boston, MA 02110-1301, USA. */
6.18 +
6.19 ++#ifndef inhibit_libc
6.20 ++
6.21 + /* Do code reading to identify a signal frame, and set the frame
6.22 + state data appropriately. See unwind-dw2.c for the structs. */
6.23 +
6.24 +@@ -251,3 +253,4 @@ sh_fallback_frame_state (struct _Unwind_
6.25 + return _URC_NO_REASON;
6.26 + }
6.27 + #endif /* defined (__SH5__) */
6.28 ++#endif /* ifndef inhibit_libc */
6.29 +
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/patches/gcc/4.3.2/350-sh-without-headers.patch Sun Oct 12 10:18:35 2008 +0000
7.3 @@ -0,0 +1,26 @@
7.4 +On 20081011, Khem RAJ writes:
7.5 + You have to bar gcc trying to build unwinding at stage 1. Try the
7.6 + attached patch and see if it helps.
7.7 +
7.8 + gcc/config/sh/linux-unwind.h | 3 +++
7.9 + 1 file changed, 3 insertions(+)
7.10 +
7.11 +Index: gcc-4_2-branch/gcc/config/sh/linux-unwind.h
7.12 +===================================================================
7.13 +--- gcc-4_2-branch.orig/gcc/config/sh/linux-unwind.h 2008-07-01 17:24:40.000000000 -0700
7.14 ++++ gcc-4_2-branch/gcc/config/sh/linux-unwind.h 2008-07-01 17:25:47.000000000 -0700
7.15 +@@ -26,6 +26,8 @@ along with this program; see the file CO
7.16 + the Free Software Foundation, 51 Franklin Street, Fifth Floor,
7.17 + Boston, MA 02110-1301, USA. */
7.18 +
7.19 ++#ifndef inhibit_libc
7.20 ++
7.21 + /* Do code reading to identify a signal frame, and set the frame
7.22 + state data appropriately. See unwind-dw2.c for the structs. */
7.23 +
7.24 +@@ -251,3 +253,4 @@ sh_fallback_frame_state (struct _Unwind_
7.25 + return _URC_NO_REASON;
7.26 + }
7.27 + #endif /* defined (__SH5__) */
7.28 ++#endif /* ifndef inhibit_libc */
7.29 +