I'm getting slightly over the allocated space:
ld65: Warning: nes.cfg(15): Memory area overflow in `PRG', segment `DATA' (14 bytes)
However, the summed output from od65 says there's several kilobytes free. To me that says there's unoptimal packing, most likely due to alignment requirements leaving empty gaps. Am I right?
If so, is there any tool to show the alignment gaps? On x86 the closest would be pahole, but that's for structs, not linker placement.
ld65: Warning: nes.cfg(15): Memory area overflow in `PRG', segment `DATA' (14 bytes)
However, the summed output from od65 says there's several kilobytes free. To me that says there's unoptimal packing, most likely due to alignment requirements leaving empty gaps. Am I right?
If so, is there any tool to show the alignment gaps? On x86 the closest would be pahole, but that's for structs, not linker placement.