diff options
author | Nick Clifton <nickc@redhat.com> | 2009-04-07 08:07:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-04-07 08:07:08 +0000 |
commit | 6ce340f181d0192335efd786914c30e7d3277729 (patch) | |
tree | c2c192f96be40eea6d80cb429b6c4fd89a2f3de2 /ld | |
parent | d28e2c2419ed190f69370994b6b38affa70695e6 (diff) | |
download | gdb-6ce340f181d0192335efd786914c30e7d3277729.zip gdb-6ce340f181d0192335efd786914c30e7d3277729.tar.gz gdb-6ce340f181d0192335efd786914c30e7d3277729.tar.bz2 |
* ld.texinfo (Output Section Address): Note that specifying an
address for an output section will only change the location
counter if the output section is used.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/ld.texinfo | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b968af6..c0f3b61 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2009-04-07 Nick Clifton <nickc@redhat.com> + + * ld.texinfo (Output Section Address): Note that specifying an + address for an output section will only change the location + counter if the output section is used. + 2009-04-06 Kazu Hirata <kazu@codesourcery.com> * ldfile.c (ldfile_find_command_file): Initialize result. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index a7169d9..37c36b0 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -3643,7 +3643,8 @@ This works because @code{ALIGN} returns the current location counter aligned upward to the specified value. Specifying @var{address} for a section will change the value of the -location counter. +location counter, provided that the section is non-empty. (Empty +sections are ignored). @node Input Section @subsection Input Section Description |