aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-13 02:27:11 +0000
committerAlan Modra <amodra@gmail.com>2002-08-13 02:27:11 +0000
commit3c6706bb5f754c3a7476bfebcb70f10f705ed876 (patch)
treec5cfcba04e21a46db0a3764061cd9c20523ea91d /ld/ld.texinfo
parentc553bb910d30224f6d5e1e10a67a839093e97fa0 (diff)
downloadfsf-binutils-gdb-3c6706bb5f754c3a7476bfebcb70f10f705ed876.zip
fsf-binutils-gdb-3c6706bb5f754c3a7476bfebcb70f10f705ed876.tar.gz
fsf-binutils-gdb-3c6706bb5f754c3a7476bfebcb70f10f705ed876.tar.bz2
* ld.texinfo (ALIGN): Remove power of 2 restriction.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo7
1 files changed, 1 insertions, 6 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 12030c0..789e894 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -4158,12 +4158,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