This is the mail archive of the
mailing list for the binutils project.
Re: PR bfd/14207 changes vs *-*-nacl* targets
On Mon, Jul 2, 2012 at 4:11 PM, Roland McGrath <email@example.com> wrote:
> On Mon, Jul 2, 2012 at 3:42 PM, H.J. Lu <firstname.lastname@example.org> wrote:
>> The problem is _bfd_elf_map_sections_to_segments isn't consistent
>> with assign_file_positions_for_load_sections. I don't think it is handled
>> properly between _bfd_elf_map_sections_to_segments and
> I don't know what this means at all. Can you elaborate?
In _bfd_elf_map_sections_to_segments, NACL calls
nacl_modify_segment_map after sections are mapped
to segment. When assign_file_positions_for_load_sections
is called, segment map isn't the same as the one used
to set up RELRO segment. assign_file_positions_for_load_sections
isn't prepared to deal with it.