summaryrefslogtreecommitdiff
path: root/devel/avr-gcc-42/files/patch-doc-progmem
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2009-06-17 19:33:59 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2009-06-17 19:33:59 +0000
commit48c342e22472128049c9e278e4e6d3a578e0d477 (patch)
tree14caaf1cb3df899f71160f8432e023d6855334ec /devel/avr-gcc-42/files/patch-doc-progmem
parent- Ensure Fortran shim is not built if USE_FORTRAN is not set. (diff)
After upgrading devel/avr-gcc to GCC 4.3.x, keep a GCC 4.2.x version
here as it frequently produces more compact code (but supports less target MCU types).
Notes
Notes: svn path=/head/; revision=236158
Diffstat (limited to 'devel/avr-gcc-42/files/patch-doc-progmem')
-rw-r--r--devel/avr-gcc-42/files/patch-doc-progmem21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/avr-gcc-42/files/patch-doc-progmem b/devel/avr-gcc-42/files/patch-doc-progmem
new file mode 100644
index 000000000000..858a7fbc8245
--- /dev/null
+++ b/devel/avr-gcc-42/files/patch-doc-progmem
@@ -0,0 +1,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