about summary refs log tree commit diff
path: root/elf/dl-debug.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-11-09 16:12:22 +0000
committerUlrich Drepper <drepper@redhat.com>2006-11-09 16:12:22 +0000
commit2692deea65f13becedc2ce283fbc97a3c139f165 (patch)
tree121c160e88030e5cc5769233d73d9f577dce2996 /elf/dl-debug.c
parenta9a6bf36c159dc0eda7fc9a9985fb737da4be07a (diff)
downloadglibc-2692deea65f13becedc2ce283fbc97a3c139f165.tar.gz
glibc-2692deea65f13becedc2ce283fbc97a3c139f165.tar.xz
glibc-2692deea65f13becedc2ce283fbc97a3c139f165.zip
* elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 cvs/fedora-glibc-20061109T1949
	rather than r->r_brk.

2006-11-08  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-load.c (decompose_rpath): Return bool rather than void.
	If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and
	return false, otherwise return true.
	(cache_rpath): Return decompose_rpath return value.

2006-11-07  Jakub Jelinek  <jakub@redhat.com>

	* include/libc-symbols.h (declare_symbol): Rename to...
	(declare_symbol_alias): ... this.  Add ORIGINAL argument, imply
	strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes
	.size directive.
	* sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias
	changes.
	* sysdeps/gnu/siglist.c: Likewise.
Diffstat (limited to 'elf/dl-debug.c')
-rw-r--r--elf/dl-debug.c2
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 */;