From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4520 invoked by alias); 30 May 2012 10:01:20 -0000 Received: (qmail 4502 invoked by uid 22791); 30 May 2012 10:01:18 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 May 2012 10:01:03 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1SZfiA-00022z-De from joseph_myers@mentor.com for libc-ports@sourceware.org; Wed, 30 May 2012 03:01:02 -0700 Received: from digraph.polyomino.org.uk ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 May 2012 11:01:00 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.74) (envelope-from ) id 1SZfi7-0007Qg-Gj for libc-ports@sourceware.org; Wed, 30 May 2012 10:00:59 +0000 Date: Wed, 30 May 2012 10:01:00 -0000 From: "Joseph S. Myers" To: libc-ports@sourceware.org Subject: Ports updates for NPTL _internal aliases change Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00177.txt.bz2 I've applied these changes to update the ARM and MIPS ports for the move of NPTL to use hidden_def instead of _internal function aliases. Other architectures (alpha, ia64, hppa, m68k, tile) will need similar changes. hppa does more complicated things with _internal function names and I don't know exactly what will be right there. 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/ChangeLog.mips b/ChangeLog.mips index b7c1ff3..d058589 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2012-05-30 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace + _internal alias by hidden_def. + 2012-05-26 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: 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 diff --git a/sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c b/sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c index 0b62076..308da8b 100644 --- a/sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c +++ b/sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2005 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 , 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) -- Joseph S. Myers joseph@codesourcery.com