Files
cc65/src/ld65/cfg/lunix.cfg
cuz 90ca5c1af9 Added o65 symbol export capability
git-svn-id: svn://svn.cc65.org/cc65/trunk@1127 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-01 17:14:12 +00:00

32 lines
769 B
INI

MEMORY {
COMBINED: start = $0000, size = $FFFF, file = %O;
}
SEGMENTS {
ZEROPAGE: load = COMBINED, type = zp;
CODE: load = COMBINED, type = wprot;
RODATA: load = COMBINED, type = wprot;
DATA: load = COMBINED, type = rw, define = yes;
BSS: load = COMBINED, type = bss, define = yes;
}
FEATURES {
CONDES: segment = RODATA,
type = constructor,
label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__;
CONDES: segment = RODATA,
type = destructor,
label = __DESTRUCTOR_TABLE__,
count = __DESTRUCTOR_COUNT__;
}
FILES {
%O: format = o65;
}
FORMATS {
o65: os = lunix, type = small,
import = LUNIXKERNAL, import = LIB6502,
export = _main;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
}