public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch,avr,applied] Add link to sample ld-script in avr-gcc wiki.
@ 2024-01-12 18:07 Georg-Johann Lay
  0 siblings, 0 replies; only message in thread
From: Georg-Johann Lay @ 2024-01-12 18:07 UTC (permalink / raw)
  To: gcc-patches

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.

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
  Any data or pointers to the non-generic address spaces must

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-12 18:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-12 18:07 [patch,avr,applied] Add link to sample ld-script in avr-gcc wiki Georg-Johann Lay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).