about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-05-30 12:22:59 -0400
committerChris Metcalf <cmetcalf@tilera.com>2012-05-30 13:15:23 -0400
commita7ccf2071734f6cd01c228b04947647faf43d3f6 (patch)
tree3cced07c0d38faaa1484102952eed222783b3325
parent3b3b9920c96cc004b132658546bdb84761415777 (diff)
downloadglibc-a7ccf2071734f6cd01c228b04947647faf43d3f6.tar.gz
glibc-a7ccf2071734f6cd01c228b04947647faf43d3f6.tar.xz
glibc-a7ccf2071734f6cd01c228b04947647faf43d3f6.zip
tile: Use hidden_def for pthread_once
-rw-r--r--ChangeLog.tile3
-rw-r--r--sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog.tile b/ChangeLog.tile
index c07f94fb44..4e012515b2 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -1,5 +1,8 @@
 2012-05-30  Chris Metcalf  <cmetcalf@tilera.com>
 
+	* sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Replace
+	_internal alias by hidden_def.
+
 	* sysdeps/unix/sysv/linux/tile/kernel-features.h
 	(__ASSUME_NEW_GETRLIMIT_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL): Remove.
 
diff --git a/sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c b/sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c
index 7585e674d5..93ac29b24c 100644
--- a/sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c
+++ b/sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
    Based on work contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
@@ -91,4 +91,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)