summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-05-29 14:25:15 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-05-29 14:25:15 +0000
commit75350683290652b79f11fa45802134c9aa945ec8 (patch)
treec935fdc2770b24aa6ef83c4c175dadb0cb0ca14f /patches
parent7f3ba18d20185cdea0ff71dc92e41119b1719e37 (diff)
downloadOSELAS.Toolchain-75350683290652b79f11fa45802134c9aa945ec8.tar.gz
OSELAS.Toolchain-75350683290652b79f11fa45802134c9aa945ec8.tar.xz
* generic/sysdeps_mips_mips32_Makefile-bootstrap.diff:
fixed git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/branches/OSELAS.Toolchain-mkl@6499 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'patches')
-rw-r--r--patches/glibc-ports-2.7/generic/sysdeps_mips_mips32_Makefile-bootstrap.diff32
1 files changed, 10 insertions, 22 deletions
diff --git a/patches/glibc-ports-2.7/generic/sysdeps_mips_mips32_Makefile-bootstrap.diff b/patches/glibc-ports-2.7/generic/sysdeps_mips_mips32_Makefile-bootstrap.diff
index 62e5d82..a43709f 100644
--- a/patches/glibc-ports-2.7/generic/sysdeps_mips_mips32_Makefile-bootstrap.diff
+++ b/patches/glibc-ports-2.7/generic/sysdeps_mips_mips32_Makefile-bootstrap.diff
@@ -1,26 +1,14 @@
-http://sourceware.org/ml/crossgcc/2005-05/msg00165.html
-Fixes a MIPS build problem (unrelated to NPTL)
+From: Marc Kleine-Budde <mkl@pengutronix.de>
+Subject: Hack around mips args to host-gcc
-Message-ID: <428E8B24.1000201@realitydiluted.com>
-Date: Fri, 20 May 2005 20:13:08 -0500
-From: "Steven J dot Hill" <sjhill at realitydiluted dot com>
-To: crossgcc at sources dot redhat dot com, toolchain at gentoo dot org,
- Shay_Gal-On at pmc-sierra dot com, TheNop at gmx dot net
-Subject: New NPTL patches for crosstools and MIPS NPTL patches....
+originally From: "Steven J dot Hill" <sjhill at realitydiluted dot com>
+for Crosstool
-Greetings.
+In OSELAS.Toolchain we pass -DBOOTSTRAP_GCC in CC. This patch fixes the
+header extraction from the glibc, by not passing mips specific flags to
+the HOST compiler.
-I have uploaded the latest NPTL patch for crosstool-0.34. I have also
-uploaded a tarball of the patches necessary to build a MIPS NPTL
-cross toolchain. To build a MIPS NPTL toolchain you will need the
-released version of binutils-2.16 and the absolute latest GCC and
-glibc code from the HEAD of cvs. Use the 'demo-mips-nptl.sh' script
-to build the toolchain. Please report bugs or issues to the crossgcc
-mailing list. Here is the link off of my FTP site:
-
- ftp://ftp.realitydiluted.com/crosstools/crosstool-0.34/
-
-[Note: BOOTSTRAP_GCC is set by crosstool.sh when invoking make install-headers]
+Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
sysdeps/mips/mips32/Makefile | 4 ++++
@@ -31,10 +19,10 @@ Index: glibc-ports-2.7/sysdeps/mips/mips32/Makefile
--- glibc-ports-2.7.orig/sysdeps/mips/mips32/Makefile
+++ glibc-ports-2.7/sysdeps/mips/mips32/Makefile
@@ -1,3 +1,7 @@
-+ifeq ($(filter -DBOOTSTRAP_GCC,$(CFLAGS)),)
++ifeq ($(filter -DBOOTSTRAP_GCC,$(CC)),)
ifeq ($(filter -mabi=32,$(CC)),)
CC += -mabi=32
endif
+else
-+CC += -D"_MIPS_SZPTR=32"
++CC += -D_MIPS_SZPTR=32
+endif