svn commit: branches/uClibc-nptl: ldso/include ldso/ldso libc/misc/pthread etc...

sjhill at uclibc.org sjhill at uclibc.org
Sat Jan 14 19:32:13 UTC 2006


Author: sjhill
Date: 2006-01-14 11:32:10 -0800 (Sat, 14 Jan 2006)
New Revision: 13320

Log:
Get rid of more glibc NPTL symbol and alias madness. Also disable usage of
'libc/sysdeps/linux/common/fork.c' when NPTL is being used. Finally, there
are additional weak functions that need to be defined when using NPTL which
have also been added.


Modified:
   branches/uClibc-nptl/ldso/include/ldsodefs.h
   branches/uClibc-nptl/ldso/ldso/dl-tls.c
   branches/uClibc-nptl/libc/misc/pthread/weaks.c
   branches/uClibc-nptl/libc/signal/sigfillset.c
   branches/uClibc-nptl/libpthread/nptl/cleanup.c
   branches/uClibc-nptl/libpthread/nptl/compat/libc-symbols.h
   branches/uClibc-nptl/libpthread/nptl/events.c
   branches/uClibc-nptl/libpthread/nptl/forward.c
   branches/uClibc-nptl/libpthread/nptl/pt-cleanup.c
   branches/uClibc-nptl/libpthread/nptl/pthreadP.h
   branches/uClibc-nptl/libpthread/nptl/sysdeps/generic/dl-tls.c
   branches/uClibc-nptl/libpthread/nptl/sysdeps/pthread/pthread-functions.h
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/alpha/vfork.S
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/raise.c
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/vfork.S
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S
   branches/uClibc-nptl/libpthread/nptl/unwind.c


Changeset:
Modified: branches/uClibc-nptl/ldso/include/ldsodefs.h
===================================================================
--- branches/uClibc-nptl/ldso/include/ldsodefs.h	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/ldso/include/ldsodefs.h	2006-01-14 19:32:10 UTC (rev 13320)
@@ -30,7 +30,6 @@
    platforms.  But this does not matter, ld.so can always use the local
    copy.  */
 extern void *__libc_stack_end;
-rtld_hidden_proto (__libc_stack_end)
 
 /* Determine next available module ID.  */
 extern size_t _dl_next_tls_modid (void) internal_function attribute_hidden;
@@ -42,11 +41,9 @@
    Returns nonzero on malloc failure.
    This is called from _dl_map_object_from_fd or by libpthread.  */
 extern int _dl_tls_setup (void) internal_function;
-rtld_hidden_proto (_dl_tls_setup)
 
 /* Allocate memory for static TLS block (unless MEM is nonzero) and dtv.  */
 extern void *_dl_allocate_tls (void *mem) internal_function;
-rtld_hidden_proto (_dl_allocate_tls)
 
 /* Get size and alignment requirements of the static TLS block.  */
 extern void _dl_get_tls_static_info (size_t *sizep, size_t *alignp)
@@ -60,11 +57,9 @@
 extern void *_dl_allocate_tls_storage (void)
      internal_function attribute_hidden;
 extern void *_dl_allocate_tls_init (void *) internal_function;
-rtld_hidden_proto (_dl_allocate_tls_init)
 
 /* Deallocate memory allocated with _dl_allocate_tls.  */
 extern void _dl_deallocate_tls (void *tcb, bool dealloc_tcb) internal_function;
-rtld_hidden_proto (_dl_deallocate_tls)
 
 extern void _dl_nothread_init_static_tls (struct link_map *) attribute_hidden;
 

Modified: branches/uClibc-nptl/ldso/ldso/dl-tls.c
===================================================================
--- branches/uClibc-nptl/ldso/ldso/dl-tls.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/ldso/ldso/dl-tls.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -463,7 +463,7 @@
 
   return 0;
 }
-rtld_hidden_def (_dl_tls_setup)
+hidden_def (_dl_tls_setup)
 
 static void *
 internal_function
