Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: ELF e_ident[EI_OSABI] not being set on objects?
Joseph Koshy writes:
> 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
> mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
> evbarm
>
> Any idea why the e_ident[EI_OSABI] field isn't being set to ELFOSABI_NETBSD?
AFAIK, this field has to do with how ELF binaries are interpreted, and
netbsd uses plain ELF. i think freebsd is the only elf platform that
does not use sysV here.
this is true for all netbsd platforms, not just arm.
.mrg.
Home |
Main Index |
Thread Index |
Old Index