ELF e_ident[EI_OSABI] not being set on objects?

Joseph Koshy <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <CAFjV1M_+St0MHNH=qNtzmgmChjqiX3Ex38X0YCLSwthuxV8B6Q@mail.gmail.com>
I noticed that NetBSD/evbarm binaries are being built as 'SysV' binaries.

nbarm% readelf -h /usr/bin/nm | grep OS/ABI
  OS/ABI:                            UNIX - System V
nbarm% readelf -h /usr/lib/libc.so | grep OS/ABI
  OS/ABI:                            UNIX - System V

This was on recent -current:

% uname -a
NetBSD nbarm 10.99.12 NetBSD 10.99.12 (GENERIC64) #0: Fri Dec 27
00:57:53 UTC 2024
[email protected]:/usr/src/sys/arch/evbarm/compile/GENERIC64
evbarm

Any idea why the e_ident[EI_OSABI] field isn't being set to ELFOSABI_NETBSD?

Thanks,
Joseph Koshy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.