plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit a2000ee73e78998f6a57a05eb11639462f936bd4
parent 110c707dda7d14af657a0cc184e60eb42af30c88
Author: rsc <devnull@localhost>
Date:   Fri, 21 Apr 2006 03:43:54 +0000

use gcc because cpp sucks

Diffstat:
Msrc/libsec/386/md5block.spp | 3+--
Msrc/libsec/386/mkfile | 2+-
Msrc/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 @@ -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 @@ -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 @@ -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;