Sfoglia il codice sorgente

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.

Joakim Tjernlund 20 anni fa
parent
commit
ae2f2bd7bd

+ 15 - 0
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