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