aboutsummaryrefslogtreecommitdiff
path: root/gold/output.h
diff options
context:
space:
mode:
authorVladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>2016-06-20 12:10:53 -0700
committerCary Coutant <ccoutant@gmail.com>2016-06-20 12:16:26 -0700
commita8ecc9fe61d0fdb1f694c5f3fac910802468d43f (patch)
tree51bfde2464642854b5c74f29b5f0cb0b392f7df4 /gold/output.h
parentbeceef50438ccf2917744147a4fdadcc84db7d78 (diff)
downloadgdb-a8ecc9fe61d0fdb1f694c5f3fac910802468d43f.zip
gdb-a8ecc9fe61d0fdb1f694c5f3fac910802468d43f.tar.gz
gdb-a8ecc9fe61d0fdb1f694c5f3fac910802468d43f.tar.bz2
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.
Diffstat (limited to 'gold/output.h')
-rw-r--r--gold/output.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/output.h b/gold/output.h
index 0b96a03..d8a8aaa 100644
--- a/gold/output.h
+++ b/gold/output.h
@@ -2781,6 +2781,10 @@ class Output_data_dynamic : public Output_section_data
add_custom(elfcpp::DT tag)
{ this->add_entry(Dynamic_entry(tag)); }
+ // Get a dynamic entry offset.
+ unsigned int
+ get_entry_offset(elfcpp::DT tag) const;
+
protected:
// Adjust the output section to set the entry size.
void