@@ -631,7 +631,6 @@
 
   return result;
 }
-rtld_hidden_def (_dl_allocate_tls_init)
 
 void *
 internal_function
@@ -641,7 +640,6 @@
 				? _dl_allocate_tls_storage ()
 				: allocate_dtv (mem));
 }
-rtld_hidden_def (_dl_allocate_tls)
 
 void
 internal_function
@@ -673,7 +671,6 @@
       _dl_free (tcb);
     }
 }
-rtld_hidden_def (_dl_deallocate_tls)
 
 static void *
 allocate_and_init (struct link_map *map)
@@ -1039,4 +1036,4 @@
 
 	return tcbp;
 }
-rtld_hidden_def (init_tls)
+hidden_def (init_tls)

Modified: branches/uClibc-nptl/libc/misc/pthread/weaks.c
===================================================================
--- branches/uClibc-nptl/libc/misc/pthread/weaks.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libc/misc/pthread/weaks.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -36,3 +36,8 @@
 weak_alias (__pthread_return_0, __pthread_mutex_lock)
 weak_alias (__pthread_return_0, __pthread_mutex_trylock)
 weak_alias (__pthread_return_0, __pthread_mutex_unlock)
+#ifdef __UCLIBC_HAS_THREADS_NATIVE__
+weak_alias (__pthread_return_0, __pthread_mutexattr_init)
+weak_alias (__pthread_return_0, __pthread_mutexattr_destroy)
+weak_alias (__pthread_return_0, __pthread_mutexattr_settype)
+#endif

Modified: branches/uClibc-nptl/libc/signal/sigfillset.c
===================================================================
--- branches/uClibc-nptl/libc/signal/sigfillset.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libc/signal/sigfillset.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -30,7 +30,11 @@
       return -1;
     }
 
+#ifdef IS_IN_libc
   __memset (set, 0xff, sizeof (sigset_t));
+#else
+  memset (set, 0xff, sizeof (sigset_t));
+#endif
 
   /* If the implementation uses a cancellation signal don't set the bit.  */
 #ifdef SIGCANCEL

Modified: branches/uClibc-nptl/libpthread/nptl/cleanup.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/cleanup.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/cleanup.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -35,7 +35,6 @@
   /* Store the new cleanup handler info.  */
   THREAD_SETMEM (self, cleanup_jmp_buf, (struct pthread_unwind_buf *) buf);
 }
-hidden_def (__pthread_register_cancel)
 
 
 void
@@ -46,4 +45,3 @@
 
   THREAD_SETMEM (THREAD_SELF, cleanup_jmp_buf, ibuf->priv.data.prev);
 }
-hidden_def (__pthread_unregister_cancel)

Modified: branches/uClibc-nptl/libpthread/nptl/compat/libc-symbols.h
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/compat/libc-symbols.h	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/compat/libc-symbols.h	2006-01-14 19:32:10 UTC (rev 13320)
@@ -1,14 +1,6 @@
 #ifndef _LIBC_SYMBOLS_H
 #define _LIBC_SYMBOLS_H 1
 
-#ifndef __SYMBOL_PREFIX
-# ifndef C_SYMBOL_PREFIX
-#  define __SYMBOL_PREFIX
-# else
-#  define __SYMBOL_PREFIX	C_SYMBOL_PREFIX
-# endif
-#endif
-
 /* Handling on non-exported internal names.  We have to do this only
    for shared code.  */
 #ifdef SHARED
@@ -62,24 +54,6 @@
 # define hidden_data_def(name)
 # define hidden_data_ver(local, name)
 
