aboutsummaryrefslogtreecommitdiff
path: root/gold/target.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-12-20 21:21:24 +0000
committerIan Lance Taylor <iant@google.com>2007-12-20 21:21:24 +0000
commitfe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd (patch)
tree1d8c345aa0b876471ab9e73e4f22c04d65aa61bf /gold/target.h
parent1f7efbae406ff9f2e8967d508bfae665501dc8ae (diff)
downloadgdb-fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd.zip
gdb-fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd.tar.gz
gdb-fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd.tar.bz2
Convert more instances of off_t to be 32-bit types.
Diffstat (limited to 'gold/target.h')
-rw-r--r--gold/target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/target.h b/gold/target.h
index e385c55..218d9f7 100644
--- a/gold/target.h
+++ b/gold/target.h
@@ -134,7 +134,7 @@ class Target
// basically one or more NOPS which must fill out the specified
// length in bytes.
std::string
- code_fill(off_t length)
+ code_fill(section_size_type length)
{ return this->do_code_fill(length); }
// Return whether SYM is known to be defined by the ABI. This is
@@ -191,7 +191,7 @@ class Target
// Virtual function which must be implemented by the child class if
// needed.
virtual std::string
- do_code_fill(off_t)
+ do_code_fill(section_size_type)
{ gold_unreachable(); }
// Virtual function which may be implemented by the child class.
@@ -279,7 +279,7 @@ class Sized_target : public Target
bool needs_special_offset_handling,
unsigned char* view,
typename elfcpp::Elf_types<size>::Elf_Addr view_address,
- off_t view_size) = 0;
+ section_size_type view_size) = 0;
protected:
Sized_target(const Target::Target_info* pti)