* ld.texinfo (Output Section Address): Note that specifying an
authorNick Clifton <nickc@redhat.com>
Tue, 7 Apr 2009 08:07:08 +0000 (08:07 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 7 Apr 2009 08:07:08 +0000 (08:07 +0000)
        address for an output section will only change the location
        counter if the output section is used.

ld/ChangeLog
ld/ld.texinfo

index b968af6..c0f3b61 100644 (file)
@@ -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.
index a7169d9..37c36b0 100644 (file)
@@ -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