New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html
/trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
11 files changed, 225 insertions(+)
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch Tue Jun 24 16:24:09 2008 +0000
1.3 @@ -0,0 +1,17 @@
1.4 +--- gcc-4.2.1-stock/gcc/config/alpha/linux-unwind.h 2005-06-24 20:22:41.000000000 -0500
1.5 ++++ gcc-4.2.1/gcc/config/alpha/linux-unwind.h 2007-09-01 20:21:34.000000000 -0500
1.6 +@@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA. */
1.7 + /* Do code reading to identify a signal frame, and set the frame
1.8 + state data appropriately. See unwind-dw2.c for the structs. */
1.9 +
1.10 ++/* Don't use this if inhibit_libc is set
1.11 ++ The build for this target will fail trying to include missing headers */
1.12 ++#ifndef inhibit_libc
1.13 + #include <signal.h>
1.14 + #include <sys/ucontext.h>
1.15 +
1.16 +@@ -80,3 +83,4 @@ alpha_fallback_frame_state (struct _Unwi
1.17 + fs->retaddr_column = 64;
1.18 + return _URC_NO_REASON;
1.19 + }
1.20 ++#endif /* inhibit_libc */
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch Tue Jun 24 16:24:09 2008 +0000
2.3 @@ -0,0 +1,17 @@
2.4 +--- gcc-4.2.1-stock/gcc/config/alpha/linux-unwind.h 2005-06-24 20:22:41.000000000 -0500
2.5 ++++ gcc-4.2.1/gcc/config/alpha/linux-unwind.h 2007-09-01 20:21:34.000000000 -0500
2.6 +@@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA. */
2.7 + /* Do code reading to identify a signal frame, and set the frame
2.8 + state data appropriately. See unwind-dw2.c for the structs. */
2.9 +
2.10 ++/* Don't use this if inhibit_libc is set
2.11 ++ The build for this target will fail trying to include missing headers */
2.12 ++#ifndef inhibit_libc
2.13 + #include <signal.h>
2.14 + #include <sys/ucontext.h>
2.15 +
2.16 +@@ -80,3 +83,4 @@ alpha_fallback_frame_state (struct _Unwi
2.17 + fs->retaddr_column = 64;
2.18 + return _URC_NO_REASON;
2.19 + }
2.20 ++#endif /* inhibit_libc */
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch Tue Jun 24 16:24:09 2008 +0000
3.3 @@ -0,0 +1,17 @@
3.4 +--- gcc-4.2.1-stock/gcc/config/alpha/linux-unwind.h 2005-06-24 20:22:41.000000000 -0500
3.5 ++++ gcc-4.2.1/gcc/config/alpha/linux-unwind.h 2007-09-01 20:21:34.000000000 -0500
3.6 +@@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA. */
3.7 + /* Do code reading to identify a signal frame, and set the frame
3.8 + state data appropriately. See unwind-dw2.c for the structs. */
3.9 +
3.10 ++/* Don't use this if inhibit_libc is set
3.11 ++ The build for this target will fail trying to include missing headers */
3.12 ++#ifndef inhibit_libc
3.13 + #include <signal.h>
3.14 + #include <sys/ucontext.h>
3.15 +
3.16 +@@ -80,3 +83,4 @@ alpha_fallback_frame_state (struct _Unwi
3.17 + fs->retaddr_column = 64;
3.18 + return _URC_NO_REASON;
3.19 + }
3.20 ++#endif /* inhibit_libc */
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch Tue Jun 24 16:24:09 2008 +0000
4.3 @@ -0,0 +1,17 @@
4.4 +--- gcc-4.2.1-stock/gcc/config/alpha/linux-unwind.h 2005-06-24 20:22:41.000000000 -0500
4.5 ++++ gcc-4.2.1/gcc/config/alpha/linux-unwind.h 2007-09-01 20:21:34.000000000 -0500
4.6 +@@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA. */
4.7 + /* Do code reading to identify a signal frame, and set the frame
4.8 + state data appropriately. See unwind-dw2.c for the structs. */
4.9 +
4.10 ++/* Don't use this if inhibit_libc is set
4.11 ++ The build for this target will fail trying to include missing headers */
4.12 ++#ifndef inhibit_libc
4.13 + #include <signal.h>
4.14 + #include <sys/ucontext.h>
4.15 +
4.16 +@@ -80,3 +83,4 @@ alpha_fallback_frame_state (struct _Unwi
4.17 + fs->retaddr_column = 64;
4.18 + return _URC_NO_REASON;
4.19 + }
4.20 ++#endif /* inhibit_libc */
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch Tue Jun 24 16:24:09 2008 +0000
5.3 @@ -0,0 +1,17 @@
5.4 +--- gcc-4.2.1-stock/gcc/config/alpha/linux-unwind.h 2005-06-24 20:22:41.000000000 -0500
5.5 ++++ gcc-4.2.1/gcc/config/alpha/linux-unwind.h 2007-09-01 20:21:34.000000000 -0500
5.6 +@@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA. */
5.7 + /* Do code reading to identify a signal frame, and set the frame
5.8 + state data appropriately. See unwind-dw2.c for the structs. */
5.9 +
5.10 ++/* Don't use this if inhibit_libc is set
5.11 ++ The build for this target will fail trying to include missing headers */
5.12 ++#ifndef inhibit_libc
5.13 + #include <signal.h>
5.14 + #include <sys/ucontext.h>
5.15 +
5.16 +@@ -80,3 +83,4 @@ alpha_fallback_frame_state (struct _Unwi
5.17 + fs->retaddr_column = 64;
5.18 + return _URC_NO_REASON;
5.19 + }
5.20 ++#endif /* inhibit_libc */
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch Tue Jun 24 16:24:09 2008 +0000
6.3 @@ -0,0 +1,17 @@
6.4 +--- gcc-4.2.1-stock/gcc/config/alpha/linux-unwind.h 2005-06-24 20:22:41.000000000 -0500
6.5 ++++ gcc-4.2.1/gcc/config/alpha/linux-unwind.h 2007-09-01 20:21:34.000000000 -0500
6.6 +@@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA. */
6.7 + /* Do code reading to identify a signal frame, and set the frame
6.8 + state data appropriately. See unwind-dw2.c for the structs. */
6.9 +
6.10 ++/* Don't use this if inhibit_libc is set
6.11 ++ The build for this target will fail trying to include missing headers */
6.12 ++#ifndef inhibit_libc
6.13 + #include <signal.h>
6.14 + #include <sys/ucontext.h>
6.15 +
6.16 +@@ -80,3 +83,4 @@ alpha_fallback_frame_state (struct _Unwi
6.17 + fs->retaddr_column = 64;
6.18 + return _URC_NO_REASON;
6.19 + }
6.20 ++#endif /* inhibit_libc */
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch Tue Jun 24 16:24:09 2008 +0000
7.3 @@ -0,0 +1,25 @@
7.4 +--- libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2006/10/29 21:48:06 1.6
7.5 ++++ libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2007/03/13 21:28:03 1.7
7.6 +@@ -55,6 +55,7 @@
7.7 + bne a3, SYSCALL_ERROR_LABEL; \
7.8 + __LABEL($pseudo_ret) \
7.9 + .subsection 2; \
7.10 ++ cfi_startproc; \
7.11 + __LABEL($pseudo_cancel) \
7.12 + subq sp, 64, sp; \
7.13 + cfi_def_cfa_offset(64); \
7.14 +@@ -90,12 +91,13 @@
7.15 + cfi_def_cfa_offset(0); \
7.16 + __LABEL($syscall_error) \
7.17 + SYSCALL_ERROR_HANDLER; \
7.18 ++ cfi_endproc; \
7.19 + .previous
7.20 +
7.21 + # undef PSEUDO_END
7.22 + # define PSEUDO_END(sym) \
7.23 +- .subsection 2; \
7.24 + cfi_endproc; \
7.25 ++ .subsection 2; \
7.26 + .size sym, .-sym
7.27 +
7.28 + # define SAVE_ARGS_0 /* Nothing. */
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch Tue Jun 24 16:24:09 2008 +0000
8.3 @@ -0,0 +1,24 @@
8.4 +--- glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S.orig 2006-10-22 22:17:01.000000000 +0200
8.5 ++++ glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S 2006-10-22 22:18:05.000000000 +0200
8.6 +@@ -31,3 +31,21 @@
8.7 + libc_hidden_def (__sigsuspend)
8.8 + weak_alias (__sigsuspend, sigsuspend)
8.9 + strong_alias (__sigsuspend, __libc_sigsuspend)
8.10 ++
8.11 ++#ifndef NO_CANCELLATION
8.12 ++ .globl __sigsuspend_nocancel;
8.13 ++ .align 4;
8.14 ++ .type __sigsuspend_nocancel, @function;
8.15 ++ .usepv __sigsuspend_nocancel, std;
8.16 ++ cfi_startproc;
8.17 ++__LABEL(__sigsuspend_nocancel)
8.18 ++ ldgp gp, 0(pv);
8.19 ++ PSEUDO_PROF;
8.20 ++ PSEUDO_PREPARE_ARGS
8.21 ++ lda v0, SYS_ify(sigsuspend);
8.22 ++ call_pal PAL_callsys;
8.23 ++ bne a3, SYSCALL_ERROR_LABEL;
8.24 ++ ret;
8.25 ++ cfi_endproc;
8.26 ++ .size __sigsuspend_nocancel, .-__sigsuspend_nocancel
8.27 ++#endif
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/patches/glibc/2.5/270-glibc-alpha-cfi.patch Tue Jun 24 16:24:09 2008 +0000
9.3 @@ -0,0 +1,25 @@
9.4 +--- libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2006/10/29 21:48:06 1.6
9.5 ++++ libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2007/03/13 21:28:03 1.7
9.6 +@@ -55,6 +55,7 @@
9.7 + bne a3, SYSCALL_ERROR_LABEL; \
9.8 + __LABEL($pseudo_ret) \
9.9 + .subsection 2; \
9.10 ++ cfi_startproc; \
9.11 + __LABEL($pseudo_cancel) \
9.12 + subq sp, 64, sp; \
9.13 + cfi_def_cfa_offset(64); \
9.14 +@@ -90,12 +91,13 @@
9.15 + cfi_def_cfa_offset(0); \
9.16 + __LABEL($syscall_error) \
9.17 + SYSCALL_ERROR_HANDLER; \
9.18 ++ cfi_endproc; \
9.19 + .previous
9.20 +
9.21 + # undef PSEUDO_END
9.22 + # define PSEUDO_END(sym) \
9.23 +- .subsection 2; \
9.24 + cfi_endproc; \
9.25 ++ .subsection 2; \
9.26 + .size sym, .-sym
9.27 +
9.28 + # define SAVE_ARGS_0 /* Nothing. */
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch Tue Jun 24 16:24:09 2008 +0000
10.3 @@ -0,0 +1,24 @@
10.4 +--- glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S.orig 2006-10-22 22:17:01.000000000 +0200
10.5 ++++ glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S 2006-10-22 22:18:05.000000000 +0200
10.6 +@@ -31,3 +31,21 @@
10.7 + libc_hidden_def (__sigsuspend)
10.8 + weak_alias (__sigsuspend, sigsuspend)
10.9 + strong_alias (__sigsuspend, __libc_sigsuspend)
10.10 ++
10.11 ++#ifndef NO_CANCELLATION
10.12 ++ .globl __sigsuspend_nocancel;
10.13 ++ .align 4;
10.14 ++ .type __sigsuspend_nocancel, @function;
10.15 ++ .usepv __sigsuspend_nocancel, std;
10.16 ++ cfi_startproc;
10.17 ++__LABEL(__sigsuspend_nocancel)
10.18 ++ ldgp gp, 0(pv);
10.19 ++ PSEUDO_PROF;
10.20 ++ PSEUDO_PREPARE_ARGS
10.21 ++ lda v0, SYS_ify(sigsuspend);
10.22 ++ call_pal PAL_callsys;
10.23 ++ bne a3, SYSCALL_ERROR_LABEL;
10.24 ++ ret;
10.25 ++ cfi_endproc;
10.26 ++ .size __sigsuspend_nocancel, .-__sigsuspend_nocancel
10.27 ++#endif
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch Tue Jun 24 16:24:09 2008 +0000
11.3 @@ -0,0 +1,25 @@
11.4 +--- glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h.orig 2008-06-19 15:31:45.000000000 +0300
11.5 ++++ glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2008-06-19 15:36:10.000000000 +0300
11.6 +@@ -54,6 +54,7 @@
11.7 + bne a3, SYSCALL_ERROR_LABEL; \
11.8 + __LABEL($pseudo_ret) \
11.9 + .subsection 2; \
11.10 ++ cfi_startproc; \
11.11 + __LABEL($pseudo_cancel) \
11.12 + subq sp, 64, sp; \
11.13 + cfi_def_cfa_offset(64); \
11.14 +@@ -84,12 +85,13 @@
11.15 + cfi_def_cfa_offset(0); \
11.16 + __LABEL($syscall_error) \
11.17 + SYSCALL_ERROR_HANDLER; \
11.18 ++ cfi_endproc; \
11.19 + .previous
11.20 +
11.21 + # undef PSEUDO_END
11.22 + # define PSEUDO_END(sym) \
11.23 +- .subsection 2; \
11.24 + cfi_endproc; \
11.25 ++ .subsection 2; \
11.26 + .size sym, .-sym
11.27 +
11.28 + # define SAVE_ARGS_0 /* Nothing. */