From: Joakim Tjernlund Date: Sat, 25 Jun 2005 21:41:52 +0000 (-0000) Subject: add #ifndef inhibit_libc in rs6000/linux-unwind.h to make X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae2f2bd7bd4bd214c60ae9348fe7b8beea95f051;p=buildroot.git 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. --- 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 0000000000..a209470f7a --- /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