diff options
author | Brent Cook <busterb@gmail.com> | 2023-07-03 16:34:38 +0300 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2023-07-03 16:34:38 +0300 |
commit | 11dfc90f83c260e99aed721cf0880ec427a9bb6f (patch) | |
tree | be0aa352723023d24593f6169cdbfe83f615f6e3 /update.sh | |
parent | 559f40996a938c8563821e0920974d3779f29c6a (diff) | |
download | portable-11dfc90f83c260e99aed721cf0880ec427a9bb6f.tar.gz portable-11dfc90f83c260e99aed721cf0880ec427a9bb6f.tar.bz2 portable-11dfc90f83c260e99aed721cf0880ec427a9bb6f.zip |
move endbr64 removal to preprocessor
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -194,11 +194,6 @@ fixup_masm() { | |||
194 | > $2 | 194 | > $2 |
195 | } | 195 | } |
196 | 196 | ||
197 | fixup_macosx() { | ||
198 | echo Fixing up $2 | ||
199 | sed -e 's/endbr64//' $1 > $2 | ||
200 | } | ||
201 | |||
202 | # generate assembly crypto algorithms | 197 | # generate assembly crypto algorithms |
203 | asm_src=$libcrypto_src | 198 | asm_src=$libcrypto_src |
204 | gen_asm_stdout() { | 199 | gen_asm_stdout() { |
@@ -210,8 +205,6 @@ gen_asm_stdout() { | |||
210 | EOF | 205 | EOF |
211 | if [ $1 = "masm" ]; then | 206 | if [ $1 = "masm" ]; then |
212 | fixup_masm crypto/$3.tmp crypto/$3 | 207 | fixup_masm crypto/$3.tmp crypto/$3 |
213 | elif [ $1 = "macosx" ]; then | ||
214 | fixup_macosx crypto/$3.tmp crypto/$3 | ||
215 | else | 208 | else |
216 | $MV crypto/$3.tmp crypto/$3 | 209 | $MV crypto/$3.tmp crypto/$3 |
217 | fi | 210 | fi |
@@ -238,8 +231,6 @@ gen_asm() { | |||
238 | EOF | 231 | EOF |
239 | if [ $1 = "masm" ]; then | 232 | if [ $1 = "masm" ]; then |
240 | fixup_masm crypto/$3.tmp crypto/$3 | 233 | fixup_masm crypto/$3.tmp crypto/$3 |
241 | elif [ $1 = "macosx" ]; then | ||
242 | fixup_macosx crypto/$3.tmp crypto/$3 | ||
243 | else | 234 | else |
244 | $MV crypto/$3.tmp crypto/$3 | 235 | $MV crypto/$3.tmp crypto/$3 |
245 | fi | 236 | fi |