From 287a9ee76e9c4ba871d734eec054a9d7697544a1 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Fri, 13 Jul 2007 21:35:56 +0000 Subject: gas -g doesn't tolerate unpadded .bytes in code segment. --- crypto/perlasm/ppc-xlate.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { ""; } }; -- cgit v1.2.3