From d7a10f9610f4a1ef8abd678f85fbcbc05874b856 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 30 May 2012 09:57:22 +0000 Subject: [PATCH] Replace __pthread_once_internal alias by hidden_def for ARM. --- ChangeLog.arm | 5 +++++ sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog.arm b/ChangeLog.arm index ec63edb..1d684d2 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -1,3 +1,8 @@ +2012-05-30 Joseph Myers + + * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Replace + _internal alias by hidden_def. + 2012-05-26 Joseph Myers * sysdeps/unix/sysv/linux/arm/syscalls.list (chown): New. diff --git a/sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c b/sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c index 5c6d26d..eea1287 100644 --- a/sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c +++ b/sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2004, 2005 Free Software Foundation, Inc. +/* Copyright (C) 2004-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -86,7 +86,7 @@ __pthread_once (pthread_once_t *once_control, void (*init_routine) (void)) return 0; } weak_alias (__pthread_once, pthread_once) -strong_alias (__pthread_once, __pthread_once_internal) +hidden_def (__pthread_once) #if defined(__USING_SJLJ_EXCEPTIONS__) && !defined(__PIC__) /* When statically linked, if pthread_create is used, this file -- 2.7.4