patches/gcc/3.4.6/230-powerpc-libc_stack_end-uclibc.patch
author Bart vdr. Meulen <bartvdrmeulen@gmail.com>
Mon Jul 19 23:16:02 2010 +0200 (2010-07-19)
changeset 2031 3917f2dafed1
parent 339 bd5e0a849352
permissions -rw-r--r--
complibs: fix using static companion libraries

When building a cross-compiler for a target which uses a file extension for
binaries the symbolic link to cc is not created correctly because the lookup
of the gcc binary is done in a incorrect path

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
     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