On Wed, 18 Feb 2015, Luca Barbato wrote:

On 17/02/15 23:44, Martin Storsjö wrote:
When all the codepaths using manually set .arch/.fpu code is
behind runtime detection, the elf attributes should be suppressed.

This allows tools to know that the final built binary doesn't
strictly require these extensions.
---
Ideally, these should only be added on platforms where we have
runtime detection (i.e. linux). So on non-linux, ELF platforms,
they should in theory be omitted. Adding #ifdef __linux__ around
them do feel like overkill though.

Do we support them?

I don't know actually - Derek has tried freebsd on arm at least, but dunno if he tried running our asm. Symbian also builds as ELF (but then is run through a separate post-linker that rips out the linked data and packages it into the symbian executable format). In any case, adding these (as long as the assembler supports them) shouldn't really hurt much for those cases, they just don't get tagged correctly as containing NEON/VFPv3 code.

Janne, opinions?

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to