aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index c0da112..1dd7492 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -6108,7 +6108,8 @@ This is equivalent to either
@end smallexample
or
@smallexample
-(ALIGN(@var{maxpagesize}) + (. & (@var{maxpagesize} - @var{commonpagesize})))
+(ALIGN(@var{maxpagesize})
+ + ((. + @var{commonpagesize} - 1) & (@var{maxpagesize} - @var{commonpagesize})))
@end smallexample
@noindent
depending on whether the latter uses fewer @var{commonpagesize} sized pages