Add support for MIPS .rld_map section.
authorVladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
Mon, 20 Jun 2016 19:10:53 +0000 (12:10 -0700)
committerCary Coutant <ccoutant@gmail.com>
Mon, 20 Jun 2016 19:16:26 +0000 (12:16 -0700)
commita8ecc9fe61d0fdb1f694c5f3fac910802468d43f
tree51bfde2464642854b5c74f29b5f0cb0b392f7df4
parentbeceef50438ccf2917744147a4fdadcc84db7d78
Add support for MIPS .rld_map section.

Includes DT_MIPS_RLD_MAP and DT_MIPS_RLD_MAP_REL dynamic tags and
__RLD_MAP symbol.

2016-06-20  Vladimir Radosavljevic  <Vladimir.Radosavljevic@imgtec.com>

elfcpp/
        * elfcpp.h (DT_MIPS_RLD_MAP_REL): New enum constant.
gold/
        * mips.cc (Target_mips::Target_mips): Initialize rld_map_.
        (Target_mips::rld_map_): New data member.
        (Target_mips::do_finalize_sections): Add support for
        DT_MIPS_RLD_MAP and DT_MIPS_RLD_MAP_REL dynamic tags,
        .rld_map section, and __RLD_MAP symbol.
        (Target_mips::do_dynamic_tag_custom_value): Add support for
        DT_MIPS_RLD_MAP_REL dynamic tag.
        * output.cc (Output_data_dynamic::get_entry_offset): New method
        definition.
        * output.h (Output_data_dynamic::get_entry_offset): New method
        declaration.
elfcpp/ChangeLog
elfcpp/elfcpp.h
gold/ChangeLog
gold/mips.cc
gold/output.cc
gold/output.h