From: Andy Polyakov Date: Fri, 13 Jul 2007 21:35:56 +0000 (+0000) Subject: gas -g doesn't tolerate unpadded .bytes in code segment. X-Git-Tag: OpenSSL_0_9_8k^2~776 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=287a9ee76e9c4ba871d734eec054a9d7697544a1;p=oweals%2Fopenssl.git gas -g doesn't tolerate unpadded .bytes in code segment. --- 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 { ""; } };