This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[AVR] document progmem attribute
- From: Eric Weddington <eweddington at cso dot atmel dot com>
- To: gcc-patches at gcc dot gnu dot org, "'Anatoly Sokolov'" <aesok at post dot ru>
- Date: Wed, 25 Jul 2007 10:58:59 -0600
- Subject: [AVR] document progmem attribute
Hi,
Below is a patch to document the progmem attribute used for the AVR. This is
one of the (many) missing doc items in bug 1078.
Thanks,
Eric Weddington
2007-07-25 Eric Weddington <eweddington@cso.atmel.com>
* doc/extend.texi: Document progmem attribute for AVR.
--- gcc/doc/extend.texi.old 2007-07-17 18:32:37.390625000 -0600
+++ gcc/doc/extend.texi 2007-07-18 07:59:47.218750000 -0600
@@ -3623,6 +3623,16 @@ placed in either the @code{.bss_below100
@end table
+@subsection AVR Variable Attributes
+
+@table @code
+@item progmem
+@cindex @code{progmem} variable attribute
+The @code{progmem} attribute is used on the AVR to place data in the
Program
+Memory address space. The AVR is a Harvard Architecture processor and data
+normally resides in the Data Memory address space.
+@end table
+
@node Type Attributes
@section Specifying Attributes of Types
@cindex attribute of types