diff options
author | tb <> | 2023-02-09 19:57:00 +0000 |
---|---|---|
committer | tb <> | 2023-02-09 19:57:00 +0000 |
commit | 67afc07de0ed3a0ccc272df42853ba565a8277c6 (patch) | |
tree | 7a1f39e10d40b8be277e1347b5a3d8d0632390cf /src/lib/libcrypto/bn/asm | |
parent | 9a4301621b4b224b3bd56f9777545a2c215358e0 (diff) | |
download | openbsd-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-x | src/lib/libcrypto/bn/asm/x86_64-mont5.pl | 2 |
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 |