crosstool-ng/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch
Yann E. MORIN" 367f7458b2 New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html

 /trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch                           |   25    25     0     0 ++++++++++
 /trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch                    |   24    24     0     0 ++++++++++
 /trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch                             |   25    25     0     0 ++++++++++
 /trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch                      |   24    24     0     0 ++++++++++
 /trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch |   25    25     0     0 ++++++++++
 /trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 11 files changed, 225 insertions(+)
2008-06-24 16:24:09 +00:00

18 lines
691 B
Diff

--- gcc-4.2.1-stock/gcc/config/alpha/linux-unwind.h 2005-06-24 20:22:41.000000000 -0500
+++ gcc-4.2.1/gcc/config/alpha/linux-unwind.h 2007-09-01 20:21:34.000000000 -0500
@@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA. */
/* 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 @@ alpha_fallback_frame_state (struct _Unwi
fs->retaddr_column = 64;
return _URC_NO_REASON;
}
+#endif /* inhibit_libc */