mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-23 19:39:45 +02:00
* declare segments as use16 or use32 in the nasm asm writer
git-svn-id: trunk@31493 -
This commit is contained in:
parent
672ff1d863
commit
3b36e3d0b5
@ -557,6 +557,10 @@ interface
|
||||
{ yes -> write the section attributes as well }
|
||||
if atype=sec_stack then
|
||||
AsmWrite(' stack');
|
||||
if atype in [sec_debug_frame,sec_debug_info,sec_debug_line,sec_debug_abbrev] then
|
||||
AsmWrite(' use32')
|
||||
else
|
||||
AsmWrite(' use16');
|
||||
AsmWrite(' class='+omf_segclass[atype]+
|
||||
' align='+tostr(omf_sectiontype2align(atype)));
|
||||
FSectionsUsed.Add(secname,nil);
|
||||
|
Loading…
Reference in New Issue
Block a user