mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 12:49:12 +02:00
+ added the necessary changes for section based smartlinking to the msdos
startup code, behind ifdef __I8086_SMARTLINK_SECTIONS__ git-svn-id: trunk@39278 -
This commit is contained in:
parent
45337b67fe
commit
46b82e3208
@ -1,5 +1,8 @@
|
|||||||
; common startup code for all the memory models
|
; common startup code for all the memory models
|
||||||
|
|
||||||
|
; uncomment this, if you want to use i8086 section based smartlinking:
|
||||||
|
;%define __I8086_SMARTLINK_SECTIONS__
|
||||||
|
|
||||||
%ifdef __TINY__
|
%ifdef __TINY__
|
||||||
%define __NEAR_CODE__
|
%define __NEAR_CODE__
|
||||||
%define __NEAR_DATA__
|
%define __NEAR_DATA__
|
||||||
@ -781,4 +784,7 @@ __nullarea:
|
|||||||
%else
|
%else
|
||||||
group DGROUP _NULL _AFTERNULL data bss
|
group DGROUP _NULL _AFTERNULL data bss
|
||||||
%endif
|
%endif
|
||||||
|
%ifdef __I8086_SMARTLINK_SECTIONS__
|
||||||
|
group CGROUP _TEXT
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user