[patch,avr] Document how to avoid progmem on AVR_TINY.
Georg-Johann Lay
avr@gjlay.de
Thu Dec 1 14:28:00 GMT 2016
This adds to the documentation a hint how to set up a linker description
file that avoids progmem altogether any without the usual overhead of
locating read-only data in RAM. The proposed linker description file is
completely transparent to the compiler, and no start-up code has to be
adjusted.
IIUC there are currently no plans to fix this in the default linker
description file avrtiny.x, cf. http://sourceware.org/PR20849
Also, link between -mabsdata option and absdata variable attribute.
Ok for trunk?
Johann
gcc/
* doc/invoke.texi (AVR Options) [-mabsdata]: Point to absdata.
* doc/extend.texi (AVR Variable Attributes) [progmem]: Hint
about linker description to avoid progmem altogether.
[absdata]: Point to -mabsdata option.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doc-tinyrodata.diff
Type: text/x-patch
Size: 1721 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161201/62d63c01/attachment.bin>
More information about the Gcc-patches
mailing list