elf.c:3701: off += (m->sections[0]->vma - off) % bed->maxpagesize

Nick Clifton nickc@redhat.com
Tue Jan 27 17:39:00 GMT 2004


Hi Andrew,

> static ufile_ptr
> offset_vma_page_adjustment (bfd_vma vma, ufile_ptr off, bfd_vma maxpagesize)
> {
>    return ((vma - off) % maxpagesize);
> }

> as I've so far stumbled across ~6 occurances of that math (yes,
> couldn't miss the one 15 lines below :-).  Look ok?

It looks OK - do you have an official patch to submit ?

Cheers
        Nick
        



More information about the Binutils mailing list