aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Radosavljevic <vladimir.radosavljevic@imgtec.com>2016-03-17 14:27:48 -0700
committerCary Coutant <ccoutant@gmail.com>2016-03-17 14:27:48 -0700
commit1a08ae216cc8e8f8692114b92d68a14aa739eb2a (patch)
tree9bfd5c8cda8aecba00795eea03321d65e6b43369
parentc2fa9cedff58bfdb38cfb627b58fb34256f20369 (diff)
downloadgdb-1a08ae216cc8e8f8692114b92d68a14aa739eb2a.zip
gdb-1a08ae216cc8e8f8692114b92d68a14aa739eb2a.tar.gz
gdb-1a08ae216cc8e8f8692114b92d68a14aa739eb2a.tar.bz2
Add missing Mips_output_data_la25_stub::do_print_to_mapfile.
gold/ * mips.cc (class Mips_output_data_la25_stub): Add do_print_to_mapfile function.
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/mips.cc5
2 files changed, 10 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 1957df9..71464e1 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,10 @@
2016-03-17 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com>
+ * mips.cc (class Mips_output_data_la25_stub): Add
+ do_print_to_mapfile function.
+
+2016-03-17 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com>
+
* mips.cc (Mips_classify_reloc::put_r_info): Call 32bit version of
elf_r_info.
diff --git a/gold/mips.cc b/gold/mips.cc
index 895fd4c..bc4e5e95 100644
--- a/gold/mips.cc
+++ b/gold/mips.cc
@@ -2246,6 +2246,11 @@ class Mips_output_data_la25_stub : public Output_section_data
create_stub_symbol(Mips_symbol<size>* sym, Symbol_table* symtab,
Target_mips<size, big_endian>* target, uint64_t symsize);
+ // Write to a map file.
+ void
+ do_print_to_mapfile(Mapfile* mapfile) const
+ { mapfile->print_output_data(this, _(".LA25.stubs")); }
+
// Write out the LA25 stub section.
void
do_write(Output_file*);