diff options
-rw-r--r-- | src/libsec/386/md5block.spp | 3 | ||||
-rw-r--r-- | src/libsec/386/mkfile | 2 | ||||
-rw-r--r-- | src/libsec/386/sha1block.spp | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/libsec/386/md5block.spp b/src/libsec/386/md5block.spp index 213a923c..b218683b 100644 --- a/src/libsec/386/md5block.spp +++ b/src/libsec/386/md5block.spp @@ -43,7 +43,7 @@ #define S43 15 #define S44 21 -#define PAYME(x) $ ## x +#define PAYME(x) $##x /* * SI is data @@ -117,7 +117,6 @@ .p2align 2,0x90 .globl _md5block - .type _md5block, @function _md5block: /* Prelude */ diff --git a/src/libsec/386/mkfile b/src/libsec/386/mkfile index e5dac3cc..54f0ca71 100644 --- a/src/libsec/386/mkfile +++ b/src/libsec/386/mkfile @@ -16,7 +16,7 @@ UPDATE=mkfile\ <$PLAN9/src/mksyslib %.s: %.spp - if [ `uname` = OpenBSD ] + if [ `uname` = OpenBSD ] || [ `uname` = Darwin ] then gcc -xc -E $stem.spp >$stem.s else diff --git a/src/libsec/386/sha1block.spp b/src/libsec/386/sha1block.spp index 2c7ba778..2a7eabdc 100644 --- a/src/libsec/386/sha1block.spp +++ b/src/libsec/386/sha1block.spp @@ -2,7 +2,6 @@ .p2align 2,0x90 .globl _sha1block - .type _sha1block, @function _sha1block: /* x = (wp[off-f] ^ wp[off-8] ^ wp[off-14] ^ wp[off-16]) <<< 1; |