diff options
author | Alan Modra <amodra@gmail.com> | 2015-11-05 00:33:55 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-11-05 00:45:23 +1030 |
commit | fe6052e1eeffd4e2e2210cebc480b90094429a16 (patch) | |
tree | 371ac7f8537a76de920356d6153b4aebd7c2d7eb /ld/ld.texinfo | |
parent | 14cb1c0b38b120cf5325d9538cce1a0347e2b626 (diff) | |
download | gdb-fe6052e1eeffd4e2e2210cebc480b90094429a16.zip gdb-fe6052e1eeffd4e2e2210cebc480b90094429a16.tar.gz gdb-fe6052e1eeffd4e2e2210cebc480b90094429a16.tar.bz2 |
DATA_SEGMENT_ALIGN documentation is not consistent with behaviour
PR ld/19203
* ld.texinfo (DATA_SEGMENT_ALIGN): Correct second expression.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 3 |
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 |