From: Ulrich Drepper Date: Tue, 31 Oct 2006 22:01:36 +0000 (+0000) Subject: * stdlib/atexit.c (atexit): Don't mark as hidden when used to X-Git-Tag: cvs/fedora-glibc-20061103T1610~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a0c7376d044d5a79d4740701cefb36cfc483c8d;p=platform%2Fupstream%2Fglibc.git * stdlib/atexit.c (atexit): Don't mark as hidden when used to generate compatibility version. --- diff --git a/ChangeLog b/ChangeLog index f97d54c..a80f2f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-31 Ulrich Drepper + + * stdlib/atexit.c (atexit): Don't mark as hidden when used to + generate compatibility version. + 2006-10-29 Ulrich Drepper * 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,