PR 518
authorNick Clifton <nickc@redhat.com>
Fri, 19 Nov 2004 09:38:04 +0000 (09:38 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 19 Nov 2004 09:38:04 +0000 (09:38 +0000)
Update the descriptions of the ORIGIN and LENGTH fields in the MEMORY command,
to explicitly state that symbols cannot be used in their expressions.

ld/ChangeLog
ld/ld.texinfo

index 85ed0cf1fec67ef80190407ca3126ef9138fb3e3..cb4ef1698d5504913b73b0cfeda6dbf509bb6aa4 100644 (file)
@@ -1,3 +1,10 @@
+2004-11-19  Nick Clifton  <nickc@redhat.com>
+
+       PR 518
+       * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
+       LENGTH fields in the MEMORY command, to explicitly state that
+       symbols cannot be used in their expressions.
+
 2004-11-19  Jon Beniston <jon@beniston.com>
 
        * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
index ab78ece6ffdd27150fb84005c9ca801d90a31431..b21313a6b2b7ee812a379ff7948673bebfd1e05c 100644 (file)
@@ -3843,19 +3843,19 @@ attributes.
 @kindex ORIGIN =
 @kindex o =
 @kindex org =
-The @var{origin} is an expression for the start address of the memory
-region.  The expression must evaluate to a constant before memory
-allocation is performed, which means that you may not use any section
-relative symbols.  The keyword @code{ORIGIN} may be abbreviated to
-@code{org} or @code{o} (but not, for example, @code{ORG}).
+The @var{origin} is an numerical expression for the start address of
+the memory region.  The expression must evaluate to a constant and it
+cannot involve any symbols.  The keyword @code{ORIGIN} may be
+abbreviated to @code{org} or @code{o} (but not, for example,
+@code{ORG}).
 
 @kindex LENGTH =
 @kindex len =
 @kindex l =
 The @var{len} is an expression for the size in bytes of the memory
 region.  As with the @var{origin} expression, the expression must
-evaluate to a constant before memory allocation is performed.  The
-keyword @code{LENGTH} may be abbreviated to @code{len} or @code{l}.
+be numerical only and must evaluate to a constant.  The keyword
+@code{LENGTH} may be abbreviated to @code{len} or @code{l}.
 
 In the following example, we specify that there are two memory regions
 available for allocation: one starting at @samp{0} for 256 kilobytes,
This page took 0.041327 seconds and 4 git commands to generate.