The former ULTRASPARC preprocessor symbol is now called

OPENSSL_SYSNAME_ULTRASPARC, so we'd better check for that one
This commit is contained in:
Bodo Möller 2001-03-14 14:02:10 +00:00
parent cad4b840c8
commit a5e4c0bb9e

View File

@ -24,12 +24,12 @@
* *
* To compile with SC4.x/SC5.x: * To compile with SC4.x/SC5.x:
* *
* cc -xarch=v[9|8plus] -DULTRASPARC -DMD5_BLOCK_DATA_ORDER \ * cc -xarch=v[9|8plus] -DOPENSSL_SYSNAME_ULTRASPARC -DMD5_BLOCK_DATA_ORDER \
* -c md5-sparcv9.S * -c md5-sparcv9.S
* *
* and with gcc: * and with gcc:
* *
* gcc -mcpu=ultrasparc -DULTRASPARC -DMD5_BLOCK_DATA_ORDER \ * gcc -mcpu=ultrasparc -DOPENSSL_SYSNAME_ULTRASPARC -DMD5_BLOCK_DATA_ORDER \
* -c md5-sparcv9.S * -c md5-sparcv9.S
* *
* or if above fails (it does if you have gas): * or if above fails (it does if you have gas):
@ -72,7 +72,7 @@
#define Dval R8 #define Dval R8
#if defined(MD5_BLOCK_DATA_ORDER) #if defined(MD5_BLOCK_DATA_ORDER)
# if defined(ULTRASPARC) # if defined(OPENSSL_SYSNAME_ULTRASPARC)
# define LOAD lda # define LOAD lda
# define X(i) [%i1+i*4]%asi # define X(i) [%i1+i*4]%asi
# define md5_block md5_block_asm_data_order_aligned # define md5_block md5_block_asm_data_order_aligned
@ -1012,7 +1012,7 @@ md5_block:
st B,[Bptr] st B,[Bptr]
nop != nop !=
#ifdef ULTRASPARC #ifdef OPENSSL_SYSNAME_ULTRASPARC
bg,a,pt %icc,.Lmd5_block_loop bg,a,pt %icc,.Lmd5_block_loop
#else #else
bg,a .Lmd5_block_loop bg,a .Lmd5_block_loop