diff options
author | jkh <jkh@FreeBSD.org> | 1994-01-14 11:47:00 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-01-14 11:47:00 +0000 |
commit | 9f745bbfc3d7ee82008dd48471f5759b3b68d5f7 (patch) | |
tree | f0263b4ebec2226892239dc3f1bcedf84ac5f485 /gnu/usr.bin/ld | |
parent | 29f81b79b81baa41b5fe2e51fa7420bf4d5def01 (diff) | |
download | FreeBSD-src-9f745bbfc3d7ee82008dd48471f5759b3b68d5f7.zip FreeBSD-src-9f745bbfc3d7ee82008dd48471f5759b3b68d5f7.tar.gz |
More proper fix for for shared lib debugging support.
Diffstat (limited to 'gnu/usr.bin/ld')
-rw-r--r-- | gnu/usr.bin/ld/rtld/rtld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld/rtld/rtld.c b/gnu/usr.bin/ld/rtld/rtld.c index c7978ac..e02fef6 100644 --- a/gnu/usr.bin/ld/rtld/rtld.c +++ b/gnu/usr.bin/ld/rtld/rtld.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rtld.c,v 1.12 1993/12/22 23:28:35 jkh Exp $ + * $Id: rtld.c,v 1.13 1994/01/12 23:16:19 jkh Exp $ */ #include <machine/vmparam.h> @@ -242,7 +242,7 @@ struct link_dynamic *dp; if (link_map_head) ldp->ldd_sym_loaded = 1; } - crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head; + crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head->lm_next; /* Close our file descriptor */ (void)close(crtp->crt_ldfd); } |