Replaced builtin linker configs with ordinary .cfg files.
The benefits are: - Independency of ld65 build from perl - More transparent behaviour
This commit is contained in:
21
cfg/module.cfg
Normal file
21
cfg/module.cfg
Normal file
@@ -0,0 +1,21 @@
|
||||
MEMORY {
|
||||
ZP: file = %O, start = $0000, size = $0100, type = rw, define = yes;
|
||||
COMBINED: file = %O, start = $0000, size = $FFFF;
|
||||
}
|
||||
SEGMENTS {
|
||||
JUMPTABLE: load = COMBINED, type = ro;
|
||||
INIT: load = COMBINED, type = ro, optional = yes;
|
||||
CODE: load = COMBINED, type = ro;
|
||||
RODATA: load = COMBINED, type = ro;
|
||||
DATA: load = COMBINED, type = rw, define = yes;
|
||||
BSS: load = COMBINED, type = bss, define = yes;
|
||||
ZEROPAGE: load = ZP, type = zp;
|
||||
EXTZP: load = ZP, type = zp;
|
||||
}
|
||||
FILES {
|
||||
%O: format = o65;
|
||||
}
|
||||
FORMATS {
|
||||
o65: os = cc65,
|
||||
type = small;
|
||||
}
|
||||
Reference in New Issue
Block a user