New patches to make glibc 2.6 and 2.6.1 build for Alpha.
Forwarded by Ioannis E. VENETIS.
/trunk/patches/glibc/2.6.1/200-alpha-ptr_mangle.patch | 103 103 0 0 ++++++++
/trunk/patches/glibc/2.6.1/190-alpha-atfcts.patch | 11 11 0 0 +
/trunk/patches/glibc/2.6.1/180-gcc-4.3-sysinclude-path.patch | 50 50 0 0 ++++
/trunk/patches/glibc/2.6.1/210-lll_lock_t.patch | 237 237 0 0 ++++++++++++++++++
/trunk/patches/glibc/2.6/200-alpha-ptr_mangle.patch | 103 103 0 0 ++++++++
/trunk/patches/glibc/2.6/190-alpha-atfcts.patch | 11 11 0 0 +
/trunk/patches/glibc/2.6/180-gcc-4.3-sysinclude-path.patch | 50 50 0 0 ++++
/trunk/patches/glibc/2.6/210-lll_lock_t.patch | 237 237 0 0 ++++++++++++++++++
/trunk/patches/glibc/ports-2.6.1/120-lll_lock_t.patch | 156 156 0 0 ++++++++++++
9 files changed, 958 insertions(+)
1 2007-02-15 Khem Raj <kraj@xxxxxxxxxx>
3 * sysdeps/unix/sysv/linux/i386/sysdep.h: Re-define __i686.
4 * nptl/sysdeps/pthread/pt-initfini.c: Ditto.
8 Index: glibc-2.4/sysdeps/unix/sysv/linux/i386/sysdep.h
9 ===================================================================
10 --- glibc-2.4/sysdeps/unix/sysv/linux/i386/sysdep.h (revision 1469)
11 +++ glibc-2.4/sysdeps/unix/sysv/linux/i386/sysdep.h (working copy)
13 #include <dl-sysdep.h>
16 +#if defined __i686 && defined __ASSEMBLER__
18 +#define __i686 __i686
21 /* For Linux we can use the system call table in the header file
22 /usr/include/asm/unistd.h
23 Index: glibc-2.4/nptl/sysdeps/pthread/pt-initfini.c
24 ===================================================================
25 --- glibc-2.4/nptl/sysdeps/pthread/pt-initfini.c (revision 1469)
26 +++ glibc-2.4/nptl/sysdeps/pthread/pt-initfini.c (working copy)
28 /* Embed an #include to pull in the alignment and .end directives. */
29 asm ("\n#include \"defs.h\"");
31 +asm ("\n#if defined __i686 && defined __ASSEMBLER__");
32 +asm ("\n#undef __i686");
33 +asm ("\n#define __i686 __i686");
36 /* The initial common code ends here. */
37 asm ("\n/*@HEADER_ENDS*/");