summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-07-13 21:35:56 +0000
committerAndy Polyakov <appro@openssl.org>2007-07-13 21:35:56 +0000
commit287a9ee76e9c4ba871d734eec054a9d7697544a1 (patch)
treef53374427e81113a65f3b87aabdb29bbd8e2a971
parent96b0f6c16d24aa703a55ffea27cb3b70eb4bdcd6 (diff)
gas -g doesn't tolerate unpadded .bytes in code segment.
-rwxr-xr-xcrypto/perlasm/ppc-xlate.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/perlasm/ppc-xlate.pl b/crypto/perlasm/ppc-xlate.pl
index c2a4621f86..fed56e3772 100755
--- a/crypto/perlasm/ppc-xlate.pl
+++ b/crypto/perlasm/ppc-xlate.pl
@@ -66,7 +66,7 @@ my $asciz = sub {
shift;
my $line = join(",",@_);
if ($line =~ /^"(.*)"$/)
- { ".byte " . join(",",unpack("C*",$1),0); }
+ { ".byte " . join(",",unpack("C*",$1),0) . "\n.align 2"; }
else
{ ""; }
};