diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-02-19 18:20:39 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-02-20 18:16:05 +0100 |
commit | f157a61945c5c576d0223020b351f666b0dc2886 (patch) | |
tree | b9bf767925be7f9ce7dc5c683f70612acfacd24a /sysdeps/unix | |
parent | d6353c0f81b74f8bdecb76af3f36857cfe966754 (diff) | |
download | glibc-f157a61945c5c576d0223020b351f666b0dc2886.tar glibc-f157a61945c5c576d0223020b351f666b0dc2886.tar.gz glibc-f157a61945c5c576d0223020b351f666b0dc2886.tar.bz2 glibc-f157a61945c5c576d0223020b351f666b0dc2886.zip |
alpha: Add support for Linux error EHWPOISON
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/Versions | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/errno.h | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/Versions b/sysdeps/unix/sysv/linux/alpha/Versions index 5a617b4be2..b3cec3a75f 100644 --- a/sysdeps/unix/sysv/linux/alpha/Versions +++ b/sysdeps/unix/sysv/linux/alpha/Versions @@ -81,6 +81,10 @@ libc { #errlist-compat 139 _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; } + GLIBC_2.16 { + #errlist-compat 140 + _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; + } GLIBC_PRIVATE { __libc_alpha_cache_shape; } diff --git a/sysdeps/unix/sysv/linux/alpha/bits/errno.h b/sysdeps/unix/sysv/linux/alpha/bits/errno.h index 8b2f152a1c..5c72a56cd2 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/errno.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/errno.h @@ -1,5 +1,5 @@ /* 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. The GNU C Library is free software; you can redistribute it and/or @@ -37,6 +37,14 @@ # define ENOTRECOVERABLE 137 # endif +# ifndef ERFKILL +# define ERFKILL 138 +# endif + +# ifndef EHWPOISON +# define EHWPOISON 139 +# endif + # ifndef __ASSEMBLER__ /* Function to get address of global `errno' variable. */ extern int *__errno_location (void) __THROW __attribute__ ((__const__)); |