align read only sections on masm/windows to 64 bytes

Avoid conflicts where alignment is specified later in the underlying
assembly.
This commit is contained in:
Brent Cook
2024-01-08 21:57:01 -06:00
parent 31bb2f25f9
commit 37cff9e9a4
2 changed files with 32 additions and 3 deletions

View File

@@ -240,9 +240,8 @@ gen_asm() {
setup_asm_generator() {
rm -fr $asm_src
cp -a $libcrypto_src $asm_src
for i in `ls -1 patches/asm/*.patch | sort -n`; do
patch -d $asm_src -p0 < $i 1> /dev/null 2>/dev/null ;
done
patch -d $asm_src -p0 < patches/asm/endbr64.patch
patch -d $asm_src -p4 < patches/asm/masm-align-64.patch
}
setup_asm_generator