From 4c1038a2b69f88db35b8cfedb429a86b7f819078 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 20 Jan 2004 18:00:16 +0000 Subject: As noted by Doru Petrescu, there was a spurious line that was using _dl_debug_addr prior to checking if it was NULL. --- ldso/libdl/dlib.c | 1 - ldso/libdl/libdl.c | 1 - 2 files changed, 2 deletions(-) (limited to 'ldso') 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) { -- cgit v1.2.3