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.
This commit is contained in:
Joakim Tjernlund 2005-06-25 21:41:52 +00:00
parent 3639edcabf
commit ae2f2bd7bd

View File

@ -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