From: Oleg E. <ole...@t-...> - 2024-07-15 05:22:44
|
On Sat, 2024-07-13 at 09:54 +0200, Maarten Brock wrote: > Oleg Endo schreef op 2024-07-09 04:00: > > On top of that, the linker doesn't even check for overlapping bank > > sections, > > and doesn't provide any feedback on the utilization of each bank. I've > > patched that in my local branch, which makes it a lot more practical. > > Are you sure? The linker is supposed to check against overlapping bank > sections. Well, some years ago, when I needed that functionality, I wrote a patch for the linker that is included in the SDCC codebase to do exactly that. Last time I checked (about 1 year ago) it still applied. There are several other issues regarding the banked code support which ought to work but are not. I guess nobody has been really using SDCC to make larger mcs51 applications. > And the utilization can be checked in the map file, I believe. > Yes, that's what I'm doing. Best regards, Oleg Endo |