This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A typo in ldlang.c


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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]