+ support align directive with a given use_op/fillop in the NASM asm writer

git-svn-id: trunk@30459 -
This commit is contained in:
nickysn 2015-04-06 01:03:22 +00:00
parent 824bfd961b
commit 877a769ac3

View File

@ -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;