gas -g doesn't tolerate unpadded .bytes in code segment.
authorAndy Polyakov <appro@openssl.org>
Fri, 13 Jul 2007 21:35:56 +0000 (21:35 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 13 Jul 2007 21:35:56 +0000 (21:35 +0000)
crypto/perlasm/ppc-xlate.pl

index c2a4621f868a24c72f36d00248cb35ceed356543..fed56e3772a3fa0a0a2c5b62e6ef57a2ba1c0006 100755 (executable)
@@ -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
     {  "";     }
 };