This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch adds EHWPOISON and bumps #errlist-compat. Patch based on update thanks to Andreas: http://sourceware.org/ml/libc-ports/2012-02/msg00061.html Checked in to trunk. 2012-09-20 Carlos O'Donell <carlos@systemhalted.org> Andreas Schwab <schwab@linux-m68k.org> * sysdeps/unix/sysv/linux/hppa/Versions: Add new errlist-compat entry value of 260 for GLIBC_2.17. * sysdeps/unix/sysv/linux/hppa/bits/errno.h (EHWPOISON): Define if not defined. diff --git a/ports/sysdeps/unix/sysv/linux/hppa/Versions b/ports/sysdeps/unix/sysv/linux/hppa/Versions index 1e2e320..a62ef19 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/Versions +++ b/ports/sysdeps/unix/sysv/linux/hppa/Versions @@ -28,6 +28,8 @@ libc { _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; } GLIBC_2.17 { + #errlist-compat 260 + _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; prlimit64; } } diff --git a/ports/sysdeps/unix/sysv/linux/hppa/bits/errno.h b/ports/sysdeps/unix/sysv/linux/hppa/bits/errno.h index 2487739..86a173a 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/bits/errno.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/errno.h @@ -1,5 +1,5 @@ /* Error constants. Linux/HPPA specific version. - Copyright (C) 1996,1997,1998,1999,2000,2002 Free Software Foundation, Inc. + Copyright (C) 1996-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -33,12 +33,16 @@ # define EOWNERDEAD 254 # endif -# ifndef ENOTRECOVERABLE +# ifndef ENOTRECOVERABLE # define ENOTRECOVERABLE 255 # endif # ifndef ERFKILL -# define ERFKILL 256 +# define ERFKILL 256 +# endif + +# ifndef EHWPOISON +# define EHWPOISON 257 # endif # ifndef __ASSEMBLER__ --- Cheers, Carlos. -- Carlos O'Donell Mentor Graphics / CodeSourcery carlos_odonell@mentor.com carlos@codesourcery.com +1 (613) 963 1026
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |