diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-09-26 11:55:37 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-10-03 13:53:05 +0200 |
commit | edce87be74a578eb3b2bc85483130ddd62a4f38f (patch) | |
tree | 7e7fb3aa12d717aadd3bbfe1f9527997957485cf /cfg.mk | |
parent | d92c73de3f9adcadeb278e44655daf9c00a1a5d7 (diff) | |
download | gnutls-edce87be74a578eb3b2bc85483130ddd62a4f38f.tar.gz |
Imported Andy Polyakov's implementation of AES in aarch64
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -135,6 +135,7 @@ web: -cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.devhelp* doc/reference/html/*.css $(htmldir)/reference/ ASM_SOURCES_XXX := \ + lib/accelerated/aarch64/XXX/aes-aarch64.s \ lib/accelerated/aarch64/XXX/sha1-armv8.s \ lib/accelerated/aarch64/XXX/sha256-armv8.s \ lib/accelerated/aarch64/XXX/sha512-armv8.s \ @@ -227,15 +228,15 @@ lib/accelerated/x86/macosx/%.s: devel/perlasm/%.pl .submodule.stamp sed -i 's/OPENSSL_ia32cap_P/_gnutls_x86_cpuid_s/g' $@ lib/accelerated/aarch64/elf/%.s: devel/perlasm/%.pl .submodule.stamp + rm -f $@tmp CC=aarch64-linux-gnu-gcc perl $< linux64 $@.tmp - cat $@.tmp | /usr/bin/perl -ne '/^#(line)?\s*[0-9]+/ or print' > $@.i - cat $<.license > $@.tmp.S - cat $@.i >> $@.tmp.S - rm -f $@.i $@.tmp + cat $@.tmp | /usr/bin/perl -ne '/^#(line)?\s*[0-9]+/ or print' > $@.tmp.S echo "" >> $@.tmp.S sed -i 's/OPENSSL_armcap_P/_gnutls_arm_cpuid_s/g' $@.tmp.S sed -i 's/arm_arch.h/aarch64-common.h/g' $@.tmp.S - echo ".section .note.GNU-stack,\"\",%progbits" >> $@.tmp.S - aarch64-linux-gnu-gcc -Ilib/accelerated/aarch64 -Wa,--noexecstack -E $@.tmp.S -o $@ - rm -f $@.tmp.S + aarch64-linux-gnu-gcc -D__ARM_MAX_ARCH__=8 -Ilib/accelerated/aarch64 -Wa,--noexecstack -E $@.tmp.S -o $@.tmp.s + cat $<.license $@.tmp.s > $@ + echo ".section .note.GNU-stack,\"\",%progbits" >> $@ + rm -f $@.tmp.S $@.tmp.s $@.tmp + |