summaryrefslogtreecommitdiff
path: root/patches/glibc/2.5.1
diff options
context:
space:
mode:
authorKirill K. Smirnov <kirill.k.smirnov@gmail.com>2016-09-14 22:02:54 (GMT)
committerKirill K. Smirnov <kirill.k.smirnov@gmail.com>2016-09-14 22:02:54 (GMT)
commit429b3e884662a3b9a72890aae23865501e66330f (patch)
tree5a307ec5f96e94a8212ce81ab8cce508951bbf36 /patches/glibc/2.5.1
parent1d28793575d43d908b665fa6665d1b90b37f0af0 (diff)
patches: remove obsolete glibc patches
Glibc prior to 2.18, linuxthreads and ports are not supported. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Diffstat (limited to 'patches/glibc/2.5.1')
-rw-r--r--patches/glibc/2.5.1/100-cygwin.patch187
-rw-r--r--patches/glibc/2.5.1/110-configure-apple-as.patch25
-rw-r--r--patches/glibc/2.5.1/120-fix-pr631.patch45
-rw-r--r--patches/glibc/2.5.1/130-i686-assembler.patch38
-rw-r--r--patches/glibc/2.5.1/140-i386-preferred-stack-boundary.patch18
-rw-r--r--patches/glibc/2.5.1/150-alpha-asm_page.patch26
-rw-r--r--patches/glibc/2.5.1/160-use_short_for_fnstsw.patch18
-rw-r--r--patches/glibc/2.5.1/170-alpha-asm_elf.patch194
-rw-r--r--patches/glibc/2.5.1/180-alpha-cfi.patch25
-rw-r--r--patches/glibc/2.5.1/190-alpha-sigsuspend.patch24
10 files changed, 0 insertions, 600 deletions
diff --git a/patches/glibc/2.5.1/100-cygwin.patch b/patches/glibc/2.5.1/100-cygwin.patch
deleted file mode 100644
index 3c0cd7d..0000000
--- a/patches/glibc/2.5.1/100-cygwin.patch
+++ /dev/null
@@ -1,187 +0,0 @@
-Fixes
-elf/librtld.os: In function `process_envvars': : undefined reference to `__access'
-...
-when building glibc-2.3.x on cygwin
-
-Idea from
-http://sources.redhat.com/ml/bug-glibc/2002-01/msg00071/glibc-2.2-cygin-shared.patch
-Basically, make glibc use .oST as suffix for 'object static'
-instead of .oS, since cygwin has trouble distinguishing .os from .oS
-(Original patch had .on, but .oST is more mnemonic for 'object static')
-
-glibc-linuxthreads-2.3.5 also requires a patch, see
-../glibc-linuxthreads-2.3.5/glibc-linuxthreads-2.3.5-cygwin.patch
-
-[ forward ported to glibc-2.3.5 by Petr Cvachoucek:
-
-Message-ID: <4282FCBA.3040000@unicontrols.cz>
-Date: Thu, 12 May 2005 08:50:34 +0200
-From: Petr Cvachoucek <cvachoucek@unicontrols.cz>
-To: Dan Kegel <dank@kegel.com>
-CC: crossgcc@sources.redhat.com
-Subject: Patches to build gcc 3.4.3 / glibc 2.3.5 on cygwin
-
-Hi Dan,
-following patches are needed to build gcc-3.4.3/glibc-2.3.5 toolchain
-on cygwin. Tested to build toolchains for powerpc 604 and 750 targets.
-
---
- Petr Cvachoucek
- Unicontrols a.s.
- http://www.unicontrols.cz
-]
-
-diff -aur glibc-2.3.5/Makeconfig glibc-2.3.5-cygwin/Makeconfig
---- glibc-2.3.5/Makeconfig 2005-02-16 11:50:19.000000000 +0100
-+++ glibc-2.3.5-cygwin/Makeconfig 2005-05-11 08:24:51.046875000 +0200
-@@ -472,7 +472,7 @@
- # run the linked programs.
- link-libc = -Wl,-rpath-link=$(rpath-link) \
- $(common-objpfx)libc.so$(libc.so-version) \
-- $(common-objpfx)$(patsubst %,$(libtype.oS),c) $(gnulib)
-+ $(common-objpfx)$(patsubst %,$(libtype.oST),c) $(gnulib)
- # This is how to find at build-time things that will be installed there.
- rpath-dirs = math elf dlfcn nss nis rt resolv crypt
- endif
-@@ -693,7 +693,7 @@
- # The compilation rules use $(CPPFLAGS-${SUFFIX}) and $(CFLAGS-${SUFFIX})
- # to pass different flags for each flavor.
- libtypes = $(foreach o,$(object-suffixes-for-libc),$(libtype$o))
--all-object-suffixes := .o .os .op .og .ob .oS
-+all-object-suffixes := .o .os .op .og .ob .oST
- object-suffixes :=
- CPPFLAGS-.o = $(pic-default)
- CFLAGS-.o = $(filter %frame-pointer,$(+cflags))
-@@ -749,14 +749,14 @@
-
- ifeq (yes,$(build-shared))
- # Build special library that contains the static-only routines for libc.
--object-suffixes-for-libc += .oS
-+object-suffixes-for-libc += .oST
-
- # Must build the routines as PIC, though, because they can end up in (users')
- # shared objects. We don't want to use CFLAGS-os because users may, for
- # example, make that processor-specific.
--CFLAGS-.oS = $(CFLAGS-.o) $(PIC-ccflag)
--CPPFLAGS-.oS = $(CPPFLAGS-.o) -DPIC -DLIBC_NONSHARED=1
--libtype.oS = lib%_nonshared.a
-+CFLAGS-.oST = $(CFLAGS-.o) $(PIC-ccflag)
-+CPPFLAGS-.oST = $(CPPFLAGS-.o) -DPIC -DLIBC_NONSHARED=1
-+libtype.oST = lib%_nonshared.a
- endif
-
- # The assembler can generate debug information too.
-diff -aur glibc-2.3.5/Makerules glibc-2.3.5-cygwin/Makerules
---- glibc-2.3.5/Makerules 2004-12-15 19:52:39.000000000 +0100
-+++ glibc-2.3.5-cygwin/Makerules 2005-05-11 08:25:33.578125000 +0200
-@@ -417,7 +417,7 @@
- # Bounded pointer thunks are only built for *.ob
- elide-bp-thunks = $(addprefix $(bppfx),$(bp-thunks))
-
--elide-routines.oS += $(filter-out $(static-only-routines),\
-+elide-routines.oST += $(filter-out $(static-only-routines),\
- $(routines) $(aux) $(sysdep_routines)) \
- $(elide-bp-thunks)
- elide-routines.os += $(static-only-routines) $(elide-bp-thunks)
-@@ -981,7 +981,7 @@
- install: $(inst_libdir)/libc.so
- $(inst_libdir)/libc.so: $(common-objpfx)format.lds \
- $(common-objpfx)libc.so$(libc.so-version) \
-- $(inst_libdir)/$(patsubst %,$(libtype.oS),\
-+ $(inst_libdir)/$(patsubst %,$(libtype.oST),\
- $(libprefix)$(libc-name)) \
- $(+force)
- (echo '/* GNU ld script';\
-@@ -989,7 +989,7 @@
- echo ' the static library, so try that secondarily. */';\
- cat $<; \
- echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)' \
-- '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
-+ '$(libdir)/$(patsubst %,$(libtype.oST),$(libprefix)$(libc-name))'\
- ' AS_NEEDED (' $(slibdir)/$(rtld-installed-name) ') )' \
- ) > $@.new
- mv -f $@.new $@
-diff -aur glibc-2.3.5/extra-lib.mk glibc-2.3.5-cygwin/extra-lib.mk
---- glibc-2.3.5/extra-lib.mk 2004-12-02 23:54:47.000000000 +0100
-+++ glibc-2.3.5-cygwin/extra-lib.mk 2005-05-11 08:27:28.156250000 +0200
-@@ -13,7 +13,7 @@
-
- ifneq (,$($(lib)-static-only-routines))
- ifneq (,$(filter yesyes%,$(build-shared)$(elf)$($(lib).so-version)))
--object-suffixes-$(lib) += $(filter-out $($(lib)-inhibit-o),.oS)
-+object-suffixes-$(lib) += $(filter-out $($(lib)-inhibit-o),.oST)
- endif
- endif
-
-@@ -29,7 +29,7 @@
-
- # Add each flavor of library to the lists of things to build and install.
- install-lib += $(foreach o,$(object-suffixes-$(lib)),$(lib:lib%=$(libtype$o)))
--extra-objs += $(foreach o,$(filter-out .os .oS,$(object-suffixes-$(lib))),\
-+extra-objs += $(foreach o,$(filter-out .os .oST,$(object-suffixes-$(lib))),\
- $(patsubst %,%$o,$(filter-out \
- $($(lib)-shared-only-routines),\
- $(all-$(lib)-routines))))
-@@ -57,7 +57,7 @@
-
-
- # Use o-iterator.mk to generate a rule for each flavor of library.
--ifneq (,$(filter-out .os .oS,$(object-suffixes-$(lib))))
-+ifneq (,$(filter-out .os .oST,$(object-suffixes-$(lib))))
- define o-iterator-doit
- $(objpfx)$(patsubst %,$(libtype$o),$(lib:lib%=%)): \
- $(patsubst %,$(objpfx)%$o,\
-@@ -65,7 +65,7 @@
- $(all-$(lib)-routines))); \
- $$(build-extra-lib)
- endef
--object-suffixes-left = $(filter-out .os .oS,$(object-suffixes-$(lib)))
-+object-suffixes-left = $(filter-out .os .oST,$(object-suffixes-$(lib)))
- include $(patsubst %,$(..)o-iterator.mk,$(object-suffixes-left))
- endif
-
-@@ -77,9 +77,9 @@
- $(build-extra-lib)
- endif
-
--ifneq (,$(filter .oS,$(object-suffixes-$(lib))))
--$(objpfx)$(patsubst %,$(libtype.oS),$(lib:lib%=%)): \
-- $(patsubst %,$(objpfx)%.oS,\
-+ifneq (,$(filter .oST,$(object-suffixes-$(lib))))
-+$(objpfx)$(patsubst %,$(libtype.oST),$(lib:lib%=%)): \
-+ $(patsubst %,$(objpfx)%.oST,\
- $(filter $($(lib)-static-only-routines),\
- $(all-$(lib)-routines)))
- $(build-extra-lib)
-diff -aur glibc-2.3.5/nptl/Makefile glibc-2.3.5-cygwin/nptl/Makefile
---- glibc-2.3.5/nptl/Makefile 2005-02-16 09:45:56.000000000 +0100
-+++ glibc-2.3.5-cygwin/nptl/Makefile 2005-05-11 08:26:01.812500000 +0200
-@@ -375,7 +375,7 @@
-
- $(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \
- $(objpfx)libpthread.so$(libpthread.so-version) \
-- $(inst_libdir)/$(patsubst %,$(libtype.oS),\
-+ $(inst_libdir)/$(patsubst %,$(libtype.oST),\
- $(libprefix)pthread) \
- $(+force)
- (echo '/* GNU ld script';\
-@@ -383,7 +383,7 @@
- echo ' the static library, so try that secondarily. */';\
- cat $<; \
- echo 'GROUP ( $(slibdir)/libpthread.so$(libpthread.so-version)' \
-- '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)pthread)'\
-+ '$(libdir)/$(patsubst %,$(libtype.oST),$(libprefix)pthread)'\
- ')' \
- ) > $@.new
- mv -f $@.new $@
-diff -aur glibc-2.3.5/sysdeps/sparc/sparc32/sparcv9/Makefile glibc-2.3.5-cygwin/sysdeps/sparc/sparc32/sparcv9/Makefile
---- glibc-2.3.5/sysdeps/sparc/sparc32/sparcv9/Makefile 2004-08-16 08:46:14.000000000 +0200
-+++ glibc-2.3.5-cygwin/sysdeps/sparc/sparc32/sparcv9/Makefile 2005-05-11 08:26:25.937500000 +0200
-@@ -10,4 +10,4 @@
- ASFLAGS-.op += -Wa,-Av9a
- ASFLAGS-.og += -Wa,-Av9a
- ASFLAGS-.ob += -Wa,-Av9a
--ASFLAGS-.oS += -Wa,-Av9a
-+ASFLAGS-.oST += -Wa,-Av9a
-
-Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
diff --git a/patches/glibc/2.5.1/110-configure-apple-as.patch b/patches/glibc/2.5.1/110-configure-apple-as.patch
deleted file mode 100644
index 78a1324..0000000
--- a/patches/glibc/2.5.1/110-configure-apple-as.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-http://in3www.epfl.ch/~schaffne/glibc-configure-apple-as.patch
-http://sources.redhat.com/ml/crossgcc/2004-02/msg00151.html
-
-The following makes it possible to configure glibc-2.3.2 on Mac OS X,
-where the assembler but doesn't understand the --version flag.
-
-Fixes the symptom
-checking whether ld is GNU ld... no
-checking for /usr/libexec/gcc/darwin/ppc/as... /usr/libexec/gcc/darwin/ppc/as
-checking version of /usr/libexec/gcc/darwin/ppc/as...
-<PAUSES HERE AND JUST SITS THERE DOING NOTHING>
-
---- glibc-2.3.2/configure~ Wed Feb 26 09:20:48 2003
-+++ glibc-2.3.2/configure Fri Feb 27 13:12:53 2004
-@@ -4039,7 +4039,7 @@
- # Found it, now check the version.
- echo "$as_me:$LINENO: checking version of $AS" >&5
- echo $ECHO_N "checking version of $AS... $ECHO_C" >&6
-- ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
-+ ac_prog_version=`$AS -v </dev/null 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
- case $ac_prog_version in
- '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 2.1[3-9]*)
-
-Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
diff --git a/patches/glibc/2.5.1/120-fix-pr631.patch b/patches/glibc/2.5.1/120-fix-pr631.patch
deleted file mode 100644
index 13688df..0000000
--- a/patches/glibc/2.5.1/120-fix-pr631.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From dank@kegel.com
-Wed Jun 15 09:12:43 PDT 2005
-
-Fixes
-
-build-glibc/libc.a(nsswitch.o)(.data+0x64): undefined reference to `_nss_files_getaliasent_r'
-build-glibc/libc.a(nsswitch.o)(.data+0x6c): undefined reference to `_nss_files_endaliasent'
-... 53 lines deleted ...
-build-glibc/libc.a(nsswitch.o)(.data+0x21c): undefined reference to `_nss_files_getspnam_r'
-collect2: ld returned 1 exit status
-make[2]: *** [/build/gcc-3.4.3-glibc-2.3.5-hdrs-2.6.11.2/i686-unknown-linux-gnu/build-glibc/elf/ldconfig] Error 1
-
-when building glibc with --enable-static-nss.
-
-See http://sources.redhat.com/bugzilla/show_bug.cgi?id=631
-
---- glibc-2.3.5/Makeconfig.old Wed Jun 15 08:13:12 2005
-+++ glibc-2.3.5/Makeconfig Wed Jun 15 08:13:14 2005
-@@ -510,7 +510,7 @@
-
- # The static libraries.
- ifeq (yes,$(build-static))
--link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(common-objpfx)libc.a
-+link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(otherlibs) $(common-objpfx)libc.a
- else
- ifeq (yes,$(build-shared))
- # We can try to link the programs with lib*_pic.a...
---- glibc-2.3.5/elf/Makefile.old Wed Jun 15 07:46:49 2005
-+++ glibc-2.3.5/elf/Makefile Wed Jun 15 08:14:00 2005
-@@ -120,6 +120,13 @@
- install-bin-script = ldd
- endif
-
-+ifeq (yes,$(build-static-nss))
-+nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss)
-+resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv)
-+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
-+ $(resolvobjdir)/libresolv.a
-+endif
-+
- others = sprof sln
- install-bin = sprof
- others-static = sln
-
-Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
diff --git a/patches/glibc/2.5.1/130-i686-assembler.patch b/patches/glibc/2.5.1/130-i686-assembler.patch
deleted file mode 100644
index 9904efb..0000000
--- a/patches/glibc/2.5.1/130-i686-assembler.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-2007-02-15 Khem Raj <kraj@xxxxxxxxxx>
-
- * sysdeps/unix/sysv/linux/i386/sysdep.h: Re-define __i686.
- * nptl/sysdeps/pthread/pt-initfini.c: Ditto.
-
-
-
-Index: glibc-2.4/sysdeps/unix/sysv/linux/i386/sysdep.h
-===================================================================
---- glibc-2.4/sysdeps/unix/sysv/linux/i386/sysdep.h (revision 1469)
-+++ glibc-2.4/sysdeps/unix/sysv/linux/i386/sysdep.h (working copy)
-@@ -29,6 +29,10 @@
- #include <dl-sysdep.h>
- #include <tls.h>
-
-+#if defined __i686 && defined __ASSEMBLER__
-+#undef __i686
-+#define __i686 __i686
-+#endif
-
- /* For Linux we can use the system call table in the header file
- /usr/include/asm/unistd.h
-Index: glibc-2.4/nptl/sysdeps/pthread/pt-initfini.c
-===================================================================
---- glibc-2.4/nptl/sysdeps/pthread/pt-initfini.c (revision 1469)
-+++ glibc-2.4/nptl/sysdeps/pthread/pt-initfini.c (working copy)
-@@ -45,6 +45,11 @@
- /* Embed an #include to pull in the alignment and .end directives. */
- asm ("\n#include \"defs.h\"");
-
-+asm ("\n#if defined __i686 && defined __ASSEMBLER__");
-+asm ("\n#undef __i686");
-+asm ("\n#define __i686 __i686");
-+asm ("\n#endif");
-+
- /* The initial common code ends here. */
- asm ("\n/*@HEADER_ENDS*/");
-
diff --git a/patches/glibc/2.5.1/140-i386-preferred-stack-boundary.patch b/patches/glibc/2.5.1/140-i386-preferred-stack-boundary.patch
deleted file mode 100644
index 449821d..0000000
--- a/patches/glibc/2.5.1/140-i386-preferred-stack-boundary.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-(C) 2007 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
-License: LGPL v2.1
-
-Shut off a stupid warning: preffered-stack-boundary must be between 4 ad 12,
-and 2 is not.
-
-diff -dur glibc-2.5.orig/sysdeps/i386/Makefile glibc-2.5/sysdeps/i386/Makefile
---- glibc-2.5.orig/sysdeps/i386/Makefile 2005-03-06 01:18:16.000000000 +0100
-+++ glibc-2.5/sysdeps/i386/Makefile 2007-05-27 17:49:37.000000000 +0200
-@@ -36,7 +36,7 @@
- ifeq ($(subdir),csu)
- sysdep-CFLAGS += -mpreferred-stack-boundary=4
- else
--sysdep-CFLAGS += -mpreferred-stack-boundary=2
-+sysdep-CFLAGS += -mpreferred-stack-boundary=4
- # Likewise, any function which calls user callbacks
- uses-callbacks += -mpreferred-stack-boundary=4
- # Likewise, any stack alignment tests
diff --git a/patches/glibc/2.5.1/150-alpha-asm_page.patch b/patches/glibc/2.5.1/150-alpha-asm_page.patch
deleted file mode 100644
index b198b36..0000000
--- a/patches/glibc/2.5.1/150-alpha-asm_page.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-2008-06-07 Mike Frysinger <vapier@gentoo.org>
-
- * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
- from the kernel header to sys/user.h and remove the #include of
- sys/user.h.
-
---- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
-+++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
-@@ -23,7 +23,6 @@
- only. Don't read too much into it. Don't use it for anything other
- than gdb/strace unless you know what you are doing. */
-
--#include <asm/page.h>
- #include <asm/reg.h>
-
- struct user
-@@ -41,6 +40,9 @@ struct user
- char u_comm[32]; /* user command name */
- };
-
-+#define PAGE_SHIFT 13
-+#define PAGE_SIZE (1 << PAGE_SHIFT)
-+#define PAGE_MASK (~(PAGE_SIZE-1))
- #define NBPG PAGE_SIZE
- #define UPAGES 1
- #define HOST_TEXT_START_ADDR (u.start_code)
diff --git a/patches/glibc/2.5.1/160-use_short_for_fnstsw.patch b/patches/glibc/2.5.1/160-use_short_for_fnstsw.patch
deleted file mode 100644
index 0e849fa..0000000
--- a/patches/glibc/2.5.1/160-use_short_for_fnstsw.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Original patch from H.J. Lu, as reported there:
-http://www.nabble.com/PATCH:-Use-short-for-fnstsw-td14775171.html
-
-fnstsw stores 16bit into %ax. The upper 16bit of %eax is unchanged.
-The new assembler (binutils-2.18.50.0.4 and up) will disallow "fnstsw %eax".
-
-diff -dur glibc-2.6.1.orig/sysdeps/i386/fpu/ftestexcept.c glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c
---- glibc-2.6.1.orig/sysdeps/i386/fpu/ftestexcept.c 2004-03-05 11:14:48.000000000 +0100
-+++ glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c 2008-06-24 10:56:14.000000000 +0200
-@@ -26,7 +26,7 @@
- int
- fetestexcept (int excepts)
- {
-- int temp;
-+ short temp;
- int xtemp = 0;
-
- /* Get current exceptions. */
diff --git a/patches/glibc/2.5.1/170-alpha-asm_elf.patch b/patches/glibc/2.5.1/170-alpha-asm_elf.patch
deleted file mode 100644
index 3da5c8e..0000000
--- a/patches/glibc/2.5.1/170-alpha-asm_elf.patch
+++ /dev/null
@@ -1,194 +0,0 @@
-since the kernel no longer provides asm/elf.h, the sys/procfs.h from the
-common code, alpha, and sh fail when used. this should things up.
--mike
-
-2008-06-07 Mike Frysinger <vapier@gentoo.org>
-
- * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with #error stub.
- * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Copy some asm/elf.h
- definitions from the kernel header to sys/procfs.h and remove the
- #include of asm/elf.h.
- * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
-
-*Attachment: signature.asc <msg00012/signature.asc>*
-/Description:/ This is a digitally signed message part.
-
-2008-06-07 Mike Frysinger <vapier@gentoo.org>
-
- * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with #error stub.
- * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Copy some asm/elf.h
- definitions from the kernel header to sys/procfs.h and remove the
- #include of asm/elf.h.
- * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
-
---- a/sysdeps/unix/sysv/linux/alpha/sys/procfs.h
-+++ b/sysdeps/unix/sysv/linux/alpha/sys/procfs.h
-@@ -29,10 +29,23 @@
- #include <sys/types.h>
- #include <sys/ucontext.h>
- #include <sys/user.h>
--#include <asm/elf.h>
-
- __BEGIN_DECLS
-
-+/*
-+ * The OSF/1 version of <sys/procfs.h> makes gregset_t 46 entries long.
-+ * I have no idea why that is so. For now, we just leave it at 33
-+ * (32 general regs + processor status word).
-+ */
-+#define ELF_NGREG 33
-+#define ELF_NFPREG 32
-+
-+typedef unsigned long elf_greg_t;
-+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
-+
-+typedef double elf_fpreg_t;
-+typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
-+
- struct elf_siginfo
- {
- int si_signo; /* Signal number. */
---- a/sysdeps/unix/sysv/linux/sh/sys/procfs.h
-+++ b/sysdeps/unix/sysv/linux/sh/sys/procfs.h
-@@ -29,10 +29,19 @@
- #include <sys/types.h>
- #include <sys/ucontext.h>
- #include <sys/user.h>
--#include <asm/elf.h>
-
- __BEGIN_DECLS
-
-+/*
-+ * ELF register definitions...
-+ */
-+typedef unsigned long elf_greg_t;
-+
-+#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
-+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
-+
-+typedef struct user_fpu_struct elf_fpregset_t;
-+
- struct elf_siginfo
- {
- int si_signo; /* Signal number. */
---- a/sysdeps/unix/sysv/linux/sys/procfs.h
-+++ b/sysdeps/unix/sysv/linux/sys/procfs.h
-@@ -1,115 +1,2 @@
--/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
-- This file is part of the GNU C Library.
--
-- The GNU C Library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as published by the Free Software Foundation; either
-- version 2.1 of the License, or (at your option) any later version.
--
-- The GNU C Library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- Lesser General Public License for more details.
--
-- You should have received a copy of the GNU Lesser General Public
-- License along with the GNU C Library; if not, write to the Free
-- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-- 02111-1307 USA. */
--
--#ifndef _SYS_PROCFS_H
--#define _SYS_PROCFS_H 1
--
--/* This is somehow modelled after the file of the same name on SysVr4
-- systems. It provides a definition of the core file format for ELF
-- used on Linux. */
--
--#include <features.h>
--#include <signal.h>
--#include <sys/time.h>
--#include <sys/types.h>
--#include <sys/ucontext.h>
--#include <sys/user.h>
--#include <asm/elf.h>
--
--__BEGIN_DECLS
--
--struct elf_siginfo
-- {
-- int si_signo; /* Signal number. */
-- int si_code; /* Extra code. */
-- int si_errno; /* Errno. */
-- };
--
--/* Definitions to generate Intel SVR4-like core files. These mostly
-- have the same names as the SVR4 types with "elf_" tacked on the
-- front to prevent clashes with linux definitions, and the typedef
-- forms have been avoided. This is mostly like the SVR4 structure,
-- but more Linuxy, with things that Linux does not support and which
-- gdb doesn't really use excluded. Fields present but not used are
-- marked with "XXX". */
--struct elf_prstatus
-- {
--#if 0
-- long int pr_flags; /* XXX Process flags. */
-- short int pr_why; /* XXX Reason for process halt. */
-- short int pr_what; /* XXX More detailed reason. */
--#endif
-- struct elf_siginfo pr_info; /* Info associated with signal. */
-- short int pr_cursig; /* Current signal. */
-- unsigned long int pr_sigpend; /* Set of pending signals. */
-- unsigned long int pr_sighold; /* Set of held signals. */
--#if 0
-- struct sigaltstack pr_altstack; /* Alternate stack info. */
-- struct sigaction pr_action; /* Signal action for current sig. */
--#endif
-- __pid_t pr_pid;
-- __pid_t pr_ppid;
-- __pid_t pr_pgrp;
-- __pid_t pr_sid;
-- struct timeval pr_utime; /* User time. */
-- struct timeval pr_stime; /* System time. */
-- struct timeval pr_cutime; /* Cumulative user time. */
-- struct timeval pr_cstime; /* Cumulative system time. */
--#if 0
-- long int pr_instr; /* Current instruction. */
--#endif
-- elf_gregset_t pr_reg; /* GP registers. */
-- int pr_fpvalid; /* True if math copro being used. */
-- };
--
--
--#define ELF_PRARGSZ (80) /* Number of chars for args */
--
--struct elf_prpsinfo
-- {
-- char pr_state; /* Numeric process state. */
-- char pr_sname; /* Char for pr_state. */
-- char pr_zomb; /* Zombie. */
-- char pr_nice; /* Nice val. */
-- unsigned long int pr_flag; /* Flags. */
-- unsigned short int pr_uid;
-- unsigned short int pr_gid;
-- int pr_pid, pr_ppid, pr_pgrp, pr_sid;
-- /* Lots missing */
-- char pr_fname[16]; /* Filename of executable. */
-- char pr_psargs[ELF_PRARGSZ]; /* Initial part of arg list. */
-- };
--
--/* Addresses. */
--typedef void *psaddr_t;
--
--/* Register sets. Linux has different names. */
--typedef gregset_t prgregset_t;
--typedef fpregset_t prfpregset_t;
--
--/* We don't have any differences between processes and threads,
-- therefore habe only ine PID type. */
--typedef __pid_t lwpid_t;
--
--
--typedef struct elf_prstatus prstatus_t;
--typedef struct elf_prpsinfo prpsinfo_t;
--
--__END_DECLS
--
--#endif /* sys/procfs.h */
-+/* sys/procfs.h is architecture specific. */
-+#error "This file must be supplied by every Linux architecture."
-
diff --git a/patches/glibc/2.5.1/180-alpha-cfi.patch b/patches/glibc/2.5.1/180-alpha-cfi.patch
deleted file mode 100644
index c1efd77..0000000
--- a/patches/glibc/2.5.1/180-alpha-cfi.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2006/10/29 21:48:06 1.6
-+++ libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2007/03/13 21:28:03 1.7
-@@ -55,6 +55,7 @@
- bne a3, SYSCALL_ERROR_LABEL; \
- __LABEL($pseudo_ret) \
- .subsection 2; \
-+ cfi_startproc; \
- __LABEL($pseudo_cancel) \
- subq sp, 64, sp; \
- cfi_def_cfa_offset(64); \
-@@ -90,12 +91,13 @@
- cfi_def_cfa_offset(0); \
- __LABEL($syscall_error) \
- SYSCALL_ERROR_HANDLER; \
-+ cfi_endproc; \
- .previous
-
- # undef PSEUDO_END
- # define PSEUDO_END(sym) \
-- .subsection 2; \
- cfi_endproc; \
-+ .subsection 2; \
- .size sym, .-sym
-
- # define SAVE_ARGS_0 /* Nothing. */
diff --git a/patches/glibc/2.5.1/190-alpha-sigsuspend.patch b/patches/glibc/2.5.1/190-alpha-sigsuspend.patch
deleted file mode 100644
index daf1a5d..0000000
--- a/patches/glibc/2.5.1/190-alpha-sigsuspend.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S.orig 2006-10-22 22:17:01.000000000 +0200
-+++ glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S 2006-10-22 22:18:05.000000000 +0200
-@@ -31,3 +31,21 @@
- libc_hidden_def (__sigsuspend)
- weak_alias (__sigsuspend, sigsuspend)
- strong_alias (__sigsuspend, __libc_sigsuspend)
-+
-+#ifndef NO_CANCELLATION
-+ .globl __sigsuspend_nocancel;
-+ .align 4;
-+ .type __sigsuspend_nocancel, @function;
-+ .usepv __sigsuspend_nocancel, std;
-+ cfi_startproc;
-+__LABEL(__sigsuspend_nocancel)
-+ ldgp gp, 0(pv);
-+ PSEUDO_PROF;
-+ PSEUDO_PREPARE_ARGS
-+ lda v0, SYS_ify(sigsuspend);
-+ call_pal PAL_callsys;
-+ bne a3, SYSCALL_ERROR_LABEL;
-+ ret;
-+ cfi_endproc;
-+ .size __sigsuspend_nocancel, .-__sigsuspend_nocancel
-+#endif