diff --git a/src/ld65/cfg/c64.cfg b/src/ld65/cfg/c64.cfg index 1a5afef6e..0d857c1d8 100644 --- a/src/ld65/cfg/c64.cfg +++ b/src/ld65/cfg/c64.cfg @@ -9,3 +9,15 @@ SEGMENTS { BSS: load = RAM, type = bss, define = yes; ZEROPAGE: load = ZP, type = zp; } +FEATURES { + CONDES: segment = RODATA, + type = constructor, + label = __CONSTRUCTOR_TABLE__, + count = __CONSTRUCTOR_COUNT__; + CONDES: segment = RODATA, + type = destructor, + label = __DESTRUCTOR_TABLE__, + count = __DESTRUCTOR_COUNT__; +} + +