From 695e589b0c8957680cac36468cf3e0fb56f9ef8f Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 10 Sep 2018 09:28:05 -0700 Subject: [PATCH] Include newlines at the end of generated asm. Perl's print doesn't automatically include a newline and the delocate script doesn't like files that don't end with one. Change-Id: Ib1bce2b3bb6fbe1a122bd88b58198b497c599adb Reviewed-on: https://boringssl-review.googlesource.com/31804 Commit-Queue: David Benjamin Reviewed-by: David Benjamin CQ-Verified: CQ bot account: commit-bot@chromium.org --- crypto/perlasm/arm-xlate.pl | 2 +- crypto/perlasm/ppc-xlate.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/perlasm/arm-xlate.pl b/crypto/perlasm/arm-xlate.pl index fffba808..29e086dd 100755 --- a/crypto/perlasm/arm-xlate.pl +++ b/crypto/perlasm/arm-xlate.pl @@ -194,6 +194,6 @@ while(my $line=<>) { } print "#endif\n" if ($flavour eq "linux32" || $flavour eq "linux64"); -print "#endif // !OPENSSL_NO_ASM"; +print "#endif // !OPENSSL_NO_ASM\n"; close STDOUT; diff --git a/crypto/perlasm/ppc-xlate.pl b/crypto/perlasm/ppc-xlate.pl index 8013058d..05595f2c 100644 --- a/crypto/perlasm/ppc-xlate.pl +++ b/crypto/perlasm/ppc-xlate.pl @@ -306,6 +306,6 @@ while($line=<>) { print "\n"; } -print "#endif // !OPENSSL_NO_ASM && __powerpc64__"; +print "#endif // !OPENSSL_NO_ASM && __powerpc64__\n"; close STDOUT;