diff options
| author | tb <> | 2023-02-09 19:57:00 +0000 |
|---|---|---|
| committer | tb <> | 2023-02-09 19:57:00 +0000 |
| commit | 4355eb6aeababf0126972f85bdeed63048a99df1 (patch) | |
| tree | 7a1f39e10d40b8be277e1347b5a3d8d0632390cf /src/lib/libcrypto/modes | |
| parent | f2f2db10ed42ebd4f9671cb82c8e2e70d6422eb6 (diff) | |
| download | openbsd-4355eb6aeababf0126972f85bdeed63048a99df1.tar.gz openbsd-4355eb6aeababf0126972f85bdeed63048a99df1.tar.bz2 openbsd-4355eb6aeababf0126972f85bdeed63048a99df1.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')
| -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 |
