aboutsummaryrefslogtreecommitdiff
path: root/gold/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/object.h')
-rw-r--r--gold/object.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gold/object.h b/gold/object.h
index 2baf2da..8f0a3b7 100644
--- a/gold/object.h
+++ b/gold/object.h
@@ -130,6 +130,11 @@ class Object
name() const
{ return this->name_; }
+ // Get the offset into the file.
+ off_t
+ offset() const
+ { return this->offset_; }
+
// Return whether this is a dynamic object.
bool
is_dynamic() const
@@ -277,11 +282,6 @@ class Object
input_file() const
{ return this->input_file_; }
- // Get the offset into the file.
- off_t
- offset() const
- { return this->offset_; }
-
// Get a view into the underlying file.
const unsigned char*
get_view(off_t start, off_t size, bool cache)