[avr,applied] Add link to sample ld-script in avr-gcc wiki.

Message ID 0622968f-2662-4b03-ae59-a068db1f1b88@gjlay.de
State New
Headers
Series [avr,applied] Add link to sample ld-script in avr-gcc wiki. |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-arm fail Patch failed to apply
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 fail Patch failed to apply

Commit Message

Georg-Johann Lay Jan. 12, 2024, 6:07 p.m. UTC
  This links an example from the avr-gcc wiki that shows how to set up
a linker script for the __flashN avr address spaces in
section AVR Named Address Spaces of the GCC user manual.

Johann

--

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.

  Any data or pointers to the non-generic address spaces must
  

Patch

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index eb4a42588c7..b9129d1b464 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -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