[binutils-gdb] Fix typos in the linker's documentation of the --enable-non-contiguous-regions option.

Nick Clifton nickc@sourceware.org
Wed Apr 12 08:55:47 GMT 2023


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

commit 93cda40b4cbef77a45e678f8d8919da18f7d011c
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Apr 12 09:54:48 2023 +0100

    Fix typos in the linker's documentation of the --enable-non-contiguous-regions option.

Diff:
---
 ld/ChangeLog | 5 +++++
 ld/ld.texi   | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 698b3ea4c11..7d42a3e663a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2023-04-12  Nick Clifton  <nickc@redhat.com>
+
+	* ld.texi (--enable-non-contiguous-regions): Fix typos in script
+	example.
+
 2023-03-15  Nick Clifton  <nickc@redhat.com>
 
 	PR 30187
diff --git a/ld/ld.texi b/ld/ld.texi
index fe4ec82d673..1f0478b175c 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -489,9 +489,9 @@ sections are evaluated does not change, for instance:
 
 @smallexample
   MEMORY @{
-    MEM1 (rwx) : ORIGIN : 0x1000, LENGTH = 0x14
-    MEM2 (rwx) : ORIGIN : 0x1000, LENGTH = 0x40
-    MEM3 (rwx) : ORIGIN : 0x2000, LENGTH = 0x40
+    MEM1 (rwx) : ORIGIN = 0x1000, LENGTH = 0x14
+    MEM2 (rwx) : ORIGIN = 0x1000, LENGTH = 0x40
+    MEM3 (rwx) : ORIGIN = 0x2000, LENGTH = 0x40
   @}
   SECTIONS @{
     mem1 : @{ *(.data.*); @} > MEM1


More information about the Binutils-cvs mailing list