From: H.J. Lu Date: Thu, 15 Dec 2011 23:29:24 +0000 (+0000) Subject: Replace <64, false> with X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d55525b9a97047e10a75d067cfbeb9531482c3a1;p=binutils-gdb.git Replace <64, false> with 2011-12-15 H.J. Lu PR gold/13505 * target-reloc.h (apply_relocation): Replace <64, false> with . --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 050be94931a..bce773921a9 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2011-12-15 H.J. Lu + + PR gold/13505 + * target-reloc.h (apply_relocation): Replace <64, false> with + . + 2011-11-25 Nick Clifton * po/it.po: New Italian translation. diff --git a/gold/target-reloc.h b/gold/target-reloc.h index 464a3fa896c..6efcdf49bd5 100644 --- a/gold/target-reloc.h +++ b/gold/target-reloc.h @@ -423,17 +423,17 @@ apply_relocation(const Relocate_info* relinfo, section_size_type view_size) { // Construct the ELF relocation in a temporary buffer. - const int reloc_size = elfcpp::Elf_sizes<64>::rela_size; + const int reloc_size = elfcpp::Elf_sizes::rela_size; unsigned char relbuf[reloc_size]; - elfcpp::Rela<64, false> rel(relbuf); - elfcpp::Rela_write<64, false> orel(relbuf); + elfcpp::Rela rel(relbuf); + elfcpp::Rela_write orel(relbuf); orel.put_r_offset(r_offset); - orel.put_r_info(elfcpp::elf_r_info<64>(0, r_type)); + orel.put_r_info(elfcpp::elf_r_info(0, r_type)); orel.put_r_addend(r_addend); // Setup a Symbol_value for the global symbol. - const Sized_symbol<64>* sym = static_cast*>(gsym); - Symbol_value<64> symval; + const Sized_symbol* sym = static_cast*>(gsym); + Symbol_value symval; gold_assert(sym->has_symtab_index() && sym->symtab_index() != -1U); symval.set_output_symtab_index(sym->symtab_index()); symval.set_output_value(sym->value());