The docs say "Use -D __EXEHDR__=0 to omit the header." so it should work without generating a linker warning.
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
- EXEHDR: load = HEADER, type = ro;
+ EXEHDR: load = HEADER, type = ro, optional = yes;
STARTUP: load = MAIN, type = ro;
LOWCODE: load = MAIN, type = ro, optional = yes;
HGR: load = MAIN, type = rw, optional = yes, start = $2000;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
- EXEHDR: load = HEADER, type = ro;
+ EXEHDR: load = HEADER, type = ro, optional = yes;
STARTUP: load = MAIN, type = ro, define = yes;
LOWCODE: load = MAIN, type = ro, optional = yes;
CODE: load = MAIN, type = ro;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
- EXEHDR: load = HEADER, type = ro;
+ EXEHDR: load = HEADER, type = ro, optional = yes;
STARTUP: load = MAIN, type = ro;
LOWCODE: load = MAIN, type = ro, optional = yes;
CODE: load = MAIN, type = ro;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
- EXEHDR: load = HEADER, type = ro;
+ EXEHDR: load = HEADER, type = ro, optional = yes;
STARTUP: load = MAIN, type = ro;
LOWCODE: load = MAIN, type = ro, optional = yes;
HGR: load = MAIN, type = rw, optional = yes, start = $2000;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
- EXEHDR: load = HEADER, type = ro;
+ EXEHDR: load = HEADER, type = ro, optional = yes;
STARTUP: load = MAIN, type = ro, define = yes;
LOWCODE: load = MAIN, type = ro, optional = yes;
CODE: load = MAIN, type = ro;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
- EXEHDR: load = HEADER, type = ro;
+ EXEHDR: load = HEADER, type = ro, optional = yes;
STARTUP: load = MAIN, type = ro;
LOWCODE: load = MAIN, type = ro, optional = yes;
CODE: load = MAIN, type = ro;