Skip to content

Commit

Permalink
* pthread_atfork.c: Mark __dso_handle as hidden.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed May 10, 2006
1 parent 0088b04 commit 790fc6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2006-05-10 Ulrich Drepper <drepper@redhat.com>

* pthread_atfork.c: Mark __dso_handle as hidden.

2006-05-09 Ulrich Drepper <drepper@redhat.com>

[BZ #2644]
Expand Down
5 changes: 3 additions & 2 deletions nptl/pthread_atfork.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2002 Free Software Foundation, Inc.
/* Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
Expand Down Expand Up @@ -38,7 +38,8 @@
#include <fork.h>

/* This is defined by newer gcc version unique for each module. */
extern void *__dso_handle __attribute__ ((__weak__));
extern void *__dso_handle __attribute__ ((__weak__,
__visibility__ ("hidden")));


/* Hide the symbol so that no definition but the one locally in the
Expand Down

0 comments on commit 790fc6e

Please sign in to comment.