summaryrefslogtreecommitdiff
path: root/compiler/systems
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-06-12 00:38:51 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-06-12 00:38:51 +0000
commit0b9714a186292e53e00a9329ac1bf964c97d0304 (patch)
treecfc9e6a6141e848d7f00ba5d004fc9cdc3ed9fb0 /compiler/systems
parentd07579dc209e2e2bf874698bd44534afa66c0ddb (diff)
downloadfpc-0b9714a186292e53e00a9329ac1bf964c97d0304.tar.gz
* fixed compilation of .com files in the i8086 tiny memory model, when used with
section based smartlinking git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@39213 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/systems')
-rw-r--r--compiler/systems/t_msdos.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/systems/t_msdos.pas b/compiler/systems/t_msdos.pas
index 42fde05398..63bb18affa 100644
--- a/compiler/systems/t_msdos.pas
+++ b/compiler/systems/t_msdos.pas
@@ -469,6 +469,7 @@ begin
LinkScript.Concat('EXESECTION .MZ_flat_content');
if current_settings.x86memorymodel=mm_tiny then
begin
+ LinkScript.Concat(' OBJSECTION _TEXT||CODE');
LinkScript.Concat(' OBJSECTION *||CODE');
LinkScript.Concat(' OBJSECTION *||DATA');
LinkScript.Concat(' SYMBOL _edata');