From cbbda7adb231ee3367f077b4ed9ec9620afd12db Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Mon, 1 Feb 2010 17:47:51 -0500 Subject: [PATCH] Adjust errlist-compat to 257 for GLIBC_2.12 Added definitions for EOWNERDEAD, ENOTRECOVERABLE and ERFKILL. --- ChangeLog.hppa | 9 +++++++++ sysdeps/unix/sysv/linux/hppa/Versions | 4 ++++ sysdeps/unix/sysv/linux/hppa/bits/errno.h | 12 ++++++++++++ 3 files changed, 25 insertions(+) diff --git a/ChangeLog.hppa b/ChangeLog.hppa index be0a71a91d0..4ccc1df435e 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,3 +1,12 @@ +2010-02-01 Carlos O'Donell + + * 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 * 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 3dbc9ac50d8..3bff6ec4fc4 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 003d71f6228..742448dd4ec 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__)); -- 2.47.2