about summary refs log tree commit diff
path: root/sysdeps/gnu/errlist-compat.awk
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/gnu/errlist-compat.awk
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/gnu/errlist-compat.awk')
-rw-r--r--sysdeps/gnu/errlist-compat.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/gnu/errlist-compat.awk b/sysdeps/gnu/errlist-compat.awk
index c9a7a9cc44..4ab9786e63 100644
--- a/sysdeps/gnu/errlist-compat.awk
+++ b/sysdeps/gnu/errlist-compat.awk
@@ -52,6 +52,11 @@ $1 == "#errlist-compat" {
 }
 
 END {
+  if (! highest_version) {
+    print "/* No sys_errlist/sys_nerr symbols defined on this platform.  */";
+    exit 0;
+  }
+
   count = maxerr + 1;
 
   if (highest != count) {