aboutsummaryrefslogtreecommitdiff
path: root/gold/output.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-10-20 20:40:49 +0000
committerIan Lance Taylor <iant@google.com>2006-10-20 20:40:49 +0000
commit92e059d8dc78c3f65e29e48e368f6e47ea0ab671 (patch)
treef448eb3317d9cbb0f5946422cc28ef157a5f65cb /gold/output.h
parentaf4658dc3db33004d6166b161588221ecb463a5f (diff)
downloadfsf-binutils-gdb-92e059d8dc78c3f65e29e48e368f6e47ea0ab671.zip
fsf-binutils-gdb-92e059d8dc78c3f65e29e48e368f6e47ea0ab671.tar.gz
fsf-binutils-gdb-92e059d8dc78c3f65e29e48e368f6e47ea0ab671.tar.bz2
Framework for relocation scanning. Implement simple static TLS
relocations.
Diffstat (limited to 'gold/output.h')
-rw-r--r--gold/output.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/output.h b/gold/output.h
index 368e4ba..e036b98 100644
--- a/gold/output.h
+++ b/gold/output.h
@@ -443,6 +443,11 @@ class Output_segment
flags() const
{ return this->flags_; }
+ // Return the memory size.
+ uint64_t
+ memsz() const
+ { return this->memsz_; }
+
// Return the maximum alignment of the Output_data.
uint64_t
max_data_align() const;