aboutsummaryrefslogtreecommitdiff
path: root/gold/common.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-26 07:01:35 +0000
committerIan Lance Taylor <iant@google.com>2007-09-26 07:01:35 +0000
commit9025d29d14ae287d2bc338ef1b0bfa043799e15c (patch)
tree7802e1942ac6c30223c2bd6b077dc3a64e1d9280 /gold/common.cc
parentcc941dee4852b197c1437b2eb28eafb0c9ccaff9 (diff)
downloadgdb-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.cc4
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);