Re: Debugging with gdb7.5

[email protected] (Joerg Wunsch)
Newsgroups gmane.comp.hardware.avr.gcc
Organization Private BSD site, Dresden
Message-ID <[email protected]>
"Schwichtenberg, Knut" <[email protected]> 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. ;-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.