mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 19:49:09 +02:00
ARMv6M was missing alignments for jumptables
git-svn-id: trunk@30775 -
This commit is contained in:
parent
99421ba032
commit
6662cb6dd5
@ -242,6 +242,7 @@ implementation
|
|||||||
{ do not use BX here to avoid switching into arm mode }
|
{ do not use BX here to avoid switching into arm mode }
|
||||||
current_asmdata.CurrAsmList.Concat(taicpu.op_reg_reg(A_MOV, NR_PC, tmpreg));
|
current_asmdata.CurrAsmList.Concat(taicpu.op_reg_reg(A_MOV, NR_PC, tmpreg));
|
||||||
|
|
||||||
|
current_asmdata.CurrAsmList.Concat(tai_align.Create(4));
|
||||||
cg.a_label(current_asmdata.CurrAsmList,tablelabel);
|
cg.a_label(current_asmdata.CurrAsmList,tablelabel);
|
||||||
{ generate jump table }
|
{ generate jump table }
|
||||||
last:=min_;
|
last:=min_;
|
||||||
|
Loading…
Reference in New Issue
Block a user