summaryrefslogtreecommitdiff
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
commit34fe7f74ef7300d213d3f89568ea8c9a85d94bed (patch)
tree17bfa31e0295cd588b91e0925a0138e1039899e3 /gold/common.cc
parent035df0aff7aede96aad3720984cc96d2a1c65311 (diff)
downloadbinutils-redhat-34fe7f74ef7300d213d3f89568ea8c9a85d94bed.tar.gz
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 e2e9f9f7f6..f723de30e1 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);