about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--elf/dl-minimal.c12
2 files changed, 2 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 22c423df4a..440dc30f6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2002-07-25  Ulrich Drepper  <drepper@redhat.com>
 
+	* elf/dl-minimal.c: Remove definition of __assert_perror_fail.
+
 	* sysdeps/wordsize-32/divdi3.c: Define __divdi3_internal.
 	* sysdeps/wordsize-32/lldiv.c: Make gcc use __divdi3_internal instead
 	of __divdi3.
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
index 0627a8908d..98486ea3d0 100644
--- a/elf/dl-minimal.c
+++ b/elf/dl-minimal.c
@@ -211,18 +211,6 @@ Inconsistency detected by ld.so: %s: %u: %s%sAssertion `%s' failed!\n",
 }
 INTDEF(__assert_fail)
 
-void weak_function
-__assert_perror_fail (int errnum,
-		      const char *file, unsigned int line,
-		      const char *function)
-{
-  char errbuf[64];
-  _dl_fatal_printf ("\
-Inconsistency detected by ld.so: %s: %u: %s%sUnexpected error: %s\n",
-		    file, line, function ?: "", function ? ": " : "",
-		    __strerror_r (errnum, errbuf, sizeof (errbuf)));
-}
-
 #endif
 
 unsigned long int weak_function