patches/glibc/linuxthreads-2.3.6/110-alpha-cfi.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Mar 11 22:11:43 2014 +0100 (2014-03-11)
changeset 3293 e11a8a2e225d
parent 744 4bf8448536d5
permissions -rw-r--r--
comptools: do not force build of make-3.81 unless really needed

On systems with make-3.82, we forcibly force the build and the use
of make-3.81

But some newer tools break when building with make-3.81. For example,
eglibc-3.18 breaks.

Introduce a new blind options that tools may select if they require
make-3.81. If the system does not have make-3.81, and this option is
selected, then we force the build of make-3.81. Otherwise, we leave
it to the user to decide on his own.

Note that no component selects this option for now. It will come in
later patches as we find them.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
yann@611
     1
--- glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h.orig	2008-06-19 15:31:45.000000000 +0300
yann@611
     2
+++ glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h	2008-06-19 15:36:10.000000000 +0300
yann@611
     3
@@ -54,6 +54,7 @@
yann@611
     4
 	bne	a3, SYSCALL_ERROR_LABEL;			\
yann@611
     5
 __LABEL($pseudo_ret)						\
yann@611
     6
 	.subsection 2;						\
yann@611
     7
+	cfi_startproc;						\
yann@611
     8
 __LABEL($pseudo_cancel)						\
yann@611
     9
 	subq	sp, 64, sp;					\
yann@611
    10
 	cfi_def_cfa_offset(64);					\
yann@611
    11
@@ -84,12 +85,13 @@
yann@611
    12
 	cfi_def_cfa_offset(0);					\
yann@611
    13
 __LABEL($syscall_error)						\
yann@611
    14
 	SYSCALL_ERROR_HANDLER;					\
yann@611
    15
+	cfi_endproc;						\
yann@611
    16
 	.previous
yann@611
    17
 
yann@611
    18
 # undef PSEUDO_END
yann@611
    19
 # define PSEUDO_END(sym)					\
yann@611
    20
-	.subsection 2;						\
yann@611
    21
 	cfi_endproc;						\
yann@611
    22
+	.subsection 2;						\
yann@611
    23
 	.size sym, .-sym
yann@611
    24
 
yann@611
    25
 # define SAVE_ARGS_0	/* Nothing.  */