This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

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


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
        


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