about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2012-11-19 00:55:04 -0500
committerCarlos O'Donell <carlos@systemhalted.org>2012-11-19 00:55:04 -0500
commit6e63f4ff608820fa9247c1bbafc95dffbcbc0466 (patch)
tree1d283f144c4fed5a14ab4e12412fbd6c8c3418a5
parentda66ca0fc0d099b381b0bee96eae9be378417e0e (diff)
downloadglibc-6e63f4ff608820fa9247c1bbafc95dffbcbc0466.tar.gz
glibc-6e63f4ff608820fa9247c1bbafc95dffbcbc0466.tar.xz
glibc-6e63f4ff608820fa9247c1bbafc95dffbcbc0466.zip
hppa: Mark __pthread_once as a hidden def.
-rw-r--r--ports/ChangeLog.hppa5
-rw-r--r--ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa
index 3f7bd6e5e0..28e5f0696b 100644
--- a/ports/ChangeLog.hppa
+++ b/ports/ChangeLog.hppa
@@ -1,3 +1,8 @@
+2012-11-19  Mike Frysinger  <vapier@gentoo.org>
+
+	* sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Replace _internal
+	alias by hidden_def.
+
 2012-11-18  Carlos O'Donell  <carlos@systemhalted.org>
 
 	* sysdeps/hppa/fpu/fesetenv.c: Reset FPU to default for FE_DFL_ENV.
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c
index 974819ead6..b920ebb22c 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
 
@@ -90,4 +90,4 @@ __pthread_once (once_control, init_routine)
   return 0;
 }
 weak_alias (__pthread_once, pthread_once)
-strong_alias (__pthread_once, __pthread_once_internal)
+hidden_def (__pthread_once)