Using avr-gcc and avr-ld is it possible to control the address of a block within flash? I'm testing something written using the Atmel assembler and it does something like:
to position a block "progmem" data. Looking at the code, the specific address doesn't matter but lots of code assumes the block is aligned on a 0x00 lo8 boundary.
I found this quote below in the avr-libc docs:
Note that .org is available in gas as well, but is a fairly pointless pseudo-op in an assembler environment that uses relocatable object files, as it is the linker that determines the final position of some object in ROM or RAM.
Is there some other way to tell the liker the exact position or a progmem block? Or even better, a way to force a certain alignment and let the linker relocate it otherwise?