aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/object.cc8
2 files changed, 9 insertions, 4 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index fe6a56b..24d3560 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * output.cc (Relobj::initialize_input_to_output_map<size>):
+ Remove typename on elfcpp::Elf_types<size>::Elf_Addr.
+
2015-03-04 Cary Coutant <ccoutant@google.com>
* parameters.cc (Parameters::set_target_once): Call
diff --git a/gold/object.cc b/gold/object.cc
index 7286e5a..84e4568 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -3258,18 +3258,18 @@ make_elf_object(const std::string& name, Input_file* input_file, off_t offset,
template
void
Relobj::initialize_input_to_output_map<64>(unsigned int shndx,
- typename elfcpp::Elf_types<64>::Elf_Addr starting_address,
+ elfcpp::Elf_types<64>::Elf_Addr starting_address,
Unordered_map<section_offset_type,
- typename elfcpp::Elf_types<64>::Elf_Addr>* output_addresses) const;
+ elfcpp::Elf_types<64>::Elf_Addr>* output_addresses) const;
#endif
#if defined(HAVE_TARGET_32_LITTLE) || defined(HAVE_TARGET_32_BIG)
template
void
Relobj::initialize_input_to_output_map<32>(unsigned int shndx,
- typename elfcpp::Elf_types<32>::Elf_Addr starting_address,
+ elfcpp::Elf_types<32>::Elf_Addr starting_address,
Unordered_map<section_offset_type,
- typename elfcpp::Elf_types<32>::Elf_Addr>* output_addresses) const;
+ elfcpp::Elf_types<32>::Elf_Addr>* output_addresses) const;
#endif
#ifdef HAVE_TARGET_32_LITTLE