fix hwcap access in powerpc-sf setjmp/longjmp
authorRich Felker <dalias@aerifal.cx>
Mon, 29 Nov 2021 22:41:43 +0000 (17:41 -0500)
committerRich Felker <dalias@aerifal.cx>
Mon, 29 Nov 2021 22:41:43 +0000 (17:41 -0500)
commit8274aaaaa1948c50c661aa32e21b3db27a5c0eab
tree81dba18b46dca223a565aaefe94869236d719491
parent3733c831f293b3bbfd0e51faec8ee71112c62c3e
fix hwcap access in powerpc-sf setjmp/longjmp

commit 7be59733d71ada3a32a98622507399253f1d5e48 introduced the
hwcap-based branches to support the SPE FPU, but wrongly coded them as
bitwise tests on the computed address of __hwcap, not a value loaded
from that address. replace the add with indexed load to fix it.
src/setjmp/powerpc/longjmp.S
src/setjmp/powerpc/setjmp.S