mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 16:29:24 +02:00
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:
parent
c3c7ec8839
commit
17ff90deb9
@ -653,8 +653,13 @@ implementation
|
|||||||
begin
|
begin
|
||||||
{$ifdef m68k}
|
{$ifdef m68k}
|
||||||
if assigned(lasthp) and
|
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
|
begin
|
||||||
if ispowerof2(alignment,i) then
|
if ispowerof2(alignment,i) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user