-#if defined NOT_IN_libc && defined IS_IN_rtld
-# define rtld_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
-# define rtld_hidden_def(name)
-# define rtld_hidden_weak(name) hidden_weak (name)
-# define rtld_hidden_ver(local, name) hidden_ver (local, name)
-# define rtld_hidden_data_def(name) hidden_data_def (name)
-# define rtld_hidden_data_weak(name) hidden_data_weak (name)
-# define rtld_hidden_data_ver(local, name) hidden_data_ver (local, name)
-#else
-# define rtld_hidden_proto(name, attrs...)
-# define rtld_hidden_def(name)
-# define rtld_hidden_weak(name)
-# define rtld_hidden_ver(local, name)
-# define rtld_hidden_data_def(name)
-# define rtld_hidden_data_weak(name)
-# define rtld_hidden_data_ver(local, name)
-#endif
-
 #if !defined NOT_IN_libc
 # define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libc_hidden_def(name)

Modified: branches/uClibc-nptl/libpthread/nptl/events.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/events.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/events.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -25,10 +25,8 @@
 __nptl_create_event (void)
 {
 }
-hidden_def (__nptl_create_event)
 
 void
 __nptl_death_event (void)
 {
 }
-hidden_def (__nptl_death_event)

Modified: branches/uClibc-nptl/libpthread/nptl/forward.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/forward.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/forward.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -177,12 +177,25 @@
 FORWARD (pthread_mutex_init,
 	 (pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr),
 	 (mutex, mutexattr), 0)
+hidden_strong_alias(pthread_mutex_init, __pthread_mutex_init)
 
+FORWARD (pthread_mutex_trylock, (pthread_mutex_t *mutex), (mutex), 0)
+hidden_strong_alias(pthread_mutex_trylock, __pthread_mutex_trylock)
+
 FORWARD (pthread_mutex_lock, (pthread_mutex_t *mutex), (mutex), 0)
+hidden_strong_alias(pthread_mutex_lock, __pthread_mutex_lock)
 
 FORWARD (pthread_mutex_unlock, (pthread_mutex_t *mutex), (mutex), 0)
+hidden_strong_alias(pthread_mutex_unlock, __pthread_mutex_unlock)
 
+FORWARD (pthread_mutexattr_init, (pthread_mutexattr_t *attr), (attr), 0)
 
+FORWARD (pthread_mutexattr_destroy, (pthread_mutexattr_t *attr), (attr), 0)
+
+FORWARD (pthread_mutexattr_settype, (pthread_mutexattr_t *attr, int kind),
+				    (attr, kind), 0)
+
+
 FORWARD2 (pthread_self, pthread_t, (void), (), return 0)
 
 

Modified: branches/uClibc-nptl/libpthread/nptl/pt-cleanup.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/pt-cleanup.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/pt-cleanup.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -60,5 +60,3 @@
 
   THREAD_SETMEM (self, cleanup, cbuf);
 }
-hidden_def (__pthread_cleanup_upto)
-

Modified: branches/uClibc-nptl/libpthread/nptl/pthreadP.h
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/pthreadP.h	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/pthreadP.h	2006-01-14 19:32:10 UTC (rev 13320)
@@ -179,22 +179,22 @@
 # define LIBC_CANCEL_RESET(oldtype) \
   __libc_disable_asynccancel (oldtype)
 # define LIBC_CANCEL_HANDLED() \
-  __asm (".globl " __SYMBOL_PREFIX "__libc_enable_asynccancel"); \
-  __asm (".globl " __SYMBOL_PREFIX "__libc_disable_asynccancel")
+  __asm (".globl " __C_SYMBOL_PREFIX__ "__libc_enable_asynccancel"); \
+  __asm (".globl " __C_SYMBOL_PREFIX__ "__libc_disable_asynccancel")
 #elif defined NOT_IN_libc && defined IS_IN_libpthread
 # define LIBC_CANCEL_ASYNC() CANCEL_ASYNC ()
 # define LIBC_CANCEL_RESET(val) CANCEL_RESET (val)
 # define LIBC_CANCEL_HANDLED() \
