"Schwichtenberg, Knut" <knut.schwichtenb...@siemens.com> wrote:

> BTW: Does it make sense to have all PROGMEM variables as the first
> components to be set in the flash or shouldn't they be moved per
> default to the end of the text segment?

The librarie's *_P() functions take only 16-bit pointers, so they are
limited to the first 64 KiB segment of flash.  That's the reason why
the linkerscripts put PROGMEM stuff in front of ordinary functions
(only the vector table precedes them).
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to