gold/
[external/binutils.git] / gold / sparc.cc
index 7b78311..7bed538 100644 (file)
@@ -138,13 +138,15 @@ class Target_sparc : public Sized_target<size, big_endian>
                           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,
                           section_size_type view_size,
                           unsigned char* reloc_view,
                           section_size_type reloc_view_size);
+
   // Return whether SYM is defined by the ABI.
   bool
   do_is_defined_by_abi(const Symbol* sym) const
@@ -4207,7 +4209,7 @@ Target_sparc<size, big_endian>::relocate_for_relocatable(
     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,