diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-10-31 22:01:36 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-10-31 22:01:36 +0000 |
commit | 2a0c7376d044d5a79d4740701cefb36cfc483c8d (patch) | |
tree | 79922cebafa5966b501bef17d67bf4bd75d65bab | |
parent | 416b630981788c1f08e746e19765aa0e5c2a1360 (diff) | |
download | glibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.zip glibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.tar.gz glibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.tar.bz2 |
* stdlib/atexit.c (atexit): Don't mark as hidden when used to
generate compatibility version.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | stdlib/atexit.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -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 0575dda..256c5fc 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, |