]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* 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 f97d54ce8c159f8aec7b48a3ea7a279080fc3f5b..a80f2f1ce8369f6d0528b953fa70d29802178f4b 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 0575dda03b0355be8b89b353ffa9485dec072a99..256c5fcfc0db8d388c853b7c467665c1d8f4865b 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,