This is the mail archive of the
binutils@sourceware.org
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 <mcgrathr@google.com> wrote:
> On Mon, Jul 2, 2012 at 3:42 PM, H.J. Lu <hjl.tools@gmail.com> 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
>> assign_file_positions_for_load_sections.
>
> 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.
--
H.J.