aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-07-30 18:12:07 +0000
committerNick Clifton <nickc@redhat.com>2001-07-30 18:12:07 +0000
commit156e34dd45a2e34588e3c84154c0eb387ed82397 (patch)
tree3c6dedd20f4e5422ff1bbd48553a4e64cfca3f6a /ld
parent86710ce2687eb3bf56b9b55a62c00243149886c0 (diff)
downloadgdb-156e34dd45a2e34588e3c84154c0eb387ed82397.zip
gdb-156e34dd45a2e34588e3c84154c0eb387ed82397.tar.gz
gdb-156e34dd45a2e34588e3c84154c0eb387ed82397.tar.bz2
Fix computation in SECTIONS example.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ld.texinfo2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 87965cc..c4a20a0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
+ example.
+
2001-07-24 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Update dependencies with "make dep-am".
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index db0cb28..b763dfe 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -2225,7 +2225,7 @@ SECTIONS
*(.text)
_etext = .;
@}
- _bdata = (. + 3) & ~ 4;
+ _bdata = (. + 3) & ~ 3;
.data : @{ *(.data) @}
@}
@end smallexample