> Date: Tue, 31 Jan 2023 20:19:19 -0500
> From: George Koehler
>
> OpenBSD/macppc can enforce xonly on the PowerPC G5. libcrypto linked
> with cc -Wl,--execute-only will SIGSEGV as the PowerPC asm of sha256
> tries to read a table from text. The fix is to move the table to
All the functions in libcrypto need to be fixed, or for the ones which
are not fixed, they need to be disabled to use the C versions instead.
There should be no broken functions in the library. It's not about
what you manage to use, it's about what something else will eventually
use.
The same
OpenBSD/macppc can enforce xonly on the PowerPC G5. libcrypto linked
with cc -Wl,--execute-only will SIGSEGV as the PowerPC asm of sha256
tries to read a table from text. The fix is to move the table to
rodata. To find the table, I would do
bcl 20, 31, 1f
1: mflr%r7