diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-01-20 00:43:57 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-01-20 00:43:57 +0000 |
commit | 618d666674ca5ab37b3632bf719afa27703f6a72 (patch) | |
tree | ccca7a7d3cafb43bcf899c95779de8682242780d /gold | |
parent | 8b70fe3ad68e945537007a9d8c7897cf1008b734 (diff) | |
download | gdb-618d666674ca5ab37b3632bf719afa27703f6a72.zip gdb-618d666674ca5ab37b3632bf719afa27703f6a72.tar.gz gdb-618d666674ca5ab37b3632bf719afa27703f6a72.tar.bz2 |
Add typename on types used in template
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.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 8 | ||||
-rw-r--r-- | gold/x86_64.cc | 10 |
2 files changed, 13 insertions, 5 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 62f79f5..649668a 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,11 @@ +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. diff --git a/gold/x86_64.cc b/gold/x86_64.cc index 3a2cace..df11441 100644 --- a/gold/x86_64.cc +++ b/gold/x86_64.cc @@ -2809,8 +2809,8 @@ Target_x86_64<size>::gc_process_relocs(Symbol_table* symtab, } 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, @@ -2848,7 +2848,7 @@ Target_x86_64<size>::scan_relocs(Symbol_table* symtab, } 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, @@ -3780,7 +3780,7 @@ Target_x86_64<size>::relocate_section( 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, @@ -3809,7 +3809,7 @@ Target_x86_64<size>::apply_relocation( 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, |