Use explicit .text instead of .previous to please Windows/MinGW on amd64
authortb <tb@openbsd.org>
Thu, 23 Feb 2023 08:55:44 +0000 (08:55 +0000)
committertb <tb@openbsd.org>
Thu, 23 Feb 2023 08:55:44 +0000 (08:55 +0000)
ok miod

lib/libcrypto/aes/asm/aes-x86_64.pl
lib/libcrypto/aes/asm/aesni-sha1-x86_64.pl
lib/libcrypto/aes/asm/aesni-x86_64.pl
lib/libcrypto/aes/asm/bsaes-x86_64.pl
lib/libcrypto/aes/asm/vpaes-x86_64.pl
lib/libcrypto/bn/asm/x86_64-mont5.pl
lib/libcrypto/camellia/asm/cmll-x86_64.pl
lib/libcrypto/modes/asm/ghash-x86_64.pl
lib/libcrypto/rc4/asm/rc4-x86_64.pl
lib/libcrypto/sha/asm/sha1-x86_64.pl
lib/libcrypto/sha/asm/sha512-x86_64.pl

index 2986a9f..b7399b5 100755 (executable)
@@ -2535,7 +2535,7 @@ $code.=<<___;
        .long   0x80808080, 0x80808080, 0xfefefefe, 0xfefefefe
        .long   0x1b1b1b1b, 0x1b1b1b1b, 0, 0
 .align 64
-.previous
+.text
 ___
 
 # EXCEPTION_DISPOSITION handler (EXCEPTION_RECORD *rec,ULONG64 frame,
index 8a428c9..bafa906 100644 (file)
@@ -1084,7 +1084,7 @@ K_XX_XX:
 .long  0xca62c1d6,0xca62c1d6,0xca62c1d6,0xca62c1d6     # K_60_79
 .long  0x00010203,0x04050607,0x08090a0b,0x0c0d0e0f     # pbswap mask
 .align 64
-.previous
+.text
 ___
 
 # EXCEPTION_DISPOSITION handler (EXCEPTION_RECORD *rec,ULONG64 frame,
index 1af4c5b..d394e6f 100644 (file)
@@ -2731,7 +2731,7 @@ $code.=<<___;
 .Lxts_magic:
        .long   0x87,0,1,0
 .align 64
-.previous
+.text
 ___
 
 # EXCEPTION_DISPOSITION handler (EXCEPTION_RECORD *rec,ULONG64 frame,
index 347f4c3..20e9e1f 100644 (file)
@@ -2937,7 +2937,7 @@ _bsaes_const:
        .quad   0x6363636363636363, 0x6363636363636363
 .align 64
 .size  _bsaes_const,.-_bsaes_const
-.previous
+.text
 ___
 
 # EXCEPTION_DISPOSITION handler (EXCEPTION_RECORD *rec,ULONG64 frame,
index ad5fa75..3ffb1a3 100644 (file)
@@ -1063,7 +1063,7 @@ _vpaes_consts:
        .quad   0x12D7560F93441D00, 0xCA4B8159D8C58E9C
 .align 64
 .size  _vpaes_consts,.-_vpaes_consts
-.previous
+.text
 ___
 
 if ($win64) {
index 1c8aa25..7b9c6df 100755 (executable)
@@ -1037,7 +1037,7 @@ $code.=<<___;
 .Linc:
        .long   0,0, 1,1
        .long   2,2, 2,2
-.previous
+.text
 ___
 
 # EXCEPTION_DISPOSITION handler (EXCEPTION_RECORD *rec,ULONG64 frame,
index c16725f..586e5d6 100644 (file)
@@ -625,7 +625,7 @@ $_ivp="40(%rsp)";
 $_rsp="48(%rsp)";
 
 $code.=<<___;
-.previous
+.text
 .globl Camellia_cbc_encrypt
 .type  Camellia_cbc_encrypt,\@function,6
 .align 16
index bce6294..71d0822 100644 (file)
@@ -670,7 +670,7 @@ $code.=<<___;
        .value  0xB5E0,0xB422,0xB664,0xB7A6,0xB2E8,0xB32A,0xB16C,0xB0AE
        .value  0xBBF0,0xBA32,0xB874,0xB9B6,0xBCF8,0xBD3A,0xBF7C,0xBEBE
 .align 64
-.previous
+.text
 ___
 \f
 # EXCEPTION_DISPOSITION handler (EXCEPTION_RECORD *rec,ULONG64 frame,
index c51112c..8de8694 100755 (executable)
@@ -524,7 +524,7 @@ RC4_options:
 .asciz "rc4(8x,char)"
 .asciz "rc4(16x,int)"
 .align 64
-.previous
+.text
 .size  RC4_options,.-RC4_options
 ___
 
index 1ec7f60..43eee73 100755 (executable)
@@ -1079,7 +1079,7 @@ K_XX_XX:
 .long  0x8f1bbcdc,0x8f1bbcdc,0x8f1bbcdc,0x8f1bbcdc     # K_40_59
 .long  0xca62c1d6,0xca62c1d6,0xca62c1d6,0xca62c1d6     # K_60_79
 .long  0x00010203,0x04050607,0x08090a0b,0x0c0d0e0f     # pbswap mask
-.previous
+.text
 ___
 }}}
 $code.=<<___;
index 1a7d9bf..0517eab 100755 (executable)
@@ -289,7 +289,7 @@ $TABLE:
        .long   0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3
        .long   0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208
        .long   0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2
-.previous
+.text
 ___
 } else {
 $code.=<<___;
@@ -337,7 +337,7 @@ $TABLE:
        .quad   0x3c9ebe0a15c9bebc,0x431d67c49c100d4c
        .quad   0x4cc5d4becb3e42b6,0x597f299cfc657e2a
        .quad   0x5fcb6fab3ad6faec,0x6c44198c4a475817
-.previous
+.text
 ___
 }