]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ld.texinfo (ALIGN): Remove power of 2 restriction.
authorAlan Modra <amodra@gmail.com>
Tue, 13 Aug 2002 02:28:18 +0000 (02:28 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 13 Aug 2002 02:28:18 +0000 (02:28 +0000)
ld/ChangeLog
ld/ld.texinfo

index 5a75d17bfaf95aa9bdc7944ba39b3f3c17e5bbc6..c2c7417f929eaac8c06a638e3483b2256d82a8fb 100644 (file)
@@ -10,6 +10,7 @@
        (exp_fold_tree): Likewise.
        * ldlang.c (lang_size_sections_1): Likewise.
        (lang_one_common): Likewise.
+       * ld.texinfo (ALIGN): Remove power of 2 restriction.
 
 2002-07-23  Daniel Jacobowitz  <drow@mvista.com>
 
index dadc75b726d9793e5a47000bd55b9a566640039c..e28f5c342112ffe546a3d5c20ba189501ffc5e3e 100644 (file)
@@ -4152,12 +4152,7 @@ SECTIONS @{ @dots{}
 @cindex round up location counter
 @cindex align location counter
 Return the location counter (@code{.}) aligned to the next @var{exp}
-boundary.  @var{exp} must be an expression whose value is a power of
-two.  This is equivalent to
-@smallexample
-(. + @var{exp} - 1) & ~(@var{exp} - 1)
-@end smallexample
-
+boundary.
 @code{ALIGN} doesn't change the value of the location counter---it just
 does arithmetic on it.  Here is an example which aligns the output
 @code{.data} section to the next @code{0x2000} byte boundary after the