summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-01-20 18:00:16 +0000
committerEric Andersen <andersen@codepoet.org>2004-01-20 18:00:16 +0000
commit4c1038a2b69f88db35b8cfedb429a86b7f819078 (patch)
treeac32314a3a3e6cd26a10da676ca9f7a4b88fc38d
parent4401cfb819df129c749a9408762a8152e3faaa7d (diff)
As noted by Doru Petrescu, there was a spurious line that was using
_dl_debug_addr prior to checking if it was NULL.
-rw-r--r--ldso/libdl/dlib.c1
-rw-r--r--ldso/libdl/libdl.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c
index ebd7b85b8..b116590fe 100644
--- a/ldso/libdl/dlib.c
+++ b/ldso/libdl/dlib.c
@@ -288,7 +288,6 @@ void *_dlopen(const char *libname, int flag)
/* Notify the debugger we have added some objects. */
- _dl_debug_addr->r_state = RT_ADD;
if (_dl_debug_addr) {
dl_brk = (void (*)(void)) _dl_debug_addr->r_brk;
if (dl_brk != NULL) {
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index ebd7b85b8..b116590fe 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -288,7 +288,6 @@ void *_dlopen(const char *libname, int flag)
/* Notify the debugger we have added some objects. */
- _dl_debug_addr->r_state = RT_ADD;
if (_dl_debug_addr) {
dl_brk = (void (*)(void)) _dl_debug_addr->r_brk;
if (dl_brk != NULL) {