From: Ulrich Drepper Date: Tue, 15 Feb 2000 01:43:12 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc_2-1-91~1011 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ca7cbcb451bd3cdb8f84fe9f4d952e3a87a1e8e;p=platform%2Fupstream%2Fglibc.git Update. 2000-02-14 Andreas Jaeger * elf/rtld.c (dl_main): Fix check for references to dynamic linker. --- diff --git a/ChangeLog b/ChangeLog index bbfbaa4..2aa4a1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-02-14 Andreas Jaeger + + * elf/rtld.c (dl_main): Fix check for references to dynamic linker. + 2000-02-14 Ulrich Drepper * manual/job.texi: Fix typos. diff --git a/elf/rtld.c b/elf/rtld.c index 5d02449..c7b98a1 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -1,5 +1,5 @@ /* Run time dynamic linker. - Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -1041,7 +1041,7 @@ of this helper program; chances are you did not intend to run this program.\n\ /* We must prepare the profiling. */ _dl_start_profile (_dl_profile_map, _dl_profile_output); - if (_dl_rtld_map.l_opencount > 0) + if (_dl_rtld_map.l_opencount > 1) { /* There was an explicit ref to the dynamic linker as a shared lib. Re-relocate ourselves with user-controlled symbol definitions. */