summaryrefslogtreecommitdiffstats
path: root/crypto/md5
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>1999-07-25 22:25:12 +0000
committerAndy Polyakov <appro@openssl.org>1999-07-25 22:25:12 +0000
commit1656ef299750ea22779a4e6edd99bdd913dc22f0 (patch)
treea3cf3bda37fc18618d9d863f6730118acaa94091 /crypto/md5
parentda8fa72f990e50b7ca5b597cb78134ce63269ca7 (diff)
SPARC Solaris config updates.
./config sences whole range of SPARC instruction sets. Do note that it favors Sun C now if both gcc and cc 4.2 or later are present!
Diffstat (limited to 'crypto/md5')
-rw-r--r--crypto/md5/Makefile.ssl10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/md5/Makefile.ssl b/crypto/md5/Makefile.ssl
index 5d6dc8a376..29ae1b7458 100644
--- a/crypto/md5/Makefile.ssl
+++ b/crypto/md5/Makefile.ssl
@@ -71,6 +71,16 @@ asm/md5-sparcv8plus.o: asm/md5-sparcv9.S
$(CC) $(ASFLAGS) -DMD5_BLOCK_DATA_ORDER -c \
-o asm/md5-sparcv8plus.o asm/md5-sparcv9.S
+# Old GNU assembler doesn't understand V9 instructions, so we
+# hire /usr/ccs/bin/as to do the job. Note that option is called
+# *-gcc27, but even gcc 2>=8 users may experience similar problem
+# if they didn't bother to upgrade GNU assembler. Such users should
+# not choose this option, but be adviced to *remove* GNU assembler
+# or upgrade it.
+sm/md5-sparcv8plus-gcc27.o: asm/md5-sparcv9.S
+ $(CC) $(ASFLAGS) -DMD5_BLOCK_DATA_ORDER -E asm/md5-sparcv9.S | \
+ /usr/ccs/bin/as -xarch=v8plus - -o asm/md5-sparcv8plus-gcc27.o
+
asm/md5-sparcv9.o: asm/md5-sparcv9.S
$(CC) $(ASFLAGS) -DMD5_BLOCK_DATA_ORDER -c \
-o asm/md5-sparcv9.o asm/md5-sparcv9.S