From: H.J. Lu Date: Fri, 20 Jan 2012 00:43:57 +0000 (+0000) Subject: Add typename on types used in template X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=618d666674ca5ab37b3632bf719afa27703f6a72;p=binutils-gdb.git Add typename on types used in template 2012-01-22 H.J. Lu * x86_64.cc (gc_process_relocs): Add typename on types used in template. (scan_relocs): Likewise. (relocate_section): Likewise. (apply_relocation): Likewise. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 62f79f5d87f..649668adbaa 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,11 @@ +2012-01-22 H.J. Lu + + * 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 * x86_64.cc (Scan::check_non_pic): Allow R_X86_64_32 for x32. diff --git a/gold/x86_64.cc b/gold/x86_64.cc index 3a2cacef483..df114419e9a 100644 --- a/gold/x86_64.cc +++ b/gold/x86_64.cc @@ -2809,8 +2809,8 @@ Target_x86_64::gc_process_relocs(Symbol_table* symtab, } gold::gc_process_relocs, elfcpp::SHT_RELA, - Target_x86_64::Scan, - Target_x86_64::Relocatable_size_for_reloc>( + typename Target_x86_64::Scan, + typename Target_x86_64::Relocatable_size_for_reloc>( symtab, layout, this, @@ -2848,7 +2848,7 @@ Target_x86_64::scan_relocs(Symbol_table* symtab, } gold::scan_relocs, elfcpp::SHT_RELA, - Target_x86_64::Scan>( + typename Target_x86_64::Scan>( symtab, layout, this, @@ -3780,7 +3780,7 @@ Target_x86_64::relocate_section( gold_assert(sh_type == elfcpp::SHT_RELA); gold::relocate_section, elfcpp::SHT_RELA, - Target_x86_64::Relocate>( + typename Target_x86_64::Relocate>( relinfo, this, prelocs, @@ -3809,7 +3809,7 @@ Target_x86_64::apply_relocation( section_size_type view_size) { gold::apply_relocation, - Target_x86_64::Relocate>( + typename Target_x86_64::Relocate>( relinfo, this, r_offset,