Load addresses for ELF program headers on ARM
Matt Fischer
mattfischer84@gmail.com
Thu Mar 17 00:37:00 GMT 2011
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.
--Matt
On Tue, Mar 15, 2011 at 11:29 PM, Alan Modra <amodra@gmail.com> wrote:
> You might like to change the ELF_SECTION_IN_SEGMENT (hdr, phdr) in
> elf.c:_bfd_elf_make_section_from_shdr to
> ELF_SECTION_IN_SEGMENT_1 (hdr, phdr, 0, 0), and see what happens.
>
> --
> Alan Modra
> Australia Development Lab, IBM
>
More information about the Binutils
mailing list