summaryrefslogtreecommitdiff
path: root/lib/libcrypto/rc4
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-14 16:58:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-14 16:58:57 +0000
commit76ec20586399aa9632649d2d0c6f71948d59abce (patch)
treea49188bb8fa9198124e480e77f744b4dd46f1a5f /lib/libcrypto/rc4
parent3ddb6c0a11969f9d78c36513b09a14cc5e96a3b9 (diff)
Move constants out of text segment into rodata to prepare for xonly support
on amd64. no pic handling is neccessary since amd64 has full reach. ok kettenis
Diffstat (limited to 'lib/libcrypto/rc4')
-rwxr-xr-xlib/libcrypto/rc4/asm/rc4-x86_64.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/rc4/asm/rc4-x86_64.pl b/lib/libcrypto/rc4/asm/rc4-x86_64.pl
index 18a967e5465..36cbf79fbe4 100755
--- a/lib/libcrypto/rc4/asm/rc4-x86_64.pl
+++ b/lib/libcrypto/rc4/asm/rc4-x86_64.pl
@@ -517,13 +517,14 @@ RC4_options:
add \$12,%rax
.Ldone:
ret
+.rodata
.align 64
.Lopts:
.asciz "rc4(8x,int)"
.asciz "rc4(8x,char)"
.asciz "rc4(16x,int)"
-.asciz "RC4 for x86_64, CRYPTOGAMS by <appro\@openssl.org>"
.align 64
+.previous
.size RC4_options,.-RC4_options
___