*/
if ((((unsigned long)data)%4) == 0)
{
- HASH_BLOCK_DATA_ORDER_ALIGNED (c,data,sw);
+ /* data is properly aligned so that we can cast it: */
+ HASH_BLOCK_DATA_ORDER_ALIGNED (c,(HASH_LONG *)data,sw);
sw*=HASH_CBLOCK;
data+=sw;
len-=sw;
{
#if defined(HASH_BLOCK_DATA_ORDER_ALIGNED) && HASH_BLOCK_DATA_ORDER_ALIGNED!=1
if ((((unsigned long)data)%4) == 0)
- HASH_BLOCK_DATA_ORDER_ALIGNED (c,data,1);
+ /* data is properly aligned so that we can cast it: */
+ HASH_BLOCK_DATA_ORDER_ALIGNED (c,(HASH_LONG *)data,1);
else
#if !defined(HASH_BLOCK_DATA_ORDER)
{
(cd asm; $(PERL) md5-586.pl cpp >mx86unix.cpp)
# works for both SC and gcc
+# (PATH is changed because /usr/ccs/bin/as knows opcodes we need
+# that GNU as has never heard of)
asm/md5-sparcv8plus.o: asm/md5-sparcv9.S
- $(CPP) -DULTRASPARC -DMD5_BLOCK_DATA_ORDER asm/md5-sparcv9.S | as -xarch=v8plus /dev/fd/0 -o asm/md5-sparcv8plus.o
+ $(CPP) -DULTRASPARC -DMD5_BLOCK_DATA_ORDER asm/md5-sparcv9.S | \
+ PATH=/usr/ccs/bin:$(PATH) as -xarch=v8plus /dev/fd/0 -o asm/md5-sparcv8plus.o
asm/md5-sparcv9.o: asm/md5-sparcv9.S
- $(CC) -xarch=v9 -DULTRASPARC -DMD5_BLOCK_DATA_ORDER -c asm/md5-sparcv9.S -o asm/md5-sparcv9.o
+ PATH=/usr/ccs/bin:$(PATH) $(CC) -xarch=v9 -DULTRASPARC -DMD5_BLOCK_DATA_ORDER -c asm/md5-sparcv9.S -o asm/md5-sparcv9.o
files: