Skip to content

Commit

Permalink
* stdlib/atexit.c (atexit): Don't mark as hidden when used to
Browse files Browse the repository at this point in the history
	generate compatibility version.
  • Loading branch information
Ulrich Drepper committed Oct 31, 2006
1 parent 416b630 commit 2a0c737
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 2 additions & 0 deletions stdlib/atexit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2a0c737

Please sign in to comment.