From: Eric Andersen Date: Tue, 20 Jan 2004 18:00:16 +0000 (-0000) Subject: As noted by Doru Petrescu, there was a spurious line that was using X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4c1038a2b69f88db35b8cfedb429a86b7f819078;p=uclinux-h8%2Fuclibc-ng.git As noted by Doru Petrescu, there was a spurious line that was using _dl_debug_addr prior to checking if it was NULL. --- 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) {