* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Call
	_dl_lookup_symbol_x not _dl_lookup_symbol.
This commit is contained in:
Ulrich Drepper 2004-03-07 22:22:04 +00:00
parent ef690addb5
commit 001836c8c1
7 changed files with 20 additions and 8 deletions

View File

@ -1,5 +1,8 @@
2004-03-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Call
_dl_lookup_symbol_x not _dl_lookup_symbol.
* sysdeps/powerpc/elf/rtld-global-offsets.sym: Adjust for moving
_dl_hwcap into _rtld_global_ro.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.

View File

@ -1,3 +1,9 @@
2004-03-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/tls.h (INIT_SYSINFO): _dl_sysinfo is now in
_rtlf_global_ro.
* sysdeps/ia64/tls.h (INIT_SYSINFO): Likewise.
2004-02-20 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/ptlongjmp.c [SHARED]: Code only

View File

@ -1,5 +1,5 @@
/* Definition for thread-local data handling. linuxthreads/i386 version.
Copyright (C) 2002, 2003 Free Software Foundation, Inc.
Copyright (C) 2002, 2003, 2004 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
@ -184,7 +184,7 @@ TLS_DO_MODIFY_LDT_KERNEL_CHECK( \
#if defined NEED_DL_SYSINFO
# define INIT_SYSINFO \
head->sysinfo = GL(dl_sysinfo)
head->sysinfo = GLRO(dl_sysinfo)
#else
# define INIT_SYSINFO
#endif

View File

@ -1,5 +1,5 @@
/* Definitions for thread-local data handling. linuxthreads/IA-64 version.
Copyright (C) 2002, 2003 Free Software Foundation, Inc.
Copyright (C) 2002, 2003, 2004 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
@ -83,7 +83,7 @@ typedef struct
#if defined NEED_DL_SYSINFO
# define INIT_SYSINFO \
(((tcbhead_t *)__thread_self)->private = GL(dl_sysinfo))
(((tcbhead_t *)__thread_self)->private = GLRO(dl_sysinfo))
#else
# define INIT_SYSINFO 0
#endif

View File

@ -1,5 +1,8 @@
2004-03-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ia64/tls.h (INIT_SYSINFO): _dl_sysinfo is now in
_rtlf_global_ro.
* tst-once4.c: Remove unnecessary macro definition.
* tst-mutex7.c (do_test): Limit thread stack size.

View File

@ -1,5 +1,5 @@
/* Definition for thread-local data handling. nptl/IA-64 version.
Copyright (C) 2003 Free Software Foundation, Inc.
Copyright (C) 2003, 2004 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
@ -104,7 +104,7 @@ register struct pthread *__thread_self __asm__("r13");
#define THREAD_SYSINFO(pd) (((tcbhead_t *) ((pd) + 1))->private)
#if defined NEED_DL_SYSINFO
# define INIT_SYSINFO THREAD_SELF_SYSINFO = (void *) GL(dl_sysinfo)
# define INIT_SYSINFO THREAD_SELF_SYSINFO = (void *) GLRO(dl_sysinfo)
#else
# define INIT_SYSINFO NULL
#endif

View File

@ -55,8 +55,8 @@ _dl_static_init (struct link_map *map)
__libc_lock_lock_recursive (_dl_static_lock);
loadbase = _dl_lookup_symbol ("_dl_var_init", map, &ref,
map->l_local_scope, 0, 1);
loadbase = _dl_lookup_symbol_x ("_dl_var_init", map, &ref,
map->l_local_scope, NULL, 0, 1, NULL);
if (ref != NULL)
{
f = (void (*) (void *[])) DL_SYMBOL_ADDRESS (loadbase, ref);