diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-26 07:01:35 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-09-26 07:01:35 +0000 |
commit | 9025d29d14ae287d2bc338ef1b0bfa043799e15c (patch) | |
tree | 7802e1942ac6c30223c2bd6b077dc3a64e1d9280 /gold/common.cc | |
parent | cc941dee4852b197c1437b2eb28eafb0c9ccaff9 (diff) | |
download | gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.zip gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.tar.gz gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.tar.bz2 |
Put size and endianness in parameters.
Diffstat (limited to 'gold/common.cc')
-rw-r--r-- | gold/common.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/common.cc b/gold/common.cc index e2e9f9f..f723de3 100644 --- a/gold/common.cc +++ b/gold/common.cc @@ -135,7 +135,7 @@ Sort_commons<size>::operator()(const Symbol* pa, const Symbol* pb) const void Symbol_table::allocate_commons(const General_options& options, Layout* layout) { - if (this->get_size() == 32) + if (parameters->get_size() == 32) { #if defined(HAVE_TARGET_32_LITTLE) || defined(HAVE_TARGET_32_BIG) this->do_allocate_commons<32>(options, layout); @@ -143,7 +143,7 @@ Symbol_table::allocate_commons(const General_options& options, Layout* layout) gold_unreachable(); #endif } - else if (this->get_size() == 64) + else if (parameters->get_size() == 64) { #if defined(HAVE_TARGET_64_LITTLE) || defined(HAVE_TARGET_64_BIG) this->do_allocate_commons<64>(options, layout); |