1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-22 12:29:12 +00:00

Move the constructor tables into the INIT segment

git-svn-id: svn://svn.cc65.org/cc65/trunk@3403 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2005-02-26 09:06:12 +00:00
parent 34017fb89a
commit 46cb3bb2e8
21 changed files with 25 additions and 25 deletions

View File

@ -15,7 +15,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -15,7 +15,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -15,7 +15,7 @@ SEGMENTS {
AUTOSTRT: load = RAM, type = ro; AUTOSTRT: load = RAM, type = ro;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -15,7 +15,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -13,7 +13,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -1,4 +1,4 @@
MEMORY { MEMORY {
ZP: start = $0002, size = $001A, type = rw, define = yes; ZP: start = $0002, size = $001A, type = rw, define = yes;
RAM: start = $1Bff, size = $A401, file = %O, define = yes; RAM: start = $1Bff, size = $A401, file = %O, define = yes;
} }
@ -13,7 +13,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -1,7 +1,7 @@
MEMORY { MEMORY {
ZP: start = $0002, size = $001A, type = rw, define = yes; ZP: start = $0002, size = $001A, type = rw, define = yes;
RAM: start = $0FFF, size = $7001, file = %O; RAM: start = $0FFF, size = $7001, file = %O;
} }
SEGMENTS { SEGMENTS {
STARTUP: load = RAM, type = ro; STARTUP: load = RAM, type = ro;
LOWCODE: load = RAM, type = ro, optional = yes; LOWCODE: load = RAM, type = ro, optional = yes;
@ -13,7 +13,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -12,8 +12,8 @@ SEGMENTS {
BSS: load = RAM, type = bss, define = yes; BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -23,7 +23,7 @@ SEGMENTS {
EXTZP: load = ZP, type = rw, define = yes; EXTZP: load = ZP, type = rw, define = yes;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -18,10 +18,10 @@ SEGMENTS {
DATA: load = RAM, type = rw; DATA: load = RAM, type = rw;
BSS: load = RAM, type = bss, define = yes; BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP, type = rw, define = yes; EXTZP: load = ZP, type = rw, define = yes;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -16,7 +16,7 @@ SEGMENTS {
EXTZP: load = ZP, type = zp; EXTZP: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -14,7 +14,7 @@ SEGMENTS {
BSS: load = RAM, type = bss, define = yes; # Uninitialized variables BSS: load = RAM, type = bss, define = yes; # Uninitialized variables
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -17,7 +17,7 @@ SEGMENTS {
APPZP: load = ZP, type = zp, optional = yes; APPZP: load = ZP, type = zp, optional = yes;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -47,7 +47,7 @@ SEGMENTS {
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -12,7 +12,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -12,7 +12,7 @@ SEGMENTS {
ZEROPAGE: load = ZEROPAGE, type = zp; ZEROPAGE: load = ZEROPAGE, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -13,7 +13,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -13,7 +13,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -23,7 +23,7 @@ SEGMENTS {
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -22,7 +22,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp, define = yes; ZEROPAGE: load = ZP, type = zp, define = yes;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;

View File

@ -13,7 +13,7 @@ SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: segment = RODATA, CONDES: segment = INIT,
type = constructor, type = constructor,
label = __CONSTRUCTOR_TABLE__, label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__; count = __CONSTRUCTOR_COUNT__;