diff options
author | Roland McGrath <roland@gnu.org> | 2012-11-01 23:27:00 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-11-01 23:27:00 +0000 |
commit | 62fe925ad4724f379e9bec4f19408dc71d416042 (patch) | |
tree | a38eb108a77b95f8198287b49496b30877edde02 /gold/x86_64.cc | |
parent | c06dec1422120f824d5d10a898527c75a48eaf5f (diff) | |
download | fsf-binutils-gdb-62fe925ad4724f379e9bec4f19408dc71d416042.zip fsf-binutils-gdb-62fe925ad4724f379e9bec4f19408dc71d416042.tar.gz fsf-binutils-gdb-62fe925ad4724f379e9bec4f19408dc71d416042.tar.bz2 |
gold/
* target.h (Sized_target::relocate_relocs): Use Elf_Off
for offset_in_output_section parameter.
(Sized_target::relocate_special_relocatable): Likewise.
* arm.cc (Target_arm::relocate_relocs): Likewise.
(Target_arm::relocate_special_relocatable): Likewise.
* i386.cc (Target_i386::relocate_relocs): Likewise.
* powerpc.cc (Target_powerpc::relocate_relocs): Likewise.
* sparc.cc (Target_sparc::relocate_relocs): Likewise.
* target-reloc.h (relocate_relocs): Likewise.
* testsuite/testfile.cc (Target_test): Likewise.
* tilegx.cc (Target_tilegx::relocate_relocs): Likewise.
* x86_64.cc (Target_x86_64::relocate_relocs): Likewise.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r-- | gold/x86_64.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc index 6c379ba..6342196 100644 --- a/gold/x86_64.cc +++ b/gold/x86_64.cc @@ -477,7 +477,7 @@ class Target_x86_64 : public Sized_target<size, false> const unsigned char* prelocs, size_t reloc_count, Output_section* output_section, - off_t offset_in_output_section, + typename elfcpp::Elf_types<size>::Elf_Off offset_in_output_section, const Relocatable_relocs*, unsigned char* view, typename elfcpp::Elf_types<size>::Elf_Addr view_address, @@ -2307,7 +2307,7 @@ Target_x86_64<size>::Scan::local(Symbol_table* symtab, unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info()); Reloc_section* rela_dyn = target->rela_dyn_section(layout); rela_dyn->add_local_relative(object, r_sym, - (size == 32 + (size == 32 ? elfcpp::R_X86_64_RELATIVE64 : elfcpp::R_X86_64_RELATIVE), output_section, data_shndx, @@ -4221,7 +4221,7 @@ Target_x86_64<size>::relocate_relocs( const unsigned char* prelocs, size_t reloc_count, Output_section* output_section, - off_t offset_in_output_section, + typename elfcpp::Elf_types<size>::Elf_Off offset_in_output_section, const Relocatable_relocs* rr, unsigned char* view, typename elfcpp::Elf_types<size>::Elf_Addr view_address, |