Aleksandar Ristovski wrote: > Hello, > > On systems (QNX) that have ldd residing in libc, svr4_current_sos will > add libc twice. Once while walking the linkmap and second time from > r_ldsomap. > > This patch adds check if ldsolib has already been added and if so, > prevents adding duplicate entry. > > > Tested on linux - i386, no regressions; however, it would be good if > someone could test for regressions on Solaris. > This time with the right patch. -- Aleksandar Ristovski QNX Software Systems ChangeLog: * solib-svr4.c (svr4_current_sos): Do not add dynamic linker to solist if already added.