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/modes/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/modes/asm')
-rw-r--r-- | src/lib/libcrypto/modes/asm/ghash-x86_64.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/modes/asm/ghash-x86_64.pl b/src/lib/libcrypto/modes/asm/ghash-x86_64.pl index 3ae8629cbe..bce62947f9 100644 --- a/src/lib/libcrypto/modes/asm/ghash-x86_64.pl +++ b/src/lib/libcrypto/modes/asm/ghash-x86_64.pl | |||
@@ -622,7 +622,7 @@ ___ | |||
622 | } | 622 | } |
623 | 623 | ||
624 | $code.=<<___; | 624 | $code.=<<___; |
625 | .rodata | 625 | .section .rodata |
626 | .align 64 | 626 | .align 64 |
627 | .Lbswap_mask: | 627 | .Lbswap_mask: |
628 | .byte 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0 | 628 | .byte 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0 |