about summary refs log tree commit diff
path: root/ports/sysdeps
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2012-09-20 03:18:47 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2012-09-20 03:18:47 -0400
commiteee702591698c36253483818963d8305d87df643 (patch)
tree338c014fa4da055a478e73ea1b8cff1d3bb50936 /ports/sysdeps
parentf3fd569c365ca5149fedbbc6c7a902aa1f8e5b60 (diff)
downloadglibc-eee702591698c36253483818963d8305d87df643.tar.gz
glibc-eee702591698c36253483818963d8305d87df643.tar.xz
glibc-eee702591698c36253483818963d8305d87df643.zip
hppa: Add EHWPOISON and bump errlist-compat to 260
Add errno EHWPOISON and bump the errlist-compat table to 260,
providing 2 padding entries for future use before bumping is
again required.
Diffstat (limited to 'ports/sysdeps')
-rw-r--r--ports/sysdeps/unix/sysv/linux/hppa/Versions2
-rw-r--r--ports/sysdeps/unix/sysv/linux/hppa/bits/errno.h10
2 files changed, 9 insertions, 3 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/Versions b/ports/sysdeps/unix/sysv/linux/hppa/Versions
index 1e2e320c0c..a62ef195ad 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 2487739e35..86a173a668 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__