NetBSD-Bugs archive

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

Re: toolchain/51238: ELF binaries don't carry ELFOSABI_NETBSD in their header

On Mon, Jun 13, 2016 at 03:40:00PM +0000, wrote:
> >Description:
> According to the
> ELFOSABI_NETBSD is defined but not used:

This is intentional.

> However, a lot of binary programs that inspect elf binaries use the
> header instead of inspecting PT_NOTE. Unfortunately, those programs
> will detect NetBSD binaries as UNIX binaries and depending on their
> logic will use some default value like Linux as the OS the binary is
> built for, such as Qt Creator.

That's a bug in the programs. There is no advantage to tagging with
ELFOSABI_NETBSD. AS such: "No bug here, works as intended"


Home | Main Index | Thread Index | Old Index