[binutils-gdb] Fix typo in ld manual --enable-non-contiguous-regions example

Roland McGrath roland@sourceware.org
Thu Mar 30 00:06:57 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=94ffdb5959fae751c58c1b49a67c16bf0ce0715d

commit 94ffdb5959fae751c58c1b49a67c16bf0ce0715d
Author: Roland McGrath <mcgrathr@google.com>
Date:   Wed Mar 29 17:05:32 2023 -0700

    Fix typo in ld manual --enable-non-contiguous-regions example

Diff:
---
 ld/ld.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ld/ld.texi b/ld/ld.texi
index 736563e1e3e..fe4ec82d673 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -496,7 +496,7 @@ sections are evaluated does not change, for instance:
   SECTIONS @{
     mem1 : @{ *(.data.*); @} > MEM1
     mem2 : @{ *(.data.*); @} > MEM2
-    mem3 : @{ *(.data.*); @} > MEM2
+    mem3 : @{ *(.data.*); @} > MEM3
   @}
 
   with input sections:


More information about the Binutils-cvs mailing list