summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.3.2/sh_unwind.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-10-04 16:12:10 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-10-04 16:12:10 +0000
commit3d5789b99ac2339ea96cb3d993c55c9f1a71eddf (patch)
tree4e3f62a57f0274d9e08d32da564348af8b5f5a02 /packages/gcc/gcc-4.3.2/sh_unwind.patch
parent60d8c0365c0446c93ec050e662f26bcb62cb3254 (diff)
parent0efef5b382ddc44841ec101eae4f5c2bd2257a0f (diff)
merge of '878f6895b40f34c695cfef0d475e299f1a2d8eda'
and 'a6240987d2107aef28e1c5419eb7da825ff812f5'
Diffstat (limited to 'packages/gcc/gcc-4.3.2/sh_unwind.patch')
-rw-r--r--packages/gcc/gcc-4.3.2/sh_unwind.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.3.2/sh_unwind.patch b/packages/gcc/gcc-4.3.2/sh_unwind.patch
new file mode 100644
index 0000000000..94921636bc
--- /dev/null
+++ b/packages/gcc/gcc-4.3.2/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 */