summaryrefslogtreecommitdiffstats
path: root/gold/resolve.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-29 19:19:17 +0000
committerIan Lance Taylor <iant@google.com>2008-02-29 19:19:17 +0000
commit7d1a9ebbf2b6018657e88172df4356ad4733b9c6 (patch)
tree684a7533508954f514333d59e7aac505a7764b9f /gold/resolve.cc
parentc24d74257b6b46bc55be02dd1760658f842a3872 (diff)
downloadppe42-binutils-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.tar.gz
ppe42-binutils-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.zip
Remove gcc 3.2 compatibility hacks.
Diffstat (limited to 'gold/resolve.cc')
-rw-r--r--gold/resolve.cc18
1 files changed, 5 insertions, 13 deletions
diff --git a/gold/resolve.cc b/gold/resolve.cc
index c244ad42a9..330000099f 100644
--- a/gold/resolve.cc
+++ b/gold/resolve.cc
@@ -85,16 +85,13 @@ Symbol_table::override(Sized_symbol<size>* tosym,
{
Symbol* sym = this->weak_aliases_[tosym];
gold_assert(sym != NULL);
- Sized_symbol<size>* ssym;
- ssym = this->get_sized_symbol SELECT_SIZE_NAME(size) (sym
- SELECT_SIZE(size));
+ Sized_symbol<size>* ssym = this->get_sized_symbol<size>(sym);
do
{
ssym->override(fromsym, object, version);
sym = this->weak_aliases_[ssym];
gold_assert(sym != NULL);
- ssym = this->get_sized_symbol SELECT_SIZE_NAME(size) (
- sym SELECT_SIZE(size));
+ ssym = this->get_sized_symbol<size>(sym);
}
while (ssym != tosym);
}
@@ -194,9 +191,7 @@ Symbol_table::resolve(Sized_symbol<size>* to,
if (object->target()->has_resolve())
{
Sized_target<size, big_endian>* sized_target;
- sized_target = object->sized_target
- SELECT_SIZE_ENDIAN_NAME(size, big_endian) (
- SELECT_SIZE_ENDIAN_ONLY(size, big_endian));
+ sized_target = object->sized_target<size, big_endian>();
sized_target->resolve(to, sym, object, version);
return;
}
@@ -715,16 +710,13 @@ Symbol_table::override_with_special(Sized_symbol<size>* tosym,
{
Symbol* sym = this->weak_aliases_[tosym];
gold_assert(sym != NULL);
- Sized_symbol<size>* ssym;
- ssym = this->get_sized_symbol SELECT_SIZE_NAME(size) (sym
- SELECT_SIZE(size));
+ Sized_symbol<size>* ssym = this->get_sized_symbol<size>(sym);
do
{
ssym->override_with_special(fromsym);
sym = this->weak_aliases_[ssym];
gold_assert(sym != NULL);
- ssym = this->get_sized_symbol SELECT_SIZE_NAME(size) (
- sym SELECT_SIZE(size));
+ ssym = this->get_sized_symbol<size>(sym);
}
while (ssym != tosym);
}
OpenPOWER on IntegriCloud