2007-08-03 Aurelien Jarno <aurelien@aurel32.net>

* sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
	(__local_multiple_threads): Declare as hidden only in libc and
	in libpthread.
This commit is contained in:
Carlos O'Donell 2007-08-03 22:58:57 +00:00
parent 5cfc3d44a5
commit 57165d450f
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-08-03 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
(__local_multiple_threads): Declare as hidden only in libc and
in libpthread.
2007-07-28 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.

View File

@ -206,7 +206,11 @@ L(pre_end): ASM_LINE_SEP \
# endif
# ifndef __ASSEMBLER__
extern int __local_multiple_threads attribute_hidden;
# if !defined NOT_IN_libc || defined IS_IN_libpthread
extern int __local_multiple_threads attribute_hidden;
# else
extern int __local_multiple_threads;
# endif
# define SINGLE_THREAD_P __builtin_expect (__local_multiple_threads == 0, 1)
# else
/* This ALT version requires newer kernel support */