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 | gas/ (diff) | |
download | binutils-gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.tar.gz binutils-gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.tar.bz2 binutils-gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.zip |
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 e2e9f9f7f6e..f723de30e19 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); |