-  __asm (".globl " __SYMBOL_PREFIX "__pthread_enable_asynccancel"); \
-  __asm (".globl " __SYMBOL_PREFIX "__pthread_disable_asynccancel")
+  __asm (".globl " __C_SYMBOL_PREFIX__ "__pthread_enable_asynccancel"); \
+  __asm (".globl " __C_SYMBOL_PREFIX__ "__pthread_disable_asynccancel")
 #elif defined NOT_IN_libc && defined IS_IN_librt
 # define LIBC_CANCEL_ASYNC() \
   __librt_enable_asynccancel ()
 # define LIBC_CANCEL_RESET(val) \
   __librt_disable_asynccancel (val)
 # define LIBC_CANCEL_HANDLED() \
-  __asm (".globl " __SYMBOL_PREFIX "__librt_enable_asynccancel"); \
-  __asm (".globl " __SYMBOL_PREFIX "__librt_disable_asynccancel")
+  __asm (".globl " __C_SYMBOL_PREFIX__ "__librt_enable_asynccancel"); \
+  __asm (".globl " __C_SYMBOL_PREFIX__ "__librt_disable_asynccancel")
 #else
 # define LIBC_CANCEL_ASYNC()	0 /* Just a dummy value.  */
 # define LIBC_CANCEL_RESET(val)	((void)(val)) /* Nothing, but evaluate it.  */

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/generic/dl-tls.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/generic/dl-tls.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/generic/dl-tls.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -302,7 +302,6 @@
 
   return 0;
 }
-rtld_hidden_def (_dl_tls_setup)
 # endif
 
 static void *
@@ -473,7 +472,6 @@
 
   return result;
 }
-rtld_hidden_def (_dl_allocate_tls_init)
 
 void *
 internal_function
@@ -483,7 +481,6 @@
 				? _dl_allocate_tls_storage ()
 				: allocate_dtv (mem));
 }
-rtld_hidden_def (_dl_allocate_tls)
 
 
 void
@@ -518,7 +515,6 @@
       free (tcb);
     }
 }
-rtld_hidden_def (_dl_deallocate_tls)
 
 
 # ifdef SHARED

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/pthread/pthread-functions.h
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/pthread/pthread-functions.h	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/pthread/pthread-functions.h	2006-01-14 19:32:10 UTC (rev 13320)
@@ -72,8 +72,12 @@
   int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *);
   int (*ptr_pthread_mutex_init) (pthread_mutex_t *,
 				 const pthread_mutexattr_t *);
+  int (*ptr_pthread_mutex_trylock) (pthread_mutex_t *);
   int (*ptr_pthread_mutex_lock) (pthread_mutex_t *);
   int (*ptr_pthread_mutex_unlock) (pthread_mutex_t *);
+  int (*ptr_pthread_mutexattr_init) (pthread_mutexattr_t *attr);
+  int (*ptr_pthread_mutexattr_destroy) (pthread_mutexattr_t *attr);
+  int (*ptr_pthread_mutexattr_settype) (pthread_mutexattr_t *attr, int kind);
   pthread_t (*ptr_pthread_self) (void);
   int (*ptr_pthread_setcancelstate) (int, int *);
   int (*ptr_pthread_setcanceltype) (int, int *);

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/alpha/vfork.S
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/alpha/vfork.S	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/alpha/vfork.S	2006-01-14 19:32:10 UTC (rev 13320)
@@ -42,5 +42,5 @@
 1:	ret
 
 PSEUDO_END (__vfork)
-libc_hidden_def (__vfork)
+hidden_def (__vfork)
 weak_alias (__vfork, vfork)

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -67,7 +67,7 @@
 
 
 pid_t
-__libc_fork_nptl (void)
+__libc_fork (void)
 {
   pid_t pid;
   struct used_handler
@@ -251,3 +251,6 @@
 
   return pid;
 }
+weak_alias (__libc_fork, __fork)
+hidden_def (__fork)
+weak_alias (__libc_fork, fork)

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -48,7 +48,7 @@
   /* We copy the content of the variable pointed to by the FUNCTIONS
      parameter to one in libc.so since this means access to the array
      can be done with one memory access instead of two.  */
