mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 07:13:32 +02:00
+ support align directive with a given use_op/fillop in the NASM asm writer
git-svn-id: trunk@30459 -
This commit is contained in:
parent
824bfd961b
commit
877a769ac3
@ -639,6 +639,8 @@ interface
|
||||
(target_info.system in (systems_windows+systems_wince))
|
||||
) then
|
||||
AsmWriteLn(#9'ALIGNB '+tostr(tai_align(hp).aligntype))
|
||||
else if tai_align_abstract(hp).use_op then
|
||||
AsmWriteLn(#9'ALIGN '+tostr(tai_align(hp).aligntype)+',DB '+tostr(tai_align_abstract(hp).fillop))
|
||||
else
|
||||
AsmWriteLn(#9'ALIGN '+tostr(tai_align(hp).aligntype));
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user