|
From: Atirut W. <ati...@gm...> - 2025-01-29 07:34:00
|
Hi all. I've been trying to figure out how to make SDCC put initialized data in the data section instead of in `.initializer` and such, but no luck. My goal is to make SDCC work well with Binutils with minimal custom linker script work, and putting initialized data in the data section is part of this. Problem is, I can't seem to figure out how to force SDCC to do that. All my hacks made to the compiler only seem to move it somewhere else other than the data section. Should I look at directly implementing native ELF output instead? |