1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.3.5/glibc-mips-bootstrap-gcc-header-install.patch Tue May 22 20:36:44 2007 +0000
1.3 @@ -0,0 +1,35 @@
1.4 +http://sourceware.org/ml/crossgcc/2005-05/msg00165.html
1.5 +Fixes a MIPS build problem (unrelated to NPTL)
1.6 +
1.7 +Message-ID: <428E8B24.1000201@realitydiluted.com>
1.8 +Date: Fri, 20 May 2005 20:13:08 -0500
1.9 +From: "Steven J dot Hill" <sjhill at realitydiluted dot com>
1.10 +To: crossgcc at sources dot redhat dot com, toolchain at gentoo dot org,
1.11 + Shay_Gal-On at pmc-sierra dot com, TheNop at gmx dot net
1.12 +Subject: New NPTL patches for crosstools and MIPS NPTL patches....
1.13 +
1.14 +Greetings.
1.15 +
1.16 +I have uploaded the latest NPTL patch for crosstool-0.34. I have also
1.17 +uploaded a tarball of the patches necessary to build a MIPS NPTL
1.18 +cross toolchain. To build a MIPS NPTL toolchain you will need the
1.19 +released version of binutils-2.16 and the absolute latest GCC and
1.20 +glibc code from the HEAD of cvs. Use the 'demo-mips-nptl.sh' script
1.21 +to build the toolchain. Please report bugs or issues to the crossgcc
1.22 +mailing list. Here is the link off of my FTP site:
1.23 +
1.24 + ftp://ftp.realitydiluted.com/crosstools/crosstool-0.34/
1.25 +
1.26 +[Note: BOOTSTRAP_GCC is set by crosstool.sh when invoking make install-headers]
1.27 +
1.28 +diff -ur glibc-2.4.0-20050406/sysdeps/mips/mips32/Makefile glibc-2.4.0-20050406-patched/sysdeps/mips/mips32/Makefile
1.29 +--- glibc-2.4.0-20050406/sysdeps/mips/mips32/Makefile 2003-03-29 02:15:28.000000000 -0600
1.30 ++++ glibc-2.4.0-20050406-patched/sysdeps/mips/mips32/Makefile 2005-04-12 21:36:51.318837655 -0500
1.31 +@@ -1,3 +1,7 @@
1.32 ++ifeq ($(filter -DBOOTSTRAP_GCC,$(CFLAGS)),)
1.33 + ifeq ($(filter -mabi=32,$(CC)),)
1.34 + CC += -mabi=32
1.35 + endif
1.36 ++else
1.37 ++CC += -D"_MIPS_SZPTR=32"
1.38 ++endif