From: Stephan Mühlstrasser Date: Fri, 2 Jan 2015 19:28:36 +0000 (+0100) Subject: Restructured according to coding conventions. X-Git-Tag: V2.15~22^2~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8fa5fc61086a8d736b431b8562ec64a2318cec0f;p=cc65 Restructured according to coding conventions. --- diff --git a/cfg/c1p.cfg b/cfg/c1p.cfg index 32be486d5..62adcd820 100644 --- a/cfg/c1p.cfg +++ b/cfg/c1p.cfg @@ -1,14 +1,7 @@ FEATURES { - CONDES: type = constructor, - label = __CONSTRUCTOR_TABLE__, - count = __CONSTRUCTOR_COUNT__, - segment = INIT; - CONDES: type = destructor, - label = __DESTRUCTOR_TABLE__, - count = __DESTRUCTOR_COUNT__, - segment = RODATA; STARTADDRESS: default = $0200; } + SYMBOLS { __STACKSIZE__: type = weak, value = $0400; # 1k stack __HIMEM__: type = weak, value = $2000; # Presumed RAM end @@ -29,3 +22,13 @@ SEGMENTS { ZEROPAGE: load = ZP, type = zp; EXTZP: load = ZP, type = rw, define = yes; } +FEATURES { + CONDES: type = constructor, + label = __CONSTRUCTOR_TABLE__, + count = __CONSTRUCTOR_COUNT__, + segment = INIT; + CONDES: type = destructor, + label = __DESTRUCTOR_TABLE__, + count = __DESTRUCTOR_COUNT__, + segment = RODATA; +}