[FFmpeg-devel] aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD
Brad Smith
brad at comstyle.com
Mon Sep 9 14:05:55 EEST 2024
On 2024-09-09 7:00 a.m., Martin Storsjö wrote:
> On Mon, 9 Sep 2024, Brad Smith wrote:
>
>> aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD
>>
>> FreeBSD 12.0+, OpenBSD -current and what will be OpenBSD 7.6 support
>> elf_aux_info(3).
>>
>> Signed-off-by: Brad Smith <brad at comstyle.com>
>> ---
>> configure | 2 ++
>> libavutil/aarch64/cpu.c | 2 +-
>> libavutil/cpu.c | 9 ++++++++-
>> 3 files changed, 11 insertions(+), 2 deletions(-)
>
> LGTM, thanks. (I guess the same change as in aarch64/cpu.c also could
> be done in other architectures' cpu.c?)
>
> // Martin
I was looking at ppc for ppc64. Adding some sort of /proc/self/auxv
fallback to ff_getauxval() and then
re-writting all that to use ff_getauxval() and have support for
FreeBSD/powerpc64 and OpenBSD/powerpc64.
FFmpeg is the only project I have come across so far that does not use
getauxval() on ppc64.
More information about the ffmpeg-devel
mailing list