]> git.sur5r.net Git - cc65/blobdiff - src/ld65/cfg/c64.cfg
Added command line response files
[cc65] / src / ld65 / cfg / c64.cfg
index 1a5afef6e19c53d19d7782ae230b08ec00f3839d..06775558919336ef8bb9ca7c1a70b72311e1866e 100644 (file)
@@ -1,6 +1,6 @@
 MEMORY {
     ZP: start = $02, size = $1A, type = rw;
-    RAM: start = $7FF, size = $c801, file = %O;
+    RAM: start = $7FF, size = $c801, define = yes, file = %O;
 }
 SEGMENTS {
     CODE: load = RAM, type = wprot;
@@ -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__;
+}
+
+