about summary refs log tree commit diff
path: root/elf/dl-misc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-05 11:25:26 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-05 11:25:26 +0000
commitdd70526e8a07e95336ee87e1d968deafa8b5f34c (patch)
tree7d58d3d136b61e8d5f4f865ebccbbe103f9f2f04 /elf/dl-misc.c
parentaa420660e08be0da12f473293db8f57e1bcdcc8d (diff)
downloadglibc-dd70526e8a07e95336ee87e1d968deafa8b5f34c.tar.gz
glibc-dd70526e8a07e95336ee87e1d968deafa8b5f34c.tar.xz
glibc-dd70526e8a07e95336ee87e1d968deafa8b5f34c.zip
Update.
	* sysdeps/generic/ldsodefs.h (struct rtld_global): Move
	dl_debug_fd to rtld_global_ro.
	* elf/rtld.c: Use GLRO instead of GL for dl_debug_fd.
	* elf/dl-misc.c: Likewise.
Diffstat (limited to 'elf/dl-misc.c')
-rw-r--r--elf/dl-misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index c5209fbce4..9b29bcf4cd 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -276,7 +276,7 @@ _dl_debug_printf (const char *fmt, ...)
   va_list arg;
 
   va_start (arg, fmt);
-  _dl_debug_vdprintf (GL(dl_debug_fd), 1, fmt, arg);
+  _dl_debug_vdprintf (GLRO(dl_debug_fd), 1, fmt, arg);
   va_end (arg);
 }
 INTDEF(_dl_debug_printf)
@@ -289,7 +289,7 @@ _dl_debug_printf_c (const char *fmt, ...)
   va_list arg;
 
   va_start (arg, fmt);
-  _dl_debug_vdprintf (GL(dl_debug_fd), -1, fmt, arg);
+  _dl_debug_vdprintf (GLRO(dl_debug_fd), -1, fmt, arg);
   va_end (arg);
 }