aboutsummaryrefslogtreecommitdiff
path: root/ld
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
commitc5da8c7d174e38282889094b86153721fe3f5aca (patch)
tree966a3ca79beb2146cf3f93549ac92bd228a5d893 /ld
parent47d487118832c96bca44fd447bacd1da1c4c4fa1 (diff)
downloadgdb-c5da8c7d174e38282889094b86153721fe3f5aca.zip
gdb-c5da8c7d174e38282889094b86153721fe3f5aca.tar.gz
gdb-c5da8c7d174e38282889094b86153721fe3f5aca.tar.bz2
* 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')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/ld.texinfo8
2 files changed, 10 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e41c4dd..bf40303 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2013-06-07 Nick Clifton <nickc@redhat.com>
+
+ * 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.
+
2013-05-03 Alan Modra <amodra@gmail.com>
PR ld/15365
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 0e31d31..c4e21b5 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.