This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: A typo in ldlang.c
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: A typo in ldlang.c
- From: Timothy Wall <twall at domesolutions dot com>
- Date: Fri, 04 Feb 2000 14:53:11 -0500
- CC: twall at redhat dot com, binutils at sourceware dot cygnus dot com
- Organization: Dome Solutions
- References: <20000204102837.A22556@valinux.com>
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);