summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/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/bn/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/bn/asm')
-rwxr-xr-xsrc/lib/libcrypto/bn/asm/x86_64-mont5.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/asm/x86_64-mont5.pl b/src/lib/libcrypto/bn/asm/x86_64-mont5.pl
index 5d30f210ce..1c8aa255c3 100755
--- a/src/lib/libcrypto/bn/asm/x86_64-mont5.pl
+++ b/src/lib/libcrypto/bn/asm/x86_64-mont5.pl
@@ -1032,7 +1032,7 @@ $code.=<<___;
1032___ 1032___
1033} 1033}
1034$code.=<<___; 1034$code.=<<___;
1035.rodata 1035.section .rodata
1036.align 64 1036.align 64
1037.Linc: 1037.Linc:
1038 .long 0,0, 1,1 1038 .long 0,0, 1,1