patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch
changeset 611 eac4dc8da8a9
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch	Tue Jun 24 16:24:09 2008 +0000
     1.3 @@ -0,0 +1,17 @@
     1.4 +--- gcc-4.2.1-stock/gcc/config/alpha/linux-unwind.h	2005-06-24 20:22:41.000000000 -0500
     1.5 ++++ gcc-4.2.1/gcc/config/alpha/linux-unwind.h	2007-09-01 20:21:34.000000000 -0500
     1.6 +@@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA.  */
     1.7 + /* Do code reading to identify a signal frame, and set the frame
     1.8 +    state data appropriately.  See unwind-dw2.c for the structs.  */
     1.9 + 
    1.10 ++/* Don't use this if inhibit_libc is set
    1.11 ++   The build for this target will fail trying to include missing headers */
    1.12 ++#ifndef inhibit_libc
    1.13 + #include <signal.h>
    1.14 + #include <sys/ucontext.h>
    1.15 + 
    1.16 +@@ -80,3 +83,4 @@ alpha_fallback_frame_state (struct _Unwi
    1.17 +   fs->retaddr_column = 64;
    1.18 +   return _URC_NO_REASON;
    1.19 + }
    1.20 ++#endif /* inhibit_libc */