mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Add support for Linux error EHWPOISON
This commit is contained in:
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
* manual/errno.texi (Error Codes): Add EHWPOISON entry.
|
||||||
|
* sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
|
||||||
|
defined.
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
|
||||||
|
entry for 2.16.
|
||||||
|
|
||||||
2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
|
2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
|
||||||
|
|
||||||
* math/w_acos.c: Use non-signaling floating-point comparisons.
|
* math/w_acos.c: Use non-signaling floating-point comparisons.
|
||||||
|
@ -1271,6 +1271,12 @@ They are not yet documented.}
|
|||||||
@comment errno ???/???
|
@comment errno ???/???
|
||||||
@end deftypevr
|
@end deftypevr
|
||||||
|
|
||||||
|
@comment errno.h
|
||||||
|
@comment Linux: Memory page has hardware error
|
||||||
|
@deftypevr Macro int EHWPOISON
|
||||||
|
@comment errno ???/???
|
||||||
|
@end deftypevr
|
||||||
|
|
||||||
@node Error Messages, , Error Codes, Error Reporting
|
@node Error Messages, , Error Codes, Error Reporting
|
||||||
@section Error Messages
|
@section Error Messages
|
||||||
|
|
||||||
|
@ -1463,6 +1463,14 @@ TRANS error; @pxref{Cancel AIO Operations}. */
|
|||||||
# undef ERR_MAX
|
# undef ERR_MAX
|
||||||
# define ERR_MAX ERFKILL
|
# define ERR_MAX ERFKILL
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
#ifdef EHWPOISON
|
||||||
|
/* */
|
||||||
|
[ERR_REMAP (EHWPOISON)] = N_("Memory page has hardware error"),
|
||||||
|
# if EHWPOISON > ERR_MAX
|
||||||
|
# undef ERR_MAX
|
||||||
|
# define ERR_MAX EHWPOISON
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Error constants. Linux specific version.
|
/* Error constants. Linux specific version.
|
||||||
Copyright (C) 1996-1999, 2005, 2009 Free Software Foundation, Inc.
|
Copyright (C) 1996-1999, 2005, 2009, 2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -41,6 +41,10 @@
|
|||||||
# define ERFKILL 132
|
# define ERFKILL 132
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
# ifndef EHWPOISON
|
||||||
|
# define EHWPOISON 133
|
||||||
|
# endif
|
||||||
|
|
||||||
# ifndef __ASSEMBLER__
|
# ifndef __ASSEMBLER__
|
||||||
/* Function to get address of global `errno' variable. */
|
/* Function to get address of global `errno' variable. */
|
||||||
extern int *__errno_location (void) __THROW __attribute__ ((__const__));
|
extern int *__errno_location (void) __THROW __attribute__ ((__const__));
|
||||||
|
@ -23,6 +23,10 @@ libc {
|
|||||||
#errlist-compat 135
|
#errlist-compat 135
|
||||||
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
|
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
|
||||||
}
|
}
|
||||||
|
GLIBC_2.16 {
|
||||||
|
#errlist-compat 136
|
||||||
|
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
librt {
|
librt {
|
||||||
GLIBC_2.3 {
|
GLIBC_2.3 {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Error constants. Linux/Sparc specific version.
|
/* Error constants. Linux/Sparc specific version.
|
||||||
Copyright (C) 1996-1999,2002,2005,2009 Free Software Foundation, Inc.
|
Copyright (C) 1996-1999,2002,2005,2009,2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -40,6 +40,10 @@
|
|||||||
# define ERFKILL 134
|
# define ERFKILL 134
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
# ifndef EHWPOISON
|
||||||
|
# define EHWPOISON 135
|
||||||
|
# endif
|
||||||
|
|
||||||
# ifndef __ASSEMBLER__
|
# ifndef __ASSEMBLER__
|
||||||
/* Function to get address of global `errno' variable. */
|
/* Function to get address of global `errno' variable. */
|
||||||
extern int *__errno_location (void) __THROW __attribute__ ((__const__));
|
extern int *__errno_location (void) __THROW __attribute__ ((__const__));
|
||||||
|
Reference in New Issue
Block a user