summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.4.1/sh_unwind.patch
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-08-08 10:08:45 +0200
committerStefan Schmidt <stefan@datenfreihafen.org>2009-08-08 10:08:45 +0200
commitf77a615dee76f1c6d560b69ec8c1a245bd46f39c (patch)
tree8db0ff94871600fd03606f3cd41bd49a9b2d2bf8 /recipes/gcc/gcc-4.4.1/sh_unwind.patch
parent076d31f2981d51b093d86b0751121fe1e10669b1 (diff)
parenta702c1ad0559dd6712857e2e9a8ee82513814569 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/gcc/gcc-4.4.1/sh_unwind.patch')
-rw-r--r--recipes/gcc/gcc-4.4.1/sh_unwind.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-4.4.1/sh_unwind.patch b/recipes/gcc/gcc-4.4.1/sh_unwind.patch
new file mode 100644
index 0000000000..94921636bc
--- /dev/null
+++ b/recipes/gcc/gcc-4.4.1/sh_unwind.patch
@@ -0,0 +1,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 */