From d57f57db55a3bc1b0475e16af3dc1c6e75405cd8 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 10 Mar 2001 14:24:58 +0000 Subject: [PATCH] Add new symbol __STACKSIZE__ to all linker configurations. git-svn-id: svn://svn.cc65.org/cc65/trunk@622 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/cfg/apple2.cfg | 5 +++++ src/ld65/cfg/atari.cfg | 3 +++ src/ld65/cfg/bbc.cfg | 3 +++ src/ld65/cfg/c128.cfg | 3 +++ src/ld65/cfg/c64.cfg | 3 +++ src/ld65/cfg/cbm610.cfg | 3 +++ src/ld65/cfg/geos.cfg | 3 +++ src/ld65/cfg/lunix.cfg | 3 +++ src/ld65/cfg/nes.cfg | 3 +++ src/ld65/cfg/osa65.cfg | 3 +++ src/ld65/cfg/pet.cfg | 3 +++ src/ld65/cfg/plus4.cfg | 3 +++ 12 files changed, 38 insertions(+) diff --git a/src/ld65/cfg/apple2.cfg b/src/ld65/cfg/apple2.cfg index ec860e773..ce841561a 100644 --- a/src/ld65/cfg/apple2.cfg +++ b/src/ld65/cfg/apple2.cfg @@ -19,3 +19,8 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} + + diff --git a/src/ld65/cfg/atari.cfg b/src/ld65/cfg/atari.cfg index 5ebfa6563..66469ed19 100644 --- a/src/ld65/cfg/atari.cfg +++ b/src/ld65/cfg/atari.cfg @@ -22,3 +22,6 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/bbc.cfg b/src/ld65/cfg/bbc.cfg index 7b19096ee..5d2a12aac 100644 --- a/src/ld65/cfg/bbc.cfg +++ b/src/ld65/cfg/bbc.cfg @@ -19,5 +19,8 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/c128.cfg b/src/ld65/cfg/c128.cfg index 72856639a..dc9f873b9 100644 --- a/src/ld65/cfg/c128.cfg +++ b/src/ld65/cfg/c128.cfg @@ -19,3 +19,6 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/c64.cfg b/src/ld65/cfg/c64.cfg index 067755589..6ca1ca9f5 100644 --- a/src/ld65/cfg/c64.cfg +++ b/src/ld65/cfg/c64.cfg @@ -19,5 +19,8 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/cbm610.cfg b/src/ld65/cfg/cbm610.cfg index f5ec9c270..586412d53 100644 --- a/src/ld65/cfg/cbm610.cfg +++ b/src/ld65/cfg/cbm610.cfg @@ -19,3 +19,6 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/geos.cfg b/src/ld65/cfg/geos.cfg index 32836ea40..e86aafc77 100644 --- a/src/ld65/cfg/geos.cfg +++ b/src/ld65/cfg/geos.cfg @@ -19,3 +19,6 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/lunix.cfg b/src/ld65/cfg/lunix.cfg index f83cfd2f8..59b2db2d7 100644 --- a/src/ld65/cfg/lunix.cfg +++ b/src/ld65/cfg/lunix.cfg @@ -25,3 +25,6 @@ FILES { FORMATS { o65: os = lunix, type = small, extsym = "LUNIXKERNAL", extsym = "LIB6502"; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/nes.cfg b/src/ld65/cfg/nes.cfg index af02c5c65..d43663bf7 100644 --- a/src/ld65/cfg/nes.cfg +++ b/src/ld65/cfg/nes.cfg @@ -19,3 +19,6 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/osa65.cfg b/src/ld65/cfg/osa65.cfg index 0ff4d3115..d027d0c4e 100644 --- a/src/ld65/cfg/osa65.cfg +++ b/src/ld65/cfg/osa65.cfg @@ -25,3 +25,6 @@ FILES { FORMATS { o65: os = osa65, type = small, extsym = "OSA2KERNAL", extsym = "LIB6502"; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/pet.cfg b/src/ld65/cfg/pet.cfg index d2d9ca2b2..0cd2968ba 100644 --- a/src/ld65/cfg/pet.cfg +++ b/src/ld65/cfg/pet.cfg @@ -19,4 +19,7 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} diff --git a/src/ld65/cfg/plus4.cfg b/src/ld65/cfg/plus4.cfg index cb39e2e80..75be2bdc6 100644 --- a/src/ld65/cfg/plus4.cfg +++ b/src/ld65/cfg/plus4.cfg @@ -19,3 +19,6 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; } +SYMBOLS { + __STACKSIZE__ = $800; # 2K stack +} -- 2.39.5