RFC: Changing ELFOSABI_FREEBSD into ELFOSABI_SYSV/ELFOSABI_NONE

Robert Millan rmh at aybabtu.com
Wed Jan 4 10:28:59 UTC 2006


On Wed, Jan 04, 2006 at 10:56:38AM +0100, Petr Salinger wrote:
> >IMHO it's a good thing to try being "less weird" and use normal _SYSV 
> >binaries, but should be done carefuly.
> 
> I agree, it will be cleaner.

Uhm actualy, as said on IRC, it seems the ELF standard doesn't deprecate
non-SYSV tags, so _FREEBSD is not that "weird".

> In the same time, we could change name of our default
> program interpreter (ld.so). Its location should be unique
> between all (at least Debian) ports.
> See also http://www.linuxbase.org/futures/ideas/multiarch/index.html
> 
> What about /lib/ld-kfreebsd-i386.so.2 and /lib/ld-kfreebsd-amd64.so.2 ?

Sounds interesting.  So what you're saying is to be like amd64 in:

lrwxrwxrwx root/root         0 2005-12-31 02:47:34 ./lib/ld-linux-x86-64.so.2 -> ld-2.3.5.so
lrwxrwxrwx root/root         0 2005-11-13 02:44:12 ./lib/ld-linux.so.2 -> /emul/ia32-linux/lib/ld-2.3.2.so

(I assume ld-linux.so is being used instead of ld-linux-i386.so only for
compatibility reasons)

But ld-linux.so.2 is only used for historical reasons (there was ld-linux.so.1
once), so why not ld-kfreebsd-i386.so.1 instead ?

-- 
Robert Millan



More information about the Glibc-bsd-devel mailing list