aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-04-12 09:54:48 +0100
committerNick Clifton <nickc@redhat.com>2023-04-12 09:54:48 +0100
commit93cda40b4cbef77a45e678f8d8919da18f7d011c (patch)
tree388f53488e1881416aa38992b1fad7a0b39eb3a1 /ld
parent93c6e8c3c14bf81020ca7571fe752250a34f5bc9 (diff)
downloadbinutils-93cda40b4cbef77a45e678f8d8919da18f7d011c.zip
binutils-93cda40b4cbef77a45e678f8d8919da18f7d011c.tar.gz
binutils-93cda40b4cbef77a45e678f8d8919da18f7d011c.tar.bz2
Fix typos in the linker's documentation of the --enable-non-contiguous-regions option.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ld.texi6
2 files changed, 8 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 698b3ea..7d42a3e 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 fe4ec82..1f0478b 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