This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
A typo in ldlang.c
- To: twall at redhat dot com
- Subject: A typo in ldlang.c
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Fri, 4 Feb 2000 10:28:37 -0800
- Cc: binutils at sourceware dot cygnus dot com
Here is a patch for a typo in ldlang.c.
--
H.J. Lu (hjl@gnu.org)
--
Thu Feb 3 16:00:05 2000 H.J. Lu <hjl@gnu.org>
* ldlang.c (lang_size_sections): Fix a typo in ALIGN_N usage.
Index: ldlang.c
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/ldlang.c,v
retrieving revision 1.2
diff -u -p -r1.2 ldlang.c
--- ldlang.c 2000/02/03 23:29:11 1.2
+++ ldlang.c 2000/02/04 17:32:18
@@ -2824,7 +2824,7 @@ lang_size_sections (s, output_section_st
/* put the section within the requested block size, or align at
the block boundary */
- after = ALIGN_N (os->bfd_section->vma,
+ after = ALIGN_N (os->bfd_section->vma +
os->bfd_section->_raw_size / opb,
/* The coercion here is important, see ld.h. */
(bfd_vma) os->block_value);