diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-29 19:19:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-29 19:19:17 +0000 |
commit | 7d1a9ebbf2b6018657e88172df4356ad4733b9c6 (patch) | |
tree | 684a7533508954f514333d59e7aac505a7764b9f /gold/object.h | |
parent | c24d74257b6b46bc55be02dd1760658f842a3872 (diff) | |
download | gdb-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.zip gdb-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.tar.gz gdb-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.tar.bz2 |
Remove gcc 3.2 compatibility hacks.
Diffstat (limited to 'gold/object.h')
-rw-r--r-- | gold/object.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gold/object.h b/gold/object.h index 80047b0..8a51550 100644 --- a/gold/object.h +++ b/gold/object.h @@ -202,7 +202,7 @@ class Object // appropriate checked type. template<int size, bool big_endian> Sized_target<size, big_endian>* - sized_target(ACCEPT_SIZE_ENDIAN_ONLY) const; + sized_target() const; // Get the number of sections. unsigned int @@ -457,7 +457,7 @@ class Object template<int size, bool big_endian> inline Sized_target<size, big_endian>* -Object::sized_target(ACCEPT_SIZE_ENDIAN_ONLY) const +Object::sized_target() const { gold_assert(this->target_->get_size() == size); gold_assert(this->target_->is_big_endian() ? big_endian : !big_endian); @@ -1054,11 +1054,7 @@ class Sized_relobj : public Relobj // Return the appropriate Sized_target structure. Sized_target<size, big_endian>* sized_target() - { - return this->Object::sized_target - SELECT_SIZE_ENDIAN_NAME(size, big_endian) ( - SELECT_SIZE_ENDIAN_ONLY(size, big_endian)); - } + { return this->Object::sized_target<size, big_endian>(); } // Return the value of the local symbol symndx. Address |