summaryrefslogtreecommitdiff
path: root/patches/gcc/4.3.1/320-alpha-signal_h.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-04 12:38:06 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-04 12:38:06 (GMT)
commitd67a32191b9149b4808f387d73a8e0005e6dd5b1 (patch)
treed6a9585784fa92872f0b7e646eee4dbaff51a618 /patches/gcc/4.3.1/320-alpha-signal_h.patch
parent87f4c2c63b67e689e702c03d79dc03da09ab5f80 (diff)
Make gcc-4.3.x able to compile uClibc (snapshot only).
Update the gcc patchset accordingly. /trunk/scripts/build/cc_gcc.sh | 55 53 2 0 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-)
Diffstat (limited to 'patches/gcc/4.3.1/320-alpha-signal_h.patch')
-rw-r--r--patches/gcc/4.3.1/320-alpha-signal_h.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/patches/gcc/4.3.1/320-alpha-signal_h.patch b/patches/gcc/4.3.1/320-alpha-signal_h.patch
new file mode 100644
index 0000000..d7e1796
--- /dev/null
+++ b/patches/gcc/4.3.1/320-alpha-signal_h.patch
@@ -0,0 +1,17 @@
+--- 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 */