On Thu, 5 Mar 2015, 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.
---
Moved the check down into the arm section.
---
configure | 6 ++++++
libavutil/arm/asm.S | 6 ++++++
2 files changed, 12 insertions(+)
Btw, this patch would ideally be backported to releases 11, 10 and 9 as
well, but it can't be applied to 0.8 (because we didn't have arm runtime
cpu feature detection back then). Applying it would ease e.g. building
libav with optional, runtime detected neon for distributions that check
for hardcoded use of instructions using elf binary tags, e.g. allowing
building libav with optional neon for raspbian (when raspberry pi 1 lacks
neon while pi 2 has got it). Raspbian currently seems to have both libav
0.8 and 9, so it would at least benefit the 9 release.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel