about summary refs log tree commit diff
path: root/elf/dl-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-debug.c')
-rw-r--r--elf/dl-debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-debug.c b/elf/dl-debug.c
index 5a51b53357..4e8197227e 100644
--- a/elf/dl-debug.c
+++ b/elf/dl-debug.c
@@ -1,5 +1,5 @@
 /* Communicate dynamic linker state to the debugger at runtime.
-   Copyright (C) 1996, 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1998, 2000, 2002 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
@@ -39,7 +39,7 @@ _dl_debug_initialize (ElfW(Addr) ldbase)
       /* Tell the debugger where to find the map of loaded objects.  */
       _r_debug.r_version = 1	/* R_DEBUG_VERSION XXX */;
       _r_debug.r_ldbase = ldbase;
-      _r_debug.r_map = _dl_loaded;
+      _r_debug.r_map = GL(dl_loaded);
       _r_debug.r_brk = (ElfW(Addr)) &_dl_debug_state;
     }