diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.3.3/sh_unwind.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.3.3/sh_unwind.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.3.3/sh_unwind.patch b/meta/recipes-devtools/gcc/gcc-4.3.3/sh_unwind.patch new file mode 100644 index 0000000000..94921636bc --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.3.3/sh_unwind.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Index: gcc-4.2.4/gcc/config/sh/linux-unwind.h | ||
2 | =================================================================== | ||
3 | --- gcc-4.2.4.orig/gcc/config/sh/linux-unwind.h 2008-10-04 00:05:29.434889757 +0200 | ||
4 | +++ gcc-4.2.4/gcc/config/sh/linux-unwind.h 2008-10-04 00:06:02.594883544 +0200 | ||
5 | @@ -26,6 +26,7 @@ | ||
6 | the Free Software Foundation, 51 Franklin Street, Fifth Floor, | ||
7 | Boston, MA 02110-1301, USA. */ | ||
8 | |||
9 | +#ifndef inhibit_libc | ||
10 | /* Do code reading to identify a signal frame, and set the frame | ||
11 | state data appropriately. See unwind-dw2.c for the structs. */ | ||
12 | |||
13 | @@ -251,3 +252,5 @@ | ||
14 | return _URC_NO_REASON; | ||
15 | } | ||
16 | #endif /* defined (__SH5__) */ | ||
17 | + | ||
18 | +#endif /* defined inhibit_libc */ | ||