about summary refs log tree commit diff
path: root/dlfcn
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-03-08 05:44:56 +0000
committerUlrich Drepper <drepper@redhat.com>2008-03-08 05:44:56 +0000
commit93025f9373f4efde62aab31aa03c4744fd3bed62 (patch)
treea3af6e5eb6fb65c5ab6c4d0d83464c5925534d7a /dlfcn
parentc71665ad060cd30c99399d7a4fa47566eaf8b961 (diff)
downloadglibc-93025f9373f4efde62aab31aa03c4744fd3bed62.tar.gz
glibc-93025f9373f4efde62aab31aa03c4744fd3bed62.tar.xz
glibc-93025f9373f4efde62aab31aa03c4744fd3bed62.zip
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add
	_dl_tls_get_addr_soft element.
	* elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft.
	* elf/Versions (ld): Don't export _dl_tls_get_addr_soft.
	* dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through
	GLRO.
	* elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise.
	* elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead
	of internal_function.
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/dlinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dlfcn/dlinfo.c b/dlfcn/dlinfo.c
index b3a3e13899..e8585ea989 100644
--- a/dlfcn/dlinfo.c
+++ b/dlfcn/dlinfo.c
@@ -1,5 +1,5 @@
 /* dlinfo -- Get information from the dynamic linker.
-   Copyright (C) 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004, 2006, 2007, 2008 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
@@ -101,7 +101,7 @@ RTLD_SELF used in code not dynamically loaded"));
       {
 	void *data = NULL;
 	if (l->l_tls_modid != 0)
-	  data = _dl_tls_get_addr_soft (l);
+	  data = GLRO(dl_tls_get_addr_soft) (l);
 	*(void **) args->arg = data;
 	break;
       }