aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/ldsodefs.h
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 /sysdeps/generic/ldsodefs.h
parentaa420660e08be0da12f473293db8f57e1bcdcc8d (diff)
downloadglibc-dd70526e8a07e95336ee87e1d968deafa8b5f34c.zip
glibc-dd70526e8a07e95336ee87e1d968deafa8b5f34c.tar.gz
glibc-dd70526e8a07e95336ee87e1d968deafa8b5f34c.tar.bz2
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 'sysdeps/generic/ldsodefs.h')
-rw-r--r--sysdeps/generic/ldsodefs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 5d253e4..98294cb 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -259,9 +259,6 @@ struct rtld_global
EXTERN struct r_search_path_elem *_dl_all_dirs;
EXTERN struct r_search_path_elem *_dl_init_all_dirs;
- /* File descriptor to write debug messages to. */
- EXTERN int _dl_debug_fd;
-
#ifdef _LIBC_REENTRANT
EXTERN void **(*_dl_error_catch_tsd) (void) __attribute__ ((const));
#endif
@@ -395,6 +392,9 @@ struct rtld_global_ro
/* If nonzero print warnings messages. */
EXTERN int _dl_verbose;
+ /* File descriptor to write debug messages to. */
+ EXTERN int _dl_debug_fd;
+
/* Do we do lazy relocations? */
EXTERN int _dl_lazy;