This is the mail archive of the
mailing list for the binutils project.
Re: support for FreeBSD and GNU/FreeBSD
H. J. Lu writes:
> For all I know, the only reason FreeBSD wants a special target is to
> run some very OLD static Linux binaries, which don't have the
> .note.ABI-tag section.
Nope, I'm not talking about Linux binaries. The patch is about native
FreeBSD binaries. If you create an executable using the unpatched
binutils using the original elf_i386 emulation, then it will simply
*not run* on an unpatched FreeBSD kernel; this affects static binaries
and the ELF interpreter ld.so.1 itself.
The reason is probably that FreeBSD provides emulations for different
ABIs; they want the kernel to be able to distinguish a FreeBSD
executable, a NetBSD executable, an SVR4 executable, a Linux