From 6ce340f181d0192335efd786914c30e7d3277729 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 7 Apr 2009 08:07:08 +0000 Subject: [PATCH] * 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. --- ld/ChangeLog | 6 ++++++ ld/ld.texinfo | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.30.2