Commit 7bdba3d502 for openssl.org

commit 7bdba3d5024370eaf2024e7f298cc7cb0766a4cf
Author: Mounir IDRASSI <mounir.idrassi@idrix.fr>
Date:   Fri Nov 20 11:13:24 2026 +0900

    Place ARM64 perlasm constants in read-only data on Windows

    The win64 translator emits .section .rodata for read-only data. Clang's
    COFF assembler marks this section writable and the permission survives
    linking. For example, the ML-KEM transform tables in a mingwarm64
    libcrypto DLL reside in a read/write section.

    Emit .section .rdata,"dr" so these constants go into the standard
    read-only initialized data section. The linked section containing the
    ML-KEM tables changes from 0xc0000040 to 0x40000040.

    Assisted-by: Codex:gpt-6-astra
    Reviewed-by: Saša NedvÄ›dický <sashan@openssl.org>
    Reviewed-by: Bob Beck <beck@openssl.org>
    Merge-date: Fri Dec  4 11:49:57 2026
    Merged-from: https://github.com/openssl/openssl/pull/33877

diff --git a/crypto/perlasm/arm-xlate.pl b/crypto/perlasm/arm-xlate.pl
index b94d1c762d..0f242536d1 100755
--- a/crypto/perlasm/arm-xlate.pl
+++ b/crypto/perlasm/arm-xlate.pl
@@ -33,7 +33,7 @@ my $rodata = sub {
     SWITCH: for ($flavour) {
 	/linux/		&& return ".section\t.rodata";
 	/ios/		&& return ".section\t__TEXT,__const";
-	/win64/		&& return ".section\t.rodata";
+	/win64/		&& return ".section\t.rdata,\"dr\"";
 	last;
     }
 };