Adjust errlist-compat to 257 for GLIBC_2.12

Added definitions for EOWNERDEAD, ENOTRECOVERABLE
and ERFKILL.
This commit is contained in:
Carlos O'Donell 2010-02-01 17:47:51 -05:00
parent b8eca7ff8c
commit cbbda7adb2
3 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2010-02-01 Carlos O'Donell <carlos@codesourcery.com>
* sysdeps/unix/sysv/linux/hppa/Versions: Bump
errlist-compat to 257 for GLIBC_2.12.
* sysdeps/unix/sysv/linux/hppa/bits/errno.h
(EOWNERDEAD): Define if not already defined.
(ENOTRECOVERABLE): Likewise.
(ERFKILL): Likewise.
2009-11-29 Carlos O'Donell <carlos@codesourcery.com>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:

View File

@ -23,6 +23,10 @@ libc {
GLIBC_2.11 {
fallocate64;
}
GLIBC_2.12 {
#errlist-compat 257
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
}
}
librt {
GLIBC_2.3 {

View File

@ -30,6 +30,18 @@
# define ECANCELED ECANCELLED
# endif
# ifndef EOWNERDEAD
# define EOWNERDEAD 254
# endif
# ifndef ENOTRECOVERABLE
# define ENOTRECOVERABLE 255
# endif
# ifndef ERFKILL
# define ERFKILL 256
# endif
# ifndef __ASSEMBLER__
/* Function to get address of global `errno' variable. */
extern int *__errno_location (void) __THROW __attribute__ ((__const__));