gas -g doesn't tolerate unpadded .bytes in code segment.
This commit is contained in:
parent
96b0f6c16d
commit
287a9ee76e
@ -66,7 +66,7 @@ my $asciz = sub {
|
|||||||
shift;
|
shift;
|
||||||
my $line = join(",",@_);
|
my $line = join(",",@_);
|
||||||
if ($line =~ /^"(.*)"$/)
|
if ($line =~ /^"(.*)"$/)
|
||||||
{ ".byte " . join(",",unpack("C*",$1),0); }
|
{ ".byte " . join(",",unpack("C*",$1),0) . "\n.align 2"; }
|
||||||
else
|
else
|
||||||
{ ""; }
|
{ ""; }
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user