Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 7 Mar 2004 22:22:04 +0000 (22:22 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 7 Mar 2004 22:22:04 +0000 (22:22 +0000)
* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Call
_dl_lookup_symbol_x not _dl_lookup_symbol.

ChangeLog
linuxthreads/ChangeLog
linuxthreads/sysdeps/i386/tls.h
linuxthreads/sysdeps/ia64/tls.h
nptl/ChangeLog
nptl/sysdeps/ia64/tls.h
sysdeps/unix/sysv/linux/ia64/dl-static.c

index 23732da..68a9ea4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index e7d0902..9f11a40 100644 (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
index 456e8da..2c5d3e0 100644 (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
index 49ca977..1c2388c 100644 (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
index 6d271a0..b5ee107 100644 (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.
index a37d6f4..4591a41 100644 (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
index 691ba31..4efc077 100644 (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);