From: Nick Clifton Date: Tue, 7 Apr 2009 08:07:08 +0000 (+0000) Subject: * ld.texinfo (Output Section Address): Note that specifying an X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ce340f181d0192335efd786914c30e7d3277729;p=binutils-gdb.git * 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index b968af66d6a..c0f3b61c5c4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2009-04-07 Nick Clifton + + * 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 * ldfile.c (ldfile_find_command_file): Initialize result. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index a7169d938f8..37c36b00712 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