aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-07-03 16:34:38 +0300
committerBrent Cook <busterb@gmail.com>2023-07-03 16:34:38 +0300
commit11dfc90f83c260e99aed721cf0880ec427a9bb6f (patch)
treebe0aa352723023d24593f6169cdbfe83f615f6e3 /update.sh
parent559f40996a938c8563821e0920974d3779f29c6a (diff)
downloadportable-11dfc90f83c260e99aed721cf0880ec427a9bb6f.tar.gz
portable-11dfc90f83c260e99aed721cf0880ec427a9bb6f.tar.bz2
portable-11dfc90f83c260e99aed721cf0880ec427a9bb6f.zip
move endbr64 removal to preprocessor
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/update.sh b/update.sh
index abf2097..d42cd58 100755
--- a/update.sh
+++ b/update.sh
@@ -194,11 +194,6 @@ fixup_masm() {
194 > $2 194 > $2
195} 195}
196 196
197fixup_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
203asm_src=$libcrypto_src 198asm_src=$libcrypto_src
204gen_asm_stdout() { 199gen_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