bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

should the dynamic linker set to ld.so.1 instead of ld.so?


From: Samuel Thibault
Subject: should the dynamic linker set to ld.so.1 instead of ld.so?
Date: Sat, 21 Aug 2010 00:06:22 +0200
User-agent: Mutt/1.5.12-2006-07-14

Hello,

The dynamic linker in gcc is currently set to /lib/ld.so:

gcc/config/i386/gnu.h:#define GLIBC_DYNAMIC_LINKER "/lib/ld.so"

and it has been so since ages actually.  Is there a reason not to use
/lib/ld.so.1, like done on Linux (/lib/ld-linux.so.1)?  I can see a
reason to use /lib/ld.so.1 at least: when we move to another ld.so ABI,
we can point /lib/ld.so to the new ld.so.2 without caring about old
binaries which still use the old ld.so.1.  Also, it would be more
coherent with all the places in glibc which say ld.so.1, e.g.:

./Makeconfig:rtld-installed-name = ld.so.1
./shlib-versions:.*-.*-.*               ld=ld.so.1

(or else we should probably change that in glibc, conversely).

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]