patches/gcc/3.4.6/230-powerpc-libc_stack_end-uclibc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Jan 26 00:04:41 2011 +0100 (2011-01-26)
branch1.9
changeset 2291 075510bba768
parent 339 bd5e0a849352
permissions -rw-r--r--
libc/mingw: do not remove support symlink

Under mingw, it seems that there is a mix between the traditional /usr
directory, and a similar-purposed /mingw directory (both in the sysroot).

Currently, we create /mingw as a symlink to /usr, and we removed it in
the libc-finish step.

Unfortunately, this prevents the pre-processor to find the headers.
Keeping the symlink makes it magically work...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from fa5c70b11fecf390c78780fe8f8ba0a836a59e92)
     1 diff -durN gcc-3.4.6.orig/gcc/config/rs6000/linux-unwind.h gcc-3.4.6/gcc/config/rs6000/linux-unwind.h
     2 --- gcc-3.4.6.orig/gcc/config/rs6000/linux-unwind.h	2005-03-17 11:41:18.000000000 +0100
     3 +++ gcc-3.4.6/gcc/config/rs6000/linux-unwind.h	2007-08-15 23:07:00.000000000 +0200
     4 @@ -32,6 +32,7 @@
     5     these structs elsewhere;  Many fields are missing, particularly
     6     from the end of the structures.  */
     7  
     8 +#ifndef inhibit_libc
     9  struct gcc_vregs
    10  {
    11    __attribute__ ((vector_size (16))) int vr[32];
    12 @@ -320,3 +321,4 @@
    13  									\
    14      goto SUCCESS;							\
    15    } while (0)
    16 +#endif