diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2023-01-13 17:27:27 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2023-01-13 17:27:27 +0000 |
commit | ee59dcc69c40122f097e3f31aebe99f8db99a40d (patch) | |
tree | 16bb6ac4ac9efd790176f2af3fd7a3a28e73204a /lib/libcrypto/bn/asm | |
parent | 09cf694aba492b1319fabd262911650a4cd42c1b (diff) |
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@
Diffstat (limited to 'lib/libcrypto/bn/asm')
-rw-r--r-- | lib/libcrypto/bn/asm/sparcv9-mont.pl | 2 | ||||
-rwxr-xr-x | lib/libcrypto/bn/asm/sparcv9a-mont.pl | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/libcrypto/bn/asm/sparcv9-mont.pl b/lib/libcrypto/bn/asm/sparcv9-mont.pl index fb44c014431..610ec1a968a 100644 --- a/lib/libcrypto/bn/asm/sparcv9-mont.pl +++ b/lib/libcrypto/bn/asm/sparcv9-mont.pl @@ -598,8 +598,6 @@ $code.=<<___; add $tp,8,$tp .type $fname,#function .size $fname,(.-$fname) -.asciz "Montgomery Multipltication for SPARCv9, CRYPTOGAMS by <appro\@openssl.org>" -.align 32 ___ $code =~ s/\`([^\`]*)\`/eval($1)/gem; print $code; diff --git a/lib/libcrypto/bn/asm/sparcv9a-mont.pl b/lib/libcrypto/bn/asm/sparcv9a-mont.pl index 4ebe15c5c01..7bb1725a0ed 100755 --- a/lib/libcrypto/bn/asm/sparcv9a-mont.pl +++ b/lib/libcrypto/bn/asm/sparcv9a-mont.pl @@ -860,8 +860,6 @@ $fname: restore .type $fname,#function .size $fname,(.-$fname) -.asciz "Montgomery Multipltication for UltraSPARC, CRYPTOGAMS by <appro\@openssl.org>" -.align 32 ___ $code =~ s/\`([^\`]*)\`/eval($1)/gem; |