* stdlib/atexit.c (atexit): Don't mark as hidden when used to
authorUlrich Drepper <drepper@redhat.com>
Tue, 31 Oct 2006 22:01:36 +0000 (22:01 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 31 Oct 2006 22:01:36 +0000 (22:01 +0000)
generate compatibility version.

ChangeLog
stdlib/atexit.c

index f97d54c..a80f2f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-31  Ulrich Drepper  <drepper@redhat.com>
+
+       * stdlib/atexit.c (atexit): Don't mark as hidden when used to
+       generate compatibility version.
+
 2006-10-29  Ulrich Drepper  <drepper@redhat.com>
 
        * configure.in: Relax -z relro requirement a bit.
index 0575dda..256c5fc 100644 (file)
@@ -43,7 +43,9 @@ extern void *__dso_handle __attribute__ ((__weak__));
 
 /* Register FUNC to be executed by `exit'.  */
 int
+#ifndef atexit
 attribute_hidden
+#endif
 atexit (void (*func) (void))
 {
   return __cxa_atexit ((void (*) (void *)) func, NULL,