Force inclusion of 'shadow RAM preparation' load chunk in crt0.s and
not in the linker config file.
This commit is contained in:
@@ -13,7 +13,6 @@ SYMBOLS {
|
|||||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||||
__STARTADDRESS__: type = export, value = %S;
|
__STARTADDRESS__: type = export, value = %S;
|
||||||
sramprep: type = import; # force inclusion of SRPREP
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MEMORY {
|
MEMORY {
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ SYMBOLS {
|
|||||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||||
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
|
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
|
||||||
__STARTADDRESS__: type = export, value = %S;
|
__STARTADDRESS__: type = export, value = %S;
|
||||||
sramprep: type = import; # force inclusion of SRPREP
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MEMORY {
|
MEMORY {
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ SYMBOLS {
|
|||||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||||
__STARTADDRESS__: type = export, value = %S;
|
__STARTADDRESS__: type = export, value = %S;
|
||||||
sramprep: type = import; # force inclusion of SRPREP
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MEMORY {
|
MEMORY {
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
.import sram_init
|
.import sram_init
|
||||||
.import scrdev
|
.import scrdev
|
||||||
.import findfreeiocb
|
.import findfreeiocb
|
||||||
|
.forceimport sramprep ; force inclusion of the "shadow RAM preparation" load chunk
|
||||||
.include "save_area.inc"
|
.include "save_area.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
.ifdef __ATARIXL__
|
.ifdef __ATARIXL__
|
||||||
|
|
||||||
.export sramprep
|
.export sramprep
|
||||||
|
|
||||||
.import __SRPREP_LOAD__, __SRPREPCHNK_LAST__
|
.import __SRPREP_LOAD__, __SRPREPCHNK_LAST__
|
||||||
.import __SHADOW_RAM_LOAD__, __SHADOW_RAM_SIZE__, __SHADOW_RAM_RUN__
|
.import __SHADOW_RAM_LOAD__, __SHADOW_RAM_SIZE__, __SHADOW_RAM_RUN__
|
||||||
.import __SHADOW_RAM2_LOAD__, __SHADOW_RAM2_SIZE__, __SHADOW_RAM2_RUN__
|
.import __SHADOW_RAM2_LOAD__, __SHADOW_RAM2_SIZE__, __SHADOW_RAM2_RUN__
|
||||||
|
|||||||
Reference in New Issue
Block a user