A new patch for ld.so 1.8.5
Hi,
This is a new patch for ld.so 1.8.5. Please ignore my last one.
It fixed the gdb warning. Also it works with my symlinks:
# cd /lib
# ls -l libnss_db*
-rwxr-xr-x 1 root root 136782 Dec 4 09:39 libnss_db-1.98.so
lrwxrwxrwx 1 root root 17 Dec 4 09:39 libnss_db.so.1 -> libnss_db-1.98.so
ldconfig should create a symlink for soname even if it is not what
ldconfig thinks.
Thanks.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
--
Index: linux/ld-so/Version.mk
diff -c linux/ld-so/Version.mk:1.1.1.1 linux/ld-so/Version.mk:1.2
*** linux/ld-so/Version.mk:1.1.1.1 Wed Dec 4 21:46:23 1996
--- linux/ld-so/Version.mk Wed Dec 4 22:03:52 1996
***************
*** 1,2 ****
! VERSION=1.8.5
VMAJOR=1
--- 1,2 ----
! VERSION=1.8.6
VMAJOR=1
Index: linux/ld-so/instldso.sh
diff -c linux/ld-so/instldso.sh:1.1.1.1 linux/ld-so/instldso.sh:1.3
*** linux/ld-so/instldso.sh:1.1.1.1 Wed Dec 4 21:46:23 1996
--- linux/ld-so/instldso.sh Thu Dec 5 08:01:09 1996
***************
*** 57,63 ****
fi
echo Installing ld-linux.so
! install $STRIP d-link/ld-linux.so $PREFIX/lib/ld-linux.so.$VERSION
mv -f $PREFIX/lib/ld-linux.so.$VERSION $PREFIX/lib/ld-linux.so.$VMAJOR
ln -f $PREFIX/lib/ld-linux.so.$VMAJOR $PREFIX/lib/ld-linux.so.$VERSION
--- 57,64 ----
fi
echo Installing ld-linux.so
! install d-link/ld-linux.so $PREFIX/lib/ld-linux.so.$VERSION
! strip --keep-symbol _dl_debug_state --strip-debug $PREFIX/lib/ld-linux.so.$VERSION
mv -f $PREFIX/lib/ld-linux.so.$VERSION $PREFIX/lib/ld-linux.so.$VMAJOR
ln -f $PREFIX/lib/ld-linux.so.$VMAJOR $PREFIX/lib/ld-linux.so.$VERSION
Index: linux/ld-so/util/ldconfig.c
diff -c linux/ld-so/util/ldconfig.c:1.1.1.1 linux/ld-so/util/ldconfig.c:1.2
*** linux/ld-so/util/ldconfig.c:1.1.1.1 Wed Dec 4 21:46:24 1996
--- linux/ld-so/util/ldconfig.c Thu Dec 5 08:01:10 1996
***************
*** 174,179 ****
--- 174,180 ----
{
if ((good = readsoname(file)) == NULL)
good = xstrdup(name);
+ #if 0
else
{
/* if the soname does not match the filename,
***************
*** 189,194 ****
--- 190,196 ----
good = NULL;
}
}
+ #endif
*type = LIB_ELF;
}
}
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: