+2012-01-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ * x86_64.cc (gc_process_relocs): Add typename on types used in
+ template.
+ (scan_relocs): Likewise.
+ (relocate_section): Likewise.
+ (apply_relocation): Likewise.
+
2012-01-10 H.J. Lu <hongjiu.lu@intel.com>
* x86_64.cc (Scan::check_non_pic): Allow R_X86_64_32 for x32.
}
gold::gc_process_relocs<size, false, Target_x86_64<size>, elfcpp::SHT_RELA,
- Target_x86_64<size>::Scan,
- Target_x86_64<size>::Relocatable_size_for_reloc>(
+ typename Target_x86_64<size>::Scan,
+ typename Target_x86_64<size>::Relocatable_size_for_reloc>(
symtab,
layout,
this,
}
gold::scan_relocs<size, false, Target_x86_64<size>, elfcpp::SHT_RELA,
- Target_x86_64<size>::Scan>(
+ typename Target_x86_64<size>::Scan>(
symtab,
layout,
this,
gold_assert(sh_type == elfcpp::SHT_RELA);
gold::relocate_section<size, false, Target_x86_64<size>, elfcpp::SHT_RELA,
- Target_x86_64<size>::Relocate>(
+ typename Target_x86_64<size>::Relocate>(
relinfo,
this,
prelocs,
section_size_type view_size)
{
gold::apply_relocation<size, false, Target_x86_64<size>,
- Target_x86_64<size>::Relocate>(
+ typename Target_x86_64<size>::Relocate>(
relinfo,
this,
r_offset,