apple
This commit is contained in:
parent
aff1f05cfb
commit
54b59fd17c
3 changed files with 11 additions and 1 deletions
|
|
@ -116,8 +116,13 @@
|
|||
.text
|
||||
|
||||
.p2align 2,0x90
|
||||
#ifdef __Darwin__
|
||||
.globl __md5block
|
||||
__md5block:
|
||||
#else
|
||||
.globl _md5block
|
||||
_md5block:
|
||||
#endif
|
||||
|
||||
/* Prelude */
|
||||
pushl %ebp
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ UPDATE=mkfile\
|
|||
%.s: %.spp
|
||||
if [ `uname` = OpenBSD ] || [ `uname` = Darwin ]
|
||||
then
|
||||
gcc -xc -E $stem.spp >$stem.s
|
||||
gcc -xc -D__`uname`__ -E $stem.spp >$stem.s
|
||||
else
|
||||
cpp $stem.spp >$stem.s
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -1,8 +1,13 @@
|
|||
.text
|
||||
|
||||
.p2align 2,0x90
|
||||
#ifdef __Darwin__
|
||||
.globl __sha1block
|
||||
__sha1block:
|
||||
#else
|
||||
.globl _sha1block
|
||||
_sha1block:
|
||||
#endif
|
||||
|
||||
/* x = (wp[off-f] ^ wp[off-8] ^ wp[off-14] ^ wp[off-16]) <<< 1;
|
||||
* wp[off] = x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue