Re: [Sdcc-user] overlaying _INITIALIZED over _INITIALIZER sections

2022-02-20 Thread Tony Pavlov via Sdcc-user
Hello Benedikt, Sunday, February 20, 2022, 4:14:22 PM, you wrote: BF> I cannot help with the overlaying issue, but when it comes to linker BF> output, switching to elf looks like the most obvious potential solution. well, it is not possible to switch to ELF either, simply because SDLD does not

Re: [Sdcc-user] overlaying _INITIALIZED over _INITIALIZER sections

2022-02-20 Thread Alan Cox
On Sun, 20 Feb 2022 15:15:40 +0300 Tony Pavlov via Sdcc-user wrote: > Hi, > > i have a question about SDLD. On systems where programs are > loaded inro RAM, say, MSX or ZX Spectrum or whatever else > computer, there is some sense in saving RAM by making > _INITIALIZED and _INITIALIZER section

Re: [Sdcc-user] overlaying _INITIALIZED over _INITIALIZER sections

2022-02-20 Thread Benedikt Freisen
I cannot help with the overlaying issue, but when it comes to linker output, switching to elf looks like the most obvious potential solution. Greetings, Benedikt Am 20.02.22 um 13:15 schrieb Tony Pavlov via Sdcc-user: > [...] > ps: Not related with that problem, but another notice. SDLD linker is

[Sdcc-user] overlaying _INITIALIZED over _INITIALIZER sections

2022-02-20 Thread Tony Pavlov via Sdcc-user
Hi, i have a question about SDLD. On systems where programs are loaded inro RAM, say, MSX or ZX Spectrum or whatever else computer, there is some sense in saving RAM by making _INITIALIZED and _INITIALIZER section have the same base address. Unfortunately, that is not very easy task, because you