Force inclusion of 'shadow RAM preparation' load chunk in crt0.s and

not in the linker config file.
This commit is contained in:
Christian Groessler 2013-10-18 22:07:05 +02:00
parent 9a3ca6769a
commit 478a7679a2
5 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,6 @@ SYMBOLS {
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
__STACKSIZE__: type = weak, value = $0800; # 2k stack
__STARTADDRESS__: type = export, value = %S;
sramprep: type = import; # force inclusion of SRPREP
}
MEMORY {

View File

@ -9,7 +9,6 @@ SYMBOLS {
__STACKSIZE__: type = weak, value = $0800; # 2k stack
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
__STARTADDRESS__: type = export, value = %S;
sramprep: type = import; # force inclusion of SRPREP
}
MEMORY {

View File

@ -8,7 +8,6 @@ SYMBOLS {
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
__STACKSIZE__: type = weak, value = $0800; # 2k stack
__STARTADDRESS__: type = export, value = %S;
sramprep: type = import; # force inclusion of SRPREP
}
MEMORY {

View File

@ -20,6 +20,7 @@
.import sram_init
.import scrdev
.import findfreeiocb
.forceimport sramprep ; force inclusion of the "shadow RAM preparation" load chunk
.include "save_area.inc"
.endif

View File

@ -14,6 +14,7 @@
.ifdef __ATARIXL__
.export sramprep
.import __SRPREP_LOAD__, __SRPREPCHNK_LAST__
.import __SHADOW_RAM_LOAD__, __SHADOW_RAM_SIZE__, __SHADOW_RAM_RUN__
.import __SHADOW_RAM2_LOAD__, __SHADOW_RAM2_SIZE__, __SHADOW_RAM2_RUN__