summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-07-31 08:13:14 +0000
committerNick Clifton <nickc@redhat.com>2001-07-31 08:13:14 +0000
commit3dad7977843c365c29adfd2a332d441f239b308a (patch)
tree7f887dad777f1ab9d0c8b726bab9bdf67ae6a385
parentb3fe7f65d954e7c8d1dbd4440741370e5db2c195 (diff)
downloadbinutils-redhat-3dad7977843c365c29adfd2a332d441f239b308a.tar.gz
Fix typo in example
-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 df9f3c5f54..ef94df491d 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-19 David O'Brien <obrien@FreeBSD.org>
* emultempl/elf32.em: Do not assuming that contents of the buffer
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 668c0e92f3..8c4d98f10f 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -2123,7 +2123,7 @@ SECTIONS
*(.text)
_etext = .;
@}
- _bdata = (. + 3) & ~ 4;
+ _bdata = (. + 3) & ~ 3;
.data : @{ *(.data) @}
@}
@end smallexample