From 6ce340f181d0192335efd786914c30e7d3277729 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 7 Apr 2009 08:07:08 +0000 Subject: * 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(-) (limited to 'ld') 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 + + * 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 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 -- cgit v1.1