Remove *xattr syscalls.
[glibc.git] / sysdeps / unix / sysv / linux / arm / errlist.c
blobba8c44b88c8f8cced5f20ee3d92a4730c1d756e6
1 /* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with the GNU C Library; if not, write to the Free
16 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
17 02111-1307 USA. */
19 #include <sizes.h>
20 #include <errlist.h>
21 #include <shlib-compat.h>
23 #define SYS_ERRLIST __new_sys_errlist
24 #define SYS_NERR __new_sys_nerr
26 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
27 asm (".data; .globl __old_sys_errlist; __old_sys_errlist:");
28 #endif
30 #include <sysdeps/gnu/errlist.c>
32 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
33 asm (".type __old_sys_errlist,%object;.size __old_sys_errlist,"
34 OLD_ERRLIST_SIZE_STR "*" PTR_SIZE_STR);
36 extern const char *const *__old_sys_errlist;
38 const int __old_sys_nerr = OLD_ERRLIST_SIZE;
40 strong_alias (__old_sys_nerr, _old_sys_nerr);
41 compat_symbol (libc, __old_sys_nerr, _sys_nerr, GLIBC_2_0);
42 compat_symbol (libc, _old_sys_nerr, sys_nerr, GLIBC_2_0);
43 strong_alias (__old_sys_errlist, _old_sys_errlist);
44 compat_symbol (libc, __old_sys_errlist, _sys_errlist, GLIBC_2_0);
45 compat_symbol (libc, _old_sys_errlist, sys_errlist, GLIBC_2_0);
46 #endif
48 strong_alias (__new_sys_nerr, _new_sys_nerr)
49 versioned_symbol (libc, __new_sys_nerr, _sys_nerr, GLIBC_2_1);
50 versioned_symbol (libc, _new_sys_nerr, sys_nerr, GLIBC_2_1);
51 strong_alias (__new_sys_errlist, _new_sys_errlist)
52 versioned_symbol (libc, __new_sys_errlist, _sys_errlist, GLIBC_2_1);
53 versioned_symbol (libc, _new_sys_errlist, sys_errlist, GLIBC_2_1);