diff options
author | Brent Cook <busterb@gmail.com> | 2024-01-08 21:57:01 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-02-12 03:14:54 -0600 |
commit | 37cff9e9a408570a96e3080249f8c70f6296a26f (patch) | |
tree | 66ea901b7f878848d0f2eadc7af53966d2614cb3 /update.sh | |
parent | 31bb2f25f9968970cebc84e7da54a3a02d2fc4de (diff) | |
download | portable-37cff9e9a408570a96e3080249f8c70f6296a26f.tar.gz portable-37cff9e9a408570a96e3080249f8c70f6296a26f.tar.bz2 portable-37cff9e9a408570a96e3080249f8c70f6296a26f.zip |
align read only sections on masm/windows to 64 bytes
Avoid conflicts where alignment is specified later in the underlying
assembly.
Diffstat (limited to '')
-rwxr-xr-x | update.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -240,9 +240,8 @@ gen_asm() { | |||
240 | setup_asm_generator() { | 240 | setup_asm_generator() { |
241 | rm -fr $asm_src | 241 | rm -fr $asm_src |
242 | cp -a $libcrypto_src $asm_src | 242 | cp -a $libcrypto_src $asm_src |
243 | for i in `ls -1 patches/asm/*.patch | sort -n`; do | 243 | patch -d $asm_src -p0 < patches/asm/endbr64.patch |
244 | patch -d $asm_src -p0 < $i 1> /dev/null 2>/dev/null ; | 244 | patch -d $asm_src -p4 < patches/asm/masm-align-64.patch |
245 | done | ||
246 | } | 245 | } |
247 | 246 | ||
248 | setup_asm_generator | 247 | setup_asm_generator |