patches/glibc/2.2.3/errlist-arm.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
yann@1
     1
Subject: patch for arm
yann@1
     2
From: Philip Blundell <Philip dot Blundell at pobox dot com>
yann@1
     3
To: libc-hacker at sources dot redhat dot com
yann@1
     4
Content-Type: text/plain
yann@1
     5
Content-Transfer-Encoding: 7bit
yann@1
     6
Date: 22 Jul 2002 20:12:06 +0100
yann@1
     7
Message-Id: <1027365126.725.10.camel@kc>
yann@1
     8
Mime-Version: 1.0
yann@1
     9
yann@1
    10
The mainline seems to need this patch in order to compile.
yann@1
    11
yann@1
    12
p.
yann@1
    13
yann@1
    14
2002-07-22  Philip Blundell  <philb@gnu.org>
yann@1
    15
yann@1
    16
	* sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias
yann@1
    17
	definiton of _old_sys_nerr.  Define _old_sys_errlist as strong
yann@1
    18
	alias.
yann@1
    19
yann@1
    20
Index: sysdeps/unix/sysv/linux/arm/errlist.c
yann@1
    21
===================================================================
yann@1
    22
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/arm/errlist.c,v
yann@1
    23
retrieving revision 1.4
yann@1
    24
diff -u -p -r1.4 errlist.c
yann@1
    25
--- glibc/sysdeps/unix/sysv/linux/arm/errlist.c	6 Jul 2001 04:56:13 -0000	1.4
yann@1
    26
+++ glibc/sysdeps/unix/sysv/linux/arm/errlist.c	22 Jul 2002 19:10:57 -0000
yann@1
    27
@@ -1,4 +1,4 @@
yann@1
    28
-/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
yann@1
    29
+/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
yann@1
    30
    This file is part of the GNU C Library.
yann@1
    31
 
yann@1
    32
    The GNU C Library is free software; you can redistribute it and/or
yann@1
    33
@@ -38,10 +38,9 @@ extern const char *const *__old_sys_errl
yann@1
    34
 const int __old_sys_nerr = OLD_ERRLIST_SIZE;
yann@1
    35
 
yann@1
    36
 strong_alias (__old_sys_nerr, _old_sys_nerr);
yann@1
    37
-weak_alias (__old_sys_nerr, _old_sys_nerr)
yann@1
    38
 compat_symbol (libc, __old_sys_nerr, _sys_nerr, GLIBC_2_0);
yann@1
    39
 compat_symbol (libc, _old_sys_nerr, sys_nerr, GLIBC_2_0);
yann@1
    40
-weak_alias (__old_sys_errlist, _old_sys_errlist);
yann@1
    41
+strong_alias (__old_sys_errlist, _old_sys_errlist);
yann@1
    42
 compat_symbol (libc, __old_sys_errlist, _sys_errlist, GLIBC_2_0);
yann@1
    43
 compat_symbol (libc, _old_sys_errlist, sys_errlist, GLIBC_2_0);
yann@1
    44
 #endif
yann@1
    45
yann@1
    46
yann@1
    47
yann@1
    48