summaryrefslogtreecommitdiff
path: root/patches/gcc/4.3.6/320-alpha-signal_h.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-09-02 11:45:05 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-09-02 11:45:05 (GMT)
commitb62f26ff951255879a67267b9da09edfdac9a67a (patch)
treeedd52f46c5f378122d2846209586a31f82830c13 /patches/gcc/4.3.6/320-alpha-signal_h.patch
parenta292fbae0f92d632b23da6f59dece20063566dea (diff)
cc/gcc: propagate 4.3.5 patchset to 4.3.6
They applied cleanly with only offsets Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'patches/gcc/4.3.6/320-alpha-signal_h.patch')
-rw-r--r--patches/gcc/4.3.6/320-alpha-signal_h.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/gcc/4.3.6/320-alpha-signal_h.patch b/patches/gcc/4.3.6/320-alpha-signal_h.patch
new file mode 100644
index 0000000..2f4df3e
--- /dev/null
+++ b/patches/gcc/4.3.6/320-alpha-signal_h.patch
@@ -0,0 +1,23 @@
+Original patch from: ../4.3.2/320-alpha-signal_h.patch
+
+-= BEGIN original header =-
+-= END original header =-
+
+diff -durN gcc-4.3.3.orig/gcc/config/alpha/linux-unwind.h gcc-4.3.3/gcc/config/alpha/linux-unwind.h
+--- gcc-4.3.3.orig/gcc/config/alpha/linux-unwind.h 2006-10-26 21:31:09.000000000 +0200
++++ gcc-4.3.3/gcc/config/alpha/linux-unwind.h 2009-01-27 22:25:49.000000000 +0100
+@@ -29,6 +29,9 @@
+ /* Do code reading to identify a signal frame, and set the frame
+ state data appropriately. See unwind-dw2.c for the structs. */
+
++/* Don't use this if inhibit_libc is set
++ The build for this target will fail trying to include missing headers */
++#ifndef inhibit_libc
+ #include <signal.h>
+ #include <sys/ucontext.h>
+
+@@ -80,3 +83,4 @@
+ fs->retaddr_column = 64;
+ return _URC_NO_REASON;
+ }
++#endif /* inhibit_libc */