diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-08-13 02:27:11 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-08-13 02:27:11 +0000 |
commit | e98931b12accb77f5c7d2843ac6d87a4122eef7e (patch) | |
tree | abbf0590f48ee6821a5c806efe2753bb898933ca /ld | |
parent | 8c1c5a6b50471f3e4c9d6ca15c60f629ef0b4e6b (diff) | |
download | binutils-redhat-e98931b12accb77f5c7d2843ac6d87a4122eef7e.tar.gz |
* ld.texinfo (ALIGN): Remove power of 2 restriction.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 1 | ||||
-rw-r--r-- | ld/ld.texinfo | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 2801a99db1..49001d70d8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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-31 Graeme Peterson <gp@qnx.com> diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 12030c06f1..789e8940bb 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 |