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?



On Thu, 2025-01-09 at 10:03 +1100, matthew green wrote:
> 
> 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.
> 

e.g.

$ file /bin/ls
/bin/ls: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV),
dynamically linked, interpreter /libexec/ld.elf_so, for NetBSD 10.1,
not stripped

$ file /bin/ls
/bin/ls: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV),
dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=36b86f957a1be53733633d184c3a3354f3fc7b12, for GNU/Linux
3.2.0, stripped

Ngā mihi,
Lloyd


Home | Main Index | Thread Index | Old Index