summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc4/asm
diff options
context:
space:
mode:
authortb <>2023-02-09 19:57:00 +0000
committertb <>2023-02-09 19:57:00 +0000
commit67afc07de0ed3a0ccc272df42853ba565a8277c6 (patch)
tree7a1f39e10d40b8be277e1347b5a3d8d0632390cf /src/lib/libcrypto/rc4/asm
parent9a4301621b4b224b3bd56f9777545a2c215358e0 (diff)
downloadopenbsd-67afc07de0ed3a0ccc272df42853ba565a8277c6.tar.gz
openbsd-67afc07de0ed3a0ccc272df42853ba565a8277c6.tar.bz2
openbsd-67afc07de0ed3a0ccc272df42853ba565a8277c6.zip
Use .section .rodata instead of a plain .rodata
At least gcc 12 on Fedora is very unhappy about a plain .rodata and throws Error: unknown pseudo-op: `.rodata'. So add a .section in front of it to make it happy. ok deraadt miod
Diffstat (limited to 'src/lib/libcrypto/rc4/asm')
-rwxr-xr-xsrc/lib/libcrypto/rc4/asm/rc4-x86_64.pl2
1 files changed, 1 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 36cbf79fbe..c51112ce1e 100755
--- a/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl
+++ b/src/lib/libcrypto/rc4/asm/rc4-x86_64.pl
@@ -517,7 +517,7 @@ RC4_options:
517 add \$12,%rax 517 add \$12,%rax
518.Ldone: 518.Ldone:
519 ret 519 ret
520.rodata 520.section .rodata
521.align 64 521.align 64
522.Lopts: 522.Lopts:
523.asciz "rc4(8x,int)" 523.asciz "rc4(8x,int)"