H.J. Lu wrote: > On Tue, Sep 22, 2020 at 5:13 AM Rolf Eike Beer wrote: > > --- > > > > elf/rtld.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/elf/rtld.c b/elf/rtld.c > > index 99d130cd1c..441d837095 100644 > > --- a/elf/rtld.c > > +++ b/elf/rtld.c > > @@ -1449,7 +1449,7 @@ of this helper program; chances are you did not > > intend to run this program.\n\> > > the shared object is already loaded. */ > > > > _dl_rtld_libname.name = ((const char *) main_map->l_addr > > > > + ph->p_vaddr); > > > > - /* _dl_rtld_libname.next = NULL; Already zero. */ > > + assert(_dl_rtld_libname.next == NULL); > > Space after assert. Same applies to other changes. > and there are > > rtld.c:static struct libname_list _dl_rtld_libname; > rtld.c:static struct libname_list _dl_rtld_libname2; > > There is no need for assert of zero on static variables. Except when by accident the .bss section is not behind the last PT_LOAD and suddenly is not zeroed out anymore and it takes you a while to find out _what_ exactly is broken ;) But fine with me. Eike