summaryrefslogtreecommitdiff
path: root/devel/avr-gcc-42/files/patch-doc-progmem
blob: 858a7fbc8245bfb3ffcee2dd2e2b4483dd2d1109 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Patch to document the AVR progmem attribute.
===========================================
--- 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