diff options
author | Andy Polyakov <appro@openssl.org> | 2004-12-20 13:44:34 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-12-20 13:44:34 +0000 |
commit | 76ef6ac956490b4d9f78445599ce52510021858a (patch) | |
tree | e3dc2caa83e0d717ed19fdae43cfedc3e34acb84 /crypto | |
parent | a842df6659e1a9dd98bdab61cf2fd4682dfb70ad (diff) |
Refine PowerPC platform support.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bn/Makefile.ssl | 4 | ||||
-rw-r--r-- | crypto/md32_common.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bn/Makefile.ssl b/crypto/bn/Makefile.ssl index efdfde397a..08cdd92c46 100644 --- a/crypto/bn/Makefile.ssl +++ b/crypto/bn/Makefile.ssl @@ -103,8 +103,8 @@ asm/pa-risc2.o: asm/pa-risc2.s # ppc - AIX, Linux, MacOS X... asm/linux_ppc32.s: asm/ppc.pl; $(PERL) $< $@ asm/linux_ppc64.s: asm/ppc.pl; $(PERL) $< $@ -asm/aix_ppc32.s: asm/ppc.pl; $(PERL) $< $@ -asm/aix_ppc64.s: asm/ppc.pl; $(PERL) $< $@ +asm/aix_ppc32.s: asm/ppc.pl; $(PERL) asm/ppc.pl $@ +asm/aix_ppc64.s: asm/ppc.pl; $(PERL) asm/ppc.pl $@ asm/osx_ppc32.s: asm/ppc.pl; $(PERL) $< $@ files: diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 7eef6e9074..0cbcfaf8a2 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -206,7 +206,7 @@ : "cc"); \ ret; \ }) -# elif defined(__powerpc) || defined(__ppc) +# elif defined(__powerpc) || defined(__ppc__) || defined(__powerpc64__) # define ROTATE(a,n) ({ register unsigned int ret; \ asm ( \ "rlwinm %0,%1,%2,0,31" \ |