I’m digging through two legacy cross-compiled ARM Linux builds. There isn’t much documentation other than “use this VM image to build the source” The only difference between the file command output is the presence of “(SYSV)”
# file Executable
Executable: ELF 32-bit LSB executable, ARM, version 1 (SYSV) ...
What should I be able to assume based on the presence or absence of SYSV in the string?
If you see that
(SYSV)string, it means thee_ident[EI_OSABI]field in the ELF header is set to 0. From the ELF spec (PDF link):My local machine’s
/usr/share/file/magic/elffile has a longer list:Here are the ELF header and offsets for your reference (from this link):