diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-01-12 14:54:57 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-01-12 14:54:57 +0000 |
commit | f40372e632b5bef034a9cfc23ba7e6a85680fb79 (patch) | |
tree | c60088d556cd42c240096cb2446a2620110d63d5 /elf | |
parent | 00e3dec8025c93ccde8ed810657e7f2115ddc8cb (diff) | |
download | glibc-f40372e632b5bef034a9cfc23ba7e6a85680fb79.tar.gz glibc-f40372e632b5bef034a9cfc23ba7e6a85680fb79.tar.xz glibc-f40372e632b5bef034a9cfc23ba7e6a85680fb79.zip |
* elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0
rather than r->r_brk.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-debug.c b/elf/dl-debug.c index d00fe87fbb..2538364aec 100644 --- a/elf/dl-debug.c +++ b/elf/dl-debug.c @@ -54,7 +54,7 @@ _dl_debug_initialize (ElfW(Addr) ldbase, Lmid_t ns) else r = &GL(dl_ns)[ns]._ns_debug; - if (r->r_brk == 0 || ldbase != 0) + if (r->r_map == NULL || ldbase != 0) { /* Tell the debugger where to find the map of loaded objects. */ r->r_version = 1 /* R_DEBUG_VERSION XXX */; |