summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-06-25 21:41:52 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-06-25 21:41:52 +0000
commitae2f2bd7bd4bd214c60ae9348fe7b8beea95f051 (patch)
treec924725a2753a1e6199f90244d3b1e969ba0dc57 /toolchain/gcc
parent3639edcabfc10f703f64c246fdfcb466f66bc7eb (diff)
add #ifndef inhibit_libc in rs6000/linux-unwind.h to make
powerpc gcc compile. This may be the wrong thing to do but atleast gcc compiles now.
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/3.4.4/800-powerpc-libc_stack_end-uclibc.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/gcc/3.4.4/800-powerpc-libc_stack_end-uclibc.patch b/toolchain/gcc/3.4.4/800-powerpc-libc_stack_end-uclibc.patch
new file mode 100644
index 000000000..a209470f7
--- /dev/null
+++ b/toolchain/gcc/3.4.4/800-powerpc-libc_stack_end-uclibc.patch
@@ -0,0 +1,15 @@
+--- gcc-3.4.4/gcc/config/rs6000/linux-unwind.h.org 2005-06-23 17:50:34.000000000 -0600
++++ gcc-3.4.4/gcc/config/rs6000/linux-unwind.h 2005-06-23 17:52:02.000000000 -0600
+@@ -32,6 +32,7 @@
+ these structs elsewhere; Many fields are missing, particularly
+ from the end of the structures. */
+
++#ifndef inhibit_libc
+ struct gcc_vregs
+ {
+ __attribute__ ((vector_size (16))) int vr[32];
+@@ -320,3 +321,4 @@
+ \
+ goto SUCCESS; \
+ } while (0)
++#endif