mirror of git://sourceware.org/git/glibc.git
alpha: Add support for Linux error EHWPOISON
This commit is contained in:
parent
d6353c0f81
commit
f157a61945
|
@ -1,3 +1,10 @@
|
||||||
|
2012-02-20 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/alpha/bits/errno.h (ERFKILL, EHWPOISON):
|
||||||
|
Define if not defined.
|
||||||
|
* sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist compat
|
||||||
|
entry for 2.16.
|
||||||
|
|
||||||
2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
|
2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/alpha/sysconf.c: Fix cache sysconf switch.
|
* sysdeps/unix/sysv/linux/alpha/sysconf.c: Fix cache sysconf switch.
|
||||||
|
|
|
@ -81,6 +81,10 @@ libc {
|
||||||
#errlist-compat 139
|
#errlist-compat 139
|
||||||
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
|
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
|
||||||
}
|
}
|
||||||
|
GLIBC_2.16 {
|
||||||
|
#errlist-compat 140
|
||||||
|
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
|
||||||
|
}
|
||||||
GLIBC_PRIVATE {
|
GLIBC_PRIVATE {
|
||||||
__libc_alpha_cache_shape;
|
__libc_alpha_cache_shape;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Error constants. Linux/Alpha specific version.
|
/* Error constants. Linux/Alpha specific version.
|
||||||
Copyright (C) 1996,1997,1998,1999,2002,2005 Free Software Foundation, Inc.
|
Copyright (C) 1996,1997,1998,1999,2002,2005,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
|
||||||
|
@ -37,6 +37,14 @@
|
||||||
# define ENOTRECOVERABLE 137
|
# define ENOTRECOVERABLE 137
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
# ifndef ERFKILL
|
||||||
|
# define ERFKILL 138
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# ifndef EHWPOISON
|
||||||
|
# define EHWPOISON 139
|
||||||
|
# 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__));
|
||||||
|
|
Loading…
Reference in New Issue