diff options
| author | Carlos O'Donell <carlos@systemhalted.org> | 2010-02-01 17:47:51 -0500 |
|---|---|---|
| committer | Carlos O'Donell <carlos@systemhalted.org> | 2010-02-01 17:54:59 -0500 |
| commit | cbbda7adb231ee3367f077b4ed9ec9620afd12db (patch) | |
| tree | 6534bec5b786dfff37f48ad7e5ad155f856783ec | |
| parent | b8eca7ff8ca1cbc3e1d6bec2fed4213863fa441b (diff) | |
| download | glibc-cbbda7adb231ee3367f077b4ed9ec9620afd12db.tar.xz glibc-cbbda7adb231ee3367f077b4ed9ec9620afd12db.zip | |
Adjust errlist-compat to 257 for GLIBC_2.12
Added definitions for EOWNERDEAD, ENOTRECOVERABLE
and ERFKILL.
| -rw-r--r-- | ChangeLog.hppa | 9 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/hppa/Versions | 4 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/hppa/bits/errno.h | 12 |
3 files changed, 25 insertions, 0 deletions
diff --git a/ChangeLog.hppa b/ChangeLog.hppa index be0a71a91d..4ccc1df435 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -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: diff --git a/sysdeps/unix/sysv/linux/hppa/Versions b/sysdeps/unix/sysv/linux/hppa/Versions index 3dbc9ac50d..3bff6ec4fc 100644 --- a/sysdeps/unix/sysv/linux/hppa/Versions +++ b/sysdeps/unix/sysv/linux/hppa/Versions @@ -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 { diff --git a/sysdeps/unix/sysv/linux/hppa/bits/errno.h b/sysdeps/unix/sysv/linux/hppa/bits/errno.h index 003d71f622..742448dd4e 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/errno.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/errno.h @@ -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__)); |
