From: Georg-Johann Lay Date: Fri, 12 Jan 2024 18:01:07 +0000 (+0100) Subject: AVR: Documentation: Web-Link an example ld-Script for Address-Space __flashN. X-Git-Tag: basepoints/gcc-15~2924 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b447fa89d5e6b052c9309dfd1dafebdbd829ff9;p=thirdparty%2Fgcc.git AVR: Documentation: Web-Link an example ld-Script for Address-Space __flashN. gcc/ * doc/extend.texi (AVR Named Address Spaces, Limitations and Caveats): Add web-link to the avr-gcc wiki. --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index eb4a42588c79..b9129d1b464f 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -1594,7 +1594,7 @@ from @w{@uref{https://www.nongnu.org/avr-libc/user-manual/,AVR-LibC}} together with attribute @code{progmem}. @noindent -@b{Limitations and caveats} +@b{Limitations and Caveats} @itemize @item @@ -1608,6 +1608,8 @@ supports reading across the 64@tie{}KiB flash segment boundaries is If you use one of the @code{__flash@var{N}} address spaces you must arrange your linker script to locate the @code{.progmem@var{N}.data} sections according to your needs. +For an example, see the +@w{@uref{https://gcc.gnu.org/wiki/avr-gcc#Address_Spaces,avr-gcc wiki}} @item Any data or pointers to the non-generic address spaces must