This is the mail archive of the binutils@sourceware.org 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: Load addresses for ELF program headers on ARM


On Wed, Mar 16, 2011 at 9:38 PM, Alan Modra <amodra@gmail.com> wrote:
> On Wed, Mar 16, 2011 at 07:37:30PM -0500, Matt Fischer wrote:
>> That does seem to fix the problem. ?It looks like that change simply
>> disables the VMA check on the section, which makes sense because in
>> this model the section's VMA won't be inside of the segment anymore.
>> Given that the code inside this block looks like it can correctly deal
>> with a segment that contains noncontiguous VMA's, I'm assuming this
>> change is ok to submit as an actual patch, correct? ?If so, I'd be
>> happy to write it up and submit it, if you'd like.
>
> I figured the change would fix your particular testcase. ?The
> difficult part of "see what happens" is determining what this change
> might break, and convincing me or another binutils maintainer that the
> change is safe.. ?At the moment I don't have time to investigate that
> myself.
>

That's fair.  I admit this is a pretty odd edge case, and while it
happens to come up in the specific thing I'm working on, that doesn't
necessarily make it an overall priority for you guys.  I'll try to
take a bit of time to familiarize myself with the code, and see if I
can make a case for it going in.  And if nothing else, I can at least
keep it as a local patch for the thing I'm working on.  Thanks for all
your help.

--Matt


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