aggas.pas, tgnuassembler.writetree.doalign:

+ add the case of a label instead of a jump directly in front of the align (happened in "do_open" for StdIO)

git-svn-id: trunk@22889 -
This commit is contained in:
svenbarth 2012-10-31 20:23:41 +00:00
parent c3c7ec8839
commit 17ff90deb9

View File

@ -653,8 +653,13 @@ implementation
begin
{$ifdef m68k}
if assigned(lasthp) and
(lasthp.typ=ait_instruction) and
(taicpu(lasthp).opcode<>A_JMP) then
(
(lasthp.typ=ait_instruction) and
(taicpu(lasthp).opcode<>A_JMP)
) or
(
(lasthp.typ=ait_label)
) then
begin
if ispowerof2(alignment,i) then
begin