add #ifndef inhibit_libc in rs6000/linux-unwind.h to make
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Sat, 25 Jun 2005 21:41:52 +0000 (21:41 -0000)
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>
Sat, 25 Jun 2005 21:41:52 +0000 (21:41 -0000)
powerpc gcc compile. This may be the wrong thing to do but atleast
gcc compiles now.

toolchain/gcc/3.4.4/800-powerpc-libc_stack_end-uclibc.patch [new file with mode: 0644]

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 (file)
index 0000000..a209470
--- /dev/null
@@ -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