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:53:41 +0100
commit3dcae82fa9645d55d5f4fa3946dbd21620bbe725 (patch)
treec93c365ee5285931a53f44c25f4ecf1fb2bb8f8a /crypto/perlasm
parent86b81ecb73d195026d536a5911d75d013b5c16e0 (diff)
x86_64-xlate.pl: minor update.
(cherry picked from commit 41965a84c4bc0f6694fd17203920a6672e3fac7b)
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 a2d870bb43..fd3d7e4384 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;