aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2012-11-01 23:27:00 +0000
committerRoland McGrath <roland@gnu.org>2012-11-01 23:27:00 +0000
commit62fe925ad4724f379e9bec4f19408dc71d416042 (patch)
treea38eb108a77b95f8198287b49496b30877edde02 /gold/arm.cc
parentc06dec1422120f824d5d10a898527c75a48eaf5f (diff)
downloadgdb-62fe925ad4724f379e9bec4f19408dc71d416042.zip
gdb-62fe925ad4724f379e9bec4f19408dc71d416042.tar.gz
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/arm.cc')
-rw-r--r--gold/arm.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/gold/arm.cc b/gold/arm.cc
index 5770c8a..1994329 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -2293,7 +2293,8 @@ class Target_arm : public Sized_target<32, big_endian>
const unsigned char* prelocs,
size_t reloc_count,
Output_section* output_section,
- off_t offset_in_output_section,
+ typename elfcpp::Elf_types<32>::Elf_Off
+ offset_in_output_section,
const Relocatable_relocs*,
unsigned char* view,
Arm_address view_address,
@@ -2309,7 +2310,8 @@ class Target_arm : public Sized_target<32, big_endian>
const unsigned char* preloc_in,
size_t relnum,
Output_section* output_section,
- off_t offset_in_output_section,
+ typename elfcpp::Elf_types<32>::Elf_Off
+ offset_in_output_section,
unsigned char* view,
typename elfcpp::Elf_types<32>::Elf_Addr
view_address,
@@ -9603,7 +9605,7 @@ Target_arm<big_endian>::relocate_relocs(
const unsigned char* prelocs,
size_t reloc_count,
Output_section* output_section,
- off_t offset_in_output_section,
+ typename elfcpp::Elf_types<32>::Elf_Off offset_in_output_section,
const Relocatable_relocs* rr,
unsigned char* view,
Arm_address view_address,
@@ -9638,7 +9640,7 @@ Target_arm<big_endian>::relocate_special_relocatable(
const unsigned char* preloc_in,
size_t relnum,
Output_section* output_section,
- off_t offset_in_output_section,
+ typename elfcpp::Elf_types<32>::Elf_Off offset_in_output_section,
unsigned char* view,
elfcpp::Elf_types<32>::Elf_Addr view_address,
section_size_type,