1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2000-03-21  Ulrich Drepper  <drepper@redhat.com>

	* include/shlib-compat.h (versioned_symbol): Give preprocessor the
	chance to expand VERSION_##lib##_##version.
This commit is contained in:
Ulrich Drepper
2000-03-21 22:03:48 +00:00
parent 5402148732
commit cb162e13ed
3 changed files with 15 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2000-03-21 Ulrich Drepper <drepper@redhat.com>
* include/shlib-compat.h (versioned_symbol): Give preprocessor the
chance to expand VERSION_##lib##_##version.
2000-03-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.

View File

@ -44,7 +44,9 @@
shlib-versions if that is newer. */
# define versioned_symbol(lib, local, symbol, version) \
default_symbol_version (local, symbol, VERSION_##lib##_##version)
versioned_symbol2 (local, symbol, VERSION_##lib##_##version)
# define versioned_symbol2(local, symbol, name) \
default_symbol_version (local, symbol, name)
#else

View File

@ -389,13 +389,13 @@ static void pthread_initialize(void)
/* Register an exit function to kill all other threads. */
/* Do it early so that user-registered atexit functions are called
before pthread_exit_process. */
if (__dso_handle)
if (&__dso_handle != NULL)
/* The cast is a bit unclean. The function expects two arguments but
we can only pass one. Fortunately this is not a problem since the
second argument of `pthread_exit_process' is simply ignored. */
__cxa_atexit((void (*) (void *)) pthread_exit_process, NULL, __dso_handle);
else
on_exit (pthread_exit_process, NULL);
__on_exit (pthread_exit_process, NULL);
}
void __pthread_initialize(void)