From 4355eb6aeababf0126972f85bdeed63048a99df1 Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 9 Feb 2023 19:57:00 +0000 Subject: 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 --- src/lib/libcrypto/bn/asm/x86_64-mont5.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/libcrypto/bn') 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.=<<___; ___ } $code.=<<___; -.rodata +.section .rodata .align 64 .Linc: .long 0,0, 1,1 -- cgit v1.2.3-55-g6feb