x86_64-xlate.pl: minor update.
authorAndy Polyakov <appro@openssl.org>
Mon, 9 Dec 2013 20:23:19 +0000 (21:23 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 9 Dec 2013 20:53:41 +0000 (21:53 +0100)
(cherry picked from commit 41965a84c4bc0f6694fd17203920a6672e3fac7b)

crypto/perlasm/x86_64-xlate.pl

index a2d870bb434e05ce37549dfa38e05aa9e2f63283..fd3d7e438407116e4bb72c4f98dfc9e5233adfb1 100755 (executable)
@@ -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;