From a04f6df10c45124c580acba3db93089b53fee0a5 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 18 Nov 2011 21:34:14 -0800
Subject: [PATCH 394/396] libpthread/nptl/pthread_atfork.c: Mark __dso_handle hidden

This fixes the linker warning we get

hidden symbol '__dso_handle' in
crtbegin.o is referenced by DSO /lib/libc.so.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 libpthread/nptl/pthread_atfork.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libpthread/nptl/pthread_atfork.c b/libpthread/nptl/pthread_atfork.c
index e607d49..a11d568 100644
--- a/libpthread/nptl/pthread_atfork.c
+++ b/libpthread/nptl/pthread_atfork.c
@@ -38,8 +38,8 @@
 #include <fork.h>
 
 /* This is defined by newer gcc version unique for each module.  */
-extern void *__dso_handle __attribute__ ((__weak__));
-					  //,__visibility__ ("hidden")));
+extern void *__dso_handle __attribute__ ((__weak__,
+					  __visibility__ ("hidden")));
 
 
 /* Hide the symbol so that no definition but the one locally in the
-- 
1.7.0.4

