summaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-06-07 15:11:18 +0000
committerNick Clifton <nickc@redhat.com>2013-06-07 15:11:18 +0000
commit1c025c34d90afbe63b4e8aa52c274a0628506771 (patch)
tree626cae5e7e869d5e8d44ea48c70f8a3373f6b323 /ld/ld.texinfo
parentbc768b553a0113197fd489eefedde7a67d7210ab (diff)
downloadbinutils-redhat-1c025c34d90afbe63b4e8aa52c274a0628506771.tar.gz
* ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
option must appear before the SEGMENT_START is encountered in order for the default value to be overridden.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 0e31d31d1e..c4e21b545a 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -5934,10 +5934,10 @@ Return the origin of the memory region named @var{memory}.
@item SEGMENT_START(@var{segment}, @var{default})
@kindex SEGMENT_START(@var{segment}, @var{default})
Return the base address of the named @var{segment}. If an explicit
-value has been given for this segment (with a command-line @samp{-T}
-option) that value will be returned; otherwise the value will be
-@var{default}. At present, the @samp{-T} command-line option can only
-be used to set the base address for the ``text'', ``data'', and
+value has already been given for this segment (with a command-line
+@samp{-T} option) then that value will be returned otherwise the value
+will be @var{default}. At present, the @samp{-T} command-line option
+can only be used to set the base address for the ``text'', ``data'', and
``bss'' sections, but you can use @code{SEGMENT_START} with any segment
name.