4238N/A#
4238N/A# Patch developed in-house. Solaris-specific; not suitable for upstream.
4238N/A#
4238N/A# Suppress warnings about sparcv8+ ABI violation
4238N/A# when building T4-specific modules as 32-bit:
4238N/A# v8+ ABI violation: illegal use of %i or %l register as rs1 in "brnz,a" instruction
4238N/A# This has been confirmed as a valid usecase and is thus intentional.
4238N/A#
4238N/A--- a/crypto/aes/Makefile.orig čt dub 30 03:15:03 2015
4238N/A+++ b/crypto/aes/Makefile čt dub 30 03:19:32 2015
4820N/A@@ -75,6 +75,9 @@
4820N/A aest4-sparcv9.s: asm/aest4-sparcv9.pl ../perlasm/sparcv9_modes.pl
4238N/A $(PERL) asm/aest4-sparcv9.pl $(CFLAGS) > $@
4238N/A
4238N/A+aest4-sparcv9.o: aest4-sparcv9.s
4238N/A+ $(AS) $(ASFLAGS) -Wa,-n -o $@ $^
4238N/A+
4238N/A aes-ppc.s: asm/aes-ppc.pl
4238N/A $(PERL) asm/aes-ppc.pl $(PERLASM_SCHEME) $@
4820N/A vpaes-ppc.s: asm/vpaes-ppc.pl
4238N/A--- a/crypto/sha/Makefile.orig čt dub 30 14:37:32 2015
4238N/A+++ b/crypto/sha/Makefile čt dub 30 14:40:49 2015
4820N/A@@ -73,6 +73,8 @@
4238N/A sha1-sparcv9.S: asm/sha1-sparcv9.pl; $(PERL) asm/sha1-sparcv9.pl $@ $(CFLAGS)
4238N/A sha256-sparcv9.S:asm/sha512-sparcv9.pl; $(PERL) asm/sha512-sparcv9.pl $@ $(CFLAGS)
4238N/A sha512-sparcv9.S:asm/sha512-sparcv9.pl; $(PERL) asm/sha512-sparcv9.pl $@ $(CFLAGS)
4238N/A+sha512-sparcv9.o: sha512-sparcv9.S
4238N/A+ $(CC) $(CFLAGS) -Wa,-n -c -o $@ $^
4238N/A
4238N/A sha1-ppc.s: asm/sha1-ppc.pl; $(PERL) asm/sha1-ppc.pl $(PERLASM_SCHEME) $@
4238N/A sha256-ppc.s: asm/sha512-ppc.pl; $(PERL) asm/sha512-ppc.pl $(PERLASM_SCHEME) $@
4238N/A--- a/crypto/bn/Makefile.orig čt dub 30 14:43:20 2015
4238N/A+++ b/crypto/bn/Makefile čt dub 30 14:45:11 2015
4238N/A@@ -79,8 +79,12 @@
4238N/A $(PERL) asm/sparcv9-mont.pl $(CFLAGS) > $@
4238N/A vis3-mont.s: asm/vis3-mont.pl
4238N/A $(PERL) asm/vis3-mont.pl $(CFLAGS) > $@
4238N/A+vis3-mont.o: vis3-mont.s
4238N/A+ $(AS) $(ASFLAGS) -Wa,-n -o $@ $^
4238N/A sparct4-mont.S: asm/sparct4-mont.pl
4238N/A $(PERL) asm/sparct4-mont.pl $(CFLAGS) > $@
4238N/A+sparct4-mont.o: sparct4-mont.S
4238N/A+ $(CC) $(CFLAGS) -Wa,-n -c -o $@ $^
4238N/A sparcv9-gf2m.S: asm/sparcv9-gf2m.pl
4238N/A $(PERL) asm/sparcv9-gf2m.pl $(CFLAGS) > $@
4238N/A
4820N/A--- a/crypto/camellia/Makefile.orig Fri Aug 21 14:51:49 2015rypto/camellia/Makef
4820N/A+++ b/crypto/camellia/Makefile Fri Aug 21 14:53:18 2015.2d/crypto/camellia/Make
4820N/A@@ -51,6 +51,9 @@
4820N/A cmllt4-sparcv9.s: asm/cmllt4-sparcv9.pl ../perlasm/sparcv9_modes.pl
4820N/A $(PERL) asm/cmllt4-sparcv9.pl $(CFLAGS) > $@
4820N/A
4820N/A+cmllt4-sparcv9.o: cmllt4-sparcv9.s
4820N/A+ $(AS) $(ASFLAGS) -Wa,-n -o $@ $^
4820N/A+
4820N/A files:
4820N/A $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
4820N/A
4820N/A--- a/crypto/modes/Makefile.orig Fri Aug 21 15:22:37 2015
4820N/A+++ b/crypto/modes/Makefile Fri Aug 21 15:26:12 2015
4820N/A@@ -54,6 +54,9 @@
4820N/A $(PERL) asm/aesni-gcm-x86_64.pl $(PERLASM_SCHEME) > $@
4820N/A ghash-sparcv9.s: asm/ghash-sparcv9.pl
4820N/A $(PERL) asm/ghash-sparcv9.pl $@ $(CFLAGS)
4820N/A+ghash-sparcv9.o: ghash-sparcv9.s
4820N/A+ $(AS) $(ASFLAGS) -Wa,-n -o $@ $^
4820N/A+
4820N/A ghash-alpha.s: asm/ghash-alpha.pl
4820N/A (preproc=$$$$.$@.S; trap "rm $$preproc" INT; \
4820N/A $(PERL) asm/ghash-alpha.pl > $$preproc && \