* stdlib/atexit.c (atexit): Don't mark as hidden when used to

generate compatibility version.
This commit is contained in:
Ulrich Drepper 2006-10-31 22:01:36 +00:00
parent 416b630981
commit 2a0c7376d0
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View 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,