aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-10-31 22:01:36 +0000
committerUlrich Drepper <drepper@redhat.com>2006-10-31 22:01:36 +0000
commit2a0c7376d044d5a79d4740701cefb36cfc483c8d (patch)
tree79922cebafa5966b501bef17d67bf4bd75d65bab
parent416b630981788c1f08e746e19765aa0e5c2a1360 (diff)
downloadglibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.tar
glibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.tar.gz
glibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.tar.bz2
glibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.zip
* stdlib/atexit.c (atexit): Don't mark as hidden when used to
generate compatibility version.
-rw-r--r--ChangeLog5
-rw-r--r--stdlib/atexit.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f97d54ce8c..a80f2f1ce8 100644
--- 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.
diff --git a/stdlib/atexit.c b/stdlib/atexit.c
index 0575dda03b..256c5fcfc0 100644
--- a/stdlib/atexit.c
+++ b/stdlib/atexit.c
@@ -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,