diff options
Diffstat (limited to 'gold/target.h')
-rw-r--r-- | gold/target.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/target.h b/gold/target.h index dfbc5eee6a..db093b7fe0 100644 --- a/gold/target.h +++ b/gold/target.h @@ -455,6 +455,11 @@ class Target entry_symbol_name() const { return this->pti_->entry_symbol_name; } + // Return the size in bits of SHT_HASH entry. + int + hash_entry_size() const + { return this->pti_->hash_entry_size; } + // Whether the target has a custom set_dynsym_indexes method. bool has_custom_set_dynsym_indexes() const @@ -540,6 +545,9 @@ class Target const char* attributes_vendor; // Name of the main entry point to the program. const char* entry_symbol_name; + // Size (in bits) of SHT_HASH entry. Always equal to 32, except for + // 64-bit S/390. + const int hash_entry_size; }; Target(const Target_info* pti) |