Why are arm libs branded as SYSV?

Ed Maste emaste at freebsd.org
Tue Oct 7 20:09:11 UTC 2014


On 7 October 2014 11:34, Andrew Turner <andrew at fubar.geek.nz> wrote:
>> On my ARM Sheevaplug:
>> # file /usr/local/lib/libpcre.so.3
>> /usr/local/lib/libpcre.so.3: ELF 32-bit LSB shared object, ARM,
>> EABI5 version 1 (SYSV), dynamically linked, stripped
>> ...
>
> Because the EI_OSABI field, where this value comes from, is documented
> to be zero in the ARM AAELF spec.

It's somewhat confusing for file to report SYSV, since both
ELFOSABI_SYSV and ELFOSABI_NONE are 0.  It could perhaps output
"SYSV/NONE", although I'm not sure that would be less confusing.

I looked for references to EI_OSABI in the source tree.  Aside from
ldd the only tool I found that might need a change is gcore, which
sets the field to ELFOSABI_FREEBSD in generated core files.  I'm not
sure that this will actually cause trouble in practice though.


More information about the freebsd-arm mailing list