summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-04 14:50:36 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-04 14:50:36 +0000
commit3082155b7f56c83f1bafadbd5f393bf7b5696fc8 (patch)
tree20b549853ef7218bb261215ccd9fce9524d1581f
parentdont install last.1 manpage #84046 (diff)
downloadgentoo-2-3082155b7f56c83f1bafadbd5f393bf7b5696fc8.tar.gz
gentoo-2-3082155b7f56c83f1bafadbd5f393bf7b5696fc8.tar.bz2
gentoo-2-3082155b7f56c83f1bafadbd5f393bf7b5696fc8.zip
cross-compile fix for ppc64
(Portage version: 2.0.51.19)
-rw-r--r--sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch22
1 files changed, 20 insertions, 2 deletions
diff --git a/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch b/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch
index 420a682df682..9891f1af7cfb 100644
--- a/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch
+++ b/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch
@@ -12,7 +12,7 @@
#endif /* defined (__SH5__) */
#endif /* IN_LIBGCC2 */
-+#endif /* inhibit libc */
++#endif /* inhibit_libc */
/* For SH3 and SH4, we use a slot of the unwind frame which correspond
to a fake register number 16 as a placeholder for the return address
@@ -30,7 +30,7 @@
(FS)->retaddr_column = CR0_REGNO; \
goto SUCCESS; \
} while (0)
-+#endif
++#endif /* inhibit_libc */
--- gcc/config/i386/linux.h
+++ gcc/config/i386/linux.h
@@ -218,6 +218,7 @@
@@ -61,3 +61,21 @@
goto SUCCESS; \
} while (0)
+#endif /* inhibit_libc */
+--- gcc/config/rs6000/linux64.h
++++ gcc/config/rs6000/linux64.h
+@@ -579,6 +579,7 @@
+ /* Do code reading to identify a signal frame, and set the frame
+ state data appropriately. See unwind-dw2.c for the structs. */
+
++#ifndef inhibit_libc
+ #ifdef IN_LIBGCC2
+ #include <signal.h>
+ #ifdef __powerpc64__
+@@ -603,6 +604,7 @@
+ #endif
+
+ #endif
++#endif
+
+ #ifdef __powerpc64__
+