-  memcpy (&__libc_pthread_functions, functions,
+  __memcpy (&__libc_pthread_functions, functions,
 	  sizeof (__libc_pthread_functions));
 #endif
 

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch	2006-01-14 19:32:10 UTC (rev 13320)
@@ -8,10 +8,10 @@
 libpthread_SSRC = pt-vfork.S #clone.S
 libpthread_CSRC = pthread_once.c
 
-libc_a_CSRC = fork-nptl.c
+libc_a_CSRC = fork.c
 
 ifeq ($(UCLIBC_HAS_STDIO_FUTEXES),y)
-CFLAGS-fork-nptl.c = -D__USE_STDIO_FUTEXES__
+CFLAGS-fork.c = -D__USE_STDIO_FUTEXES__
 endif
 CFLAGS-pthread_once.c = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
 

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S	2006-01-14 19:32:10 UTC (rev 13320)
@@ -53,5 +53,5 @@
 	PSEUDO_RET
 
 PSEUDO_END (__vfork)
-libc_hidden_def (__vfork)
+hidden_def (__vfork)
 weak_alias (__vfork, vfork)

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S	2006-01-14 19:32:10 UTC (rev 13320)
@@ -51,5 +51,5 @@
 	PSEUDO_RET
 
 PSEUDO_END (__vfork)
-libc_hidden_def (__vfork)
+hidden_def (__vfork)
 weak_alias (__vfork, vfork)

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -19,9 +19,10 @@
 
 #include <unistd.h>
 
+
 pid_t
 __fork (void)
 {
-  return __libc_fork_nptl ();
+  return __libc_fork ();
 }
 strong_alias (__fork, fork)

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/raise.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/raise.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/raise.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -71,5 +71,5 @@
   return INLINE_SYSCALL (tkill, 2, selftid, sig);
 #endif
 }
-libc_hidden_def (raise)
+hidden_def (raise)
 weak_alias (raise, gsignal)

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -106,7 +106,7 @@
 
   return newp == NULL ? ENOMEM : 0;
 }
-libc_hidden_def (__register_atfork)
+hidden_def (__register_atfork)
 
 
 #ifndef __UCLIBC__

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S	2006-01-14 19:32:10 UTC (rev 13320)
@@ -61,6 +61,5 @@
 	.word	PID - TLS_PRE_TCB_SIZE
 
 PSEUDO_END (__vfork)
-libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/vfork.S
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/vfork.S	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/vfork.S	2006-01-14 19:32:10 UTC (rev 13320)
@@ -66,6 +66,6 @@
 	.word	PID - TLS_PRE_TCB_SIZE
 	.align	2
 PSEUDO_END (__vfork)
-libc_hidden_def (__vfork)
+hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S	2006-01-14 19:32:10 UTC (rev 13320)
@@ -42,5 +42,5 @@
 	 nop
 
 PSEUDO_END (__vfork)
-libc_hidden_def (__vfork)
+hidden_def (__vfork)
 weak_alias (__vfork, vfork)

Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S	2006-01-14 19:32:10 UTC (rev 13320)
@@ -42,5 +42,5 @@
 	 nop
 
 PSEUDO_END (__vfork)
-libc_hidden_def (__vfork)
+hidden_def (__vfork)
 weak_alias (__vfork, vfork)

Modified: branches/uClibc-nptl/libpthread/nptl/unwind.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/unwind.c	2006-01-14 19:24:14 UTC (rev 13319)
+++ branches/uClibc-nptl/libpthread/nptl/unwind.c	2006-01-14 19:32:10 UTC (rev 13320)
@@ -162,7 +162,6 @@
   /* We better do not get here.  */
   abort ();
 }
-hidden_def (__pthread_unwind)
 
 
 void
@@ -173,4 +172,3 @@
 
   __pthread_unwind ((__pthread_unwind_buf_t *) ibuf->priv.data.prev);
 }
-hidden_def (__pthread_unwind_next)




More information about the uClibc-cvs mailing list