summaryrefslogtreecommitdiff
path: root/compiler/x86
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-09-07 19:00:41 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-09-07 19:00:41 +0000
commit00db2d5c11211799b536eeab7a7714aaf46e1c3d (patch)
treed2f3cfc1ea3180f077ea082897426935b276231a /compiler/x86
parentcd85afe6c3654b34743c453b42645d5ede138fbd (diff)
downloadfpc-00db2d5c11211799b536eeab7a7714aaf46e1c3d.tar.gz
+ added win16 to the nasm's supported targets
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@31568 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/x86')
-rw-r--r--compiler/x86/agx86nsm.pas7
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/x86/agx86nsm.pas b/compiler/x86/agx86nsm.pas
index b3cb644b2a..5ed26162ba 100644
--- a/compiler/x86/agx86nsm.pas
+++ b/compiler/x86/agx86nsm.pas
@@ -1196,7 +1196,8 @@ interface
result:=Inherited MakeCmdLine;
{$ifdef i8086}
case target_info.system of
- system_i8086_msdos:
+ system_i8086_msdos,
+ system_i8086_win16:
FormatName:='obj';
else
internalerror(2014082060);
@@ -1247,7 +1248,7 @@ interface
idtxt : 'NASM';
asmbin : 'nasm';
asmcmd : '-f $FORMAT -o $OBJ -w-orphan-labels $EXTRAOPT $ASM';
- supported_targets : [system_i8086_msdos];
+ supported_targets : [system_i8086_msdos,system_i8086_win16];
flags : [af_needar,af_no_debug];
labelprefix : '..@';
comment : '; ';
@@ -1259,7 +1260,7 @@ interface
idtxt : 'NASMOBJ';
asmbin : 'nasm';
asmcmd : '-f obj -o $OBJ -w-orphan-labels $EXTRAOPT $ASM';
- supported_targets : [system_i8086_msdos];
+ supported_targets : [system_i8086_msdos,system_i8086_win16];
flags : [af_needar,af_no_debug];
labelprefix : '..@';
comment : '; ';