A typo in ldlang.c

Timothy Wall twall@domesolutions.com
Fri Feb 4 11:49:00 GMT 2000


I've fixed the typo.
Thanks
Tim

"H . J . Lu" wrote:

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



More information about the Binutils mailing list