about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Versions
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-30 01:31:18 +0000
committerRoland McGrath <roland@gnu.org>2002-08-30 01:31:18 +0000
commit7a9ce79a3b0746e0db7d3cc4264a78a9d79620a3 (patch)
tree4a2abc188ca0309eabf51e382a8aed90119c5198 /sysdeps/unix/sysv/linux/Versions
parent868b78c83cef264d69a854d9128a68845f346fe3 (diff)
downloadglibc-7a9ce79a3b0746e0db7d3cc4264a78a9d79620a3.tar.gz
glibc-7a9ce79a3b0746e0db7d3cc4264a78a9d79620a3.tar.xz
glibc-7a9ce79a3b0746e0db7d3cc4264a78a9d79620a3.zip
* sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def.
	* sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64).

	* sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort.

	* include/assert.h (__assert_perror_fail): Declare it, do hidden_proto.
	* assert/assert-perr.c: Add libc_hidden_def.
	* elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function.

	* sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions
	found at all.
	* sysdeps/gnu/Versions: File removed.  Moved all #errlist-compat
	sys_errlist stuff to ...
	* sysdeps/unix/sysv/linux/Versions: ... here.

	* mach/mach.h: Include <features.h>.
Diffstat (limited to 'sysdeps/unix/sysv/linux/Versions')
-rw-r--r--sysdeps/unix/sysv/linux/Versions14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index 53cd880425..9dd6b2a275 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -1,4 +1,9 @@
 libc {
+  # The comment lines with "#errlist-compat" are magic; see errlist-compat.awk.
+  # When you get an error from errlist-compat.awk, you need to add a new
+  # version here.  Don't do this blindly, since this means changing the ABI
+  # for all GNU/Linux configurations.
+
   GLIBC_2.0 {
     # functions used in inline functions or macros
     __cmsg_nxthdr;
@@ -50,6 +55,9 @@ libc {
 
     # u*
     umount; uselib;
+
+    #errlist-compat	123
+    _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
   GLIBC_2.1 {
     # functions used in inline functions or macros
@@ -75,6 +83,9 @@ libc {
 
     # u*
     umount2;
+
+    #errlist-compat	125
+    _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
   GLIBC_2.2 {
     # needed in other libraries.
@@ -90,6 +101,9 @@ libc {
   GLIBC_2.3 {
     # r*
     readahead;
+
+    #errlist-compat	126
+    _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
   GLIBC_PRIVATE {
     # needed by libpthread.