patches/glibc/2.3.6/240-weakalias.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 24 16:24:09 2008 +0000 (2008-06-24)
changeset 611 eac4dc8da8a9
permissions -rw-r--r--
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(+)
yann@402
     1
This one was taken from debian.
yann@402
     2
yann@402
     3
# DP: Description: Fix __bind redefinition problem
yann@402
     4
# DP: Related bugs: 
yann@402
     5
# DP: Dpatch author: Phil Blundell
yann@402
     6
# DP: Patch author: Daniel Jacobowitz
yann@402
     7
# DP: Upstream status: In CVS
yann@402
     8
# DP: Status Details:
yann@402
     9
# DP: Date: 2005-12-25
yann@402
    10
yann@402
    11
Index: sysdeps/unix/sysv/linux/arm/socket.S
yann@402
    12
===================================================================
yann@402
    13
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/arm/socket.S,v
yann@402
    14
retrieving revision 1.12
yann@402
    15
retrieving revision 1.13
yann@402
    16
diff -u -r1.12 -r1.13
yann@402
    17
--- glibc-2.3.6.ds1.orig/sysdeps/unix/sysv/linux/arm/socket.S	4 Dec 2004 21:20:16 -0000	1.12
yann@402
    18
+++ glibc-2.3.6.ds1/sysdeps/unix/sysv/linux/arm/socket.S	27 Oct 2005 18:50:12 -0000	1.13
yann@402
    19
@@ -1,4 +1,6 @@
yann@402
    20
-/* Copyright (C) 1995, 1996, 1997, 1998, 2003 Free Software Foundation, Inc.
yann@402
    21
+/* Copyright (C) 1995, 1996, 1997, 1998, 2003, 2004, 2005
yann@402
    22
+   Free Software Foundation, Inc.
yann@402
    23
+
yann@402
    24
    This file is part of the GNU C Library.
yann@402
    25
 
yann@402
    26
    The GNU C Library is free software; you can redistribute it and/or
yann@402
    27
@@ -32,7 +34,11 @@
yann@402
    28
    The .S files for the other calls just #define socket and #include this.  */
yann@402
    29
 
yann@402
    30
 #ifndef __socket
yann@402
    31
+#ifndef NO_WEAK_ALIAS
yann@402
    32
 #define __socket P(__,socket)
yann@402
    33
+#else
yann@402
    34
+#define __socket socket
yann@402
    35
+#endif
yann@402
    36
 #endif
yann@402
    37
 
yann@402
    38
 #define PUSHARGS_1	str a1, [sp, $-4]!
yann@402
    39
@@ -120,4 +126,6 @@
yann@402
    40
 
yann@402
    41
 PSEUDO_END (__socket)
yann@402
    42
 
yann@402
    43
+#ifndef NO_WEAK_ALIAS
yann@402
    44
 weak_alias (__socket, socket)
yann@402
    45
+#endif