Re: multimedia/x265: IBT fixes

2024-02-19 Thread Brad Smith
On 2024-02-19 6:00 p.m., Mark Kettenis wrote: This seems to be the magic to insert an endbr64 at the start of global functions. Even though many of these are hidden in the shared library, the majority seems to be called through function pointers that are setup based on the available instruction

multimedia/x265: IBT fixes

2024-02-19 Thread Mark Kettenis
This seems to be the magic to insert an endbr64 at the start of global functions. Even though many of these are hidden in the shared library, the majority seems to be called through function pointers that are setup based on the available instruction set extensions. With this diff "make test"