On 08/03/2016 10:17 AM, Georg-Johann Lay wrote:

Index: doc/extend.texi
===================================================================
--- doc/extend.texi     (revision 238983)
+++ doc/extend.texi     (working copy)
@@ -5957,6 +5957,25 @@ memory-mapped peripherals that may lie o
 volatile int porta __attribute__((address (0x600)));
 @end smallexample

+@item absdata
+@cindex @code{absdata} variable attribute, AVR
+Variables in static storage and with the @code{absdata} attribute can
+be accessed by the @code{LDS} and @code{STS} instructions which take
+absolute addresses.
+
+@itemize @bullet
+@item
+This attribute is only supported for the reduced AVR Tiny core
+like @code{ATtiny40}.
+
+@item
+There is currently no Binutils support for this attribute and the user has
+to make sure that respective data is located into an address range that
+can actually be handled by @code{LDS} and @code{STS}.
+This applies to addresses in the range @code{0x40}@dots{}@code{0xbf}.

The wording here is a little awkward -- in particular, "the user" is really "you", the reader of the manual. How about something like this instead?

@item
You must use an appropriate linker script to locate the data in the address range accessible by @code{LDS} and @code{STS} (@code{0x40}@dots{}@code{0xbf}).

-Sandra

Reply via email to