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/perlasm/x86gas.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/libcrypto/perlasm') diff --git a/src/lib/libcrypto/perlasm/x86gas.pl b/src/lib/libcrypto/perlasm/x86gas.pl index f28a590549..b84e28be97 100644 --- a/src/lib/libcrypto/perlasm/x86gas.pl +++ b/src/lib/libcrypto/perlasm/x86gas.pl @@ -307,7 +307,7 @@ sub ::dataseg { push(@out,".data\n"); } sub ::rodataseg -{ push(@out,".rodata\n"); } +{ push(@out,".section .rodata\n"); } sub ::previous { push(@out,".previous\n"); } -- cgit v1.2.3-55-g6feb