diff options
author | deraadt <> | 2023-01-14 16:58:56 +0000 |
---|---|---|
committer | deraadt <> | 2023-01-14 16:58:56 +0000 |
commit | b5834617204e7520b0209bcff7f1c4a559e05422 (patch) | |
tree | 091fefd47bf297796c9ff374bd3f19f6e0cd6da8 /src/lib/libcrypto/rc4 | |
parent | a545377353a479e357ae5fb9be8294f7137820d5 (diff) | |
download | openbsd-b5834617204e7520b0209bcff7f1c4a559e05422.tar.gz openbsd-b5834617204e7520b0209bcff7f1c4a559e05422.tar.bz2 openbsd-b5834617204e7520b0209bcff7f1c4a559e05422.zip |
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 'src/lib/libcrypto/rc4')
-rwxr-xr-x | src/lib/libcrypto/rc4/asm/rc4-x86_64.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl b/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl index 18a967e546..36cbf79fbe 100755 --- a/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl +++ b/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl | |||
@@ -517,13 +517,14 @@ RC4_options: | |||
517 | add \$12,%rax | 517 | add \$12,%rax |
518 | .Ldone: | 518 | .Ldone: |
519 | ret | 519 | ret |
520 | .rodata | ||
520 | .align 64 | 521 | .align 64 |
521 | .Lopts: | 522 | .Lopts: |
522 | .asciz "rc4(8x,int)" | 523 | .asciz "rc4(8x,int)" |
523 | .asciz "rc4(8x,char)" | 524 | .asciz "rc4(8x,char)" |
524 | .asciz "rc4(16x,int)" | 525 | .asciz "rc4(16x,int)" |
525 | .asciz "RC4 for x86_64, CRYPTOGAMS by <appro\@openssl.org>" | ||
526 | .align 64 | 526 | .align 64 |
527 | .previous | ||
527 | .size RC4_options,.-RC4_options | 528 | .size RC4_options,.-RC4_options |
528 | ___ | 529 | ___ |
529 | 530 | ||