summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-12-09 21:23:19 +0100
committerAndy Polyakov <appro@openssl.org>2013-12-09 21:23:19 +0100
commit41965a84c4bc0f6694fd17203920a6672e3fac7b (patch)
tree2b938788eb971307b9b57eab7ec7e5914759d18c /crypto/perlasm
parentec9cc70f72454b8d4a84247c86159613cee83b81 (diff)
x86_64-xlate.pl: minor update.
Diffstat (limited to 'crypto/perlasm')
-rwxr-xr-xcrypto/perlasm/x86_64-xlate.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl
index bd165b152b..ed74b85ac9 100755
--- a/crypto/perlasm/x86_64-xlate.pl
+++ b/crypto/perlasm/x86_64-xlate.pl
@@ -834,6 +834,7 @@ while($line=<>) {
$line =~ s|[#!].*$||; # get rid of asm-style comments...
$line =~ s|/\*.*\*/||; # ... and C-style comments...
$line =~ s|^\s+||; # ... and skip white spaces in beginning
+ $line =~ s|\s+$||; # ... and at the end
undef $label;
undef $opcode;