Move all data tables from .text section to .rodata, and update the code to
authormiod <miod@openbsd.org>
Fri, 13 Jan 2023 17:27:25 +0000 (17:27 +0000)
committermiod <miod@openbsd.org>
Fri, 13 Jan 2023 17:27:25 +0000 (17:27 +0000)
commit9484a439e95949b9d8685055f43a77c2ab822582
tree27248414e54ba29ef9426aaacefc02c9eff1b519
parent676d1ceb597ab4ef4e34622c4c77334e7abfd175
Move all data tables from .text section to .rodata, and update the code to
fetch them correctly when building PIC. Also drop unused data, and remove
--no-execute-only from linker flags.

ok kettenis@
lib/libcrypto/aes/asm/aes-sparcv9.pl
lib/libcrypto/arch/sparc64/Makefile.inc
lib/libcrypto/bn/asm/sparcv9-mont.pl
lib/libcrypto/bn/asm/sparcv9a-mont.pl
lib/libcrypto/modes/asm/ghash-sparcv9.pl
lib/libcrypto/sha/asm/sha1-sparcv9.pl
lib/libcrypto/sha/asm/sha1-sparcv9a.pl
lib/libcrypto/sha/asm/sha512-sparcv9.pl