diff options
Diffstat (limited to '')
-rwxr-xr-x | update.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -194,6 +194,11 @@ 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 | |||
197 | # generate assembly crypto algorithms | 202 | # generate assembly crypto algorithms |
198 | asm_src=$libcrypto_src | 203 | asm_src=$libcrypto_src |
199 | gen_asm_stdout() { | 204 | gen_asm_stdout() { |
@@ -205,6 +210,8 @@ gen_asm_stdout() { | |||
205 | EOF | 210 | EOF |
206 | if [ $1 = "masm" ]; then | 211 | if [ $1 = "masm" ]; then |
207 | fixup_masm crypto/$3.tmp crypto/$3 | 212 | fixup_masm crypto/$3.tmp crypto/$3 |
213 | elif [ $1 = "macosx" ]; then | ||
214 | fixup_macosx crypto/$3.tmp crypto/$3 | ||
208 | else | 215 | else |
209 | $MV crypto/$3.tmp crypto/$3 | 216 | $MV crypto/$3.tmp crypto/$3 |
210 | fi | 217 | fi |
@@ -231,6 +238,8 @@ gen_asm() { | |||
231 | EOF | 238 | EOF |
232 | if [ $1 = "masm" ]; then | 239 | if [ $1 = "masm" ]; then |
233 | fixup_masm crypto/$3.tmp crypto/$3 | 240 | fixup_masm crypto/$3.tmp crypto/$3 |
241 | elif [ $1 = "macosx" ]; then | ||
242 | fixup_macosx crypto/$3.tmp crypto/$3 | ||
234 | else | 243 | else |
235 | $MV crypto/$3.tmp crypto/$3 | 244 | $MV crypto/$3.tmp crypto/$3 |
236 | fi | 245 | fi |