From 6340166c8b339b88f1baeff8a3703bf09ed7ce1c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 3 Oct 2007 00:34:49 +0000 Subject: Parameterize object_unittest to work for whatever target types are supported. --- gold/target-select.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gold/target-select.h') diff --git a/gold/target-select.h b/gold/target-select.h index b339714..da27bd4 100644 --- a/gold/target-select.h +++ b/gold/target-select.h @@ -42,7 +42,7 @@ class Target_selector // Create a target selector for a specific machine number, size (32 // or 64), and endianness. The machine number can be EM_NONE to // test for any machine number. - Target_selector(int machine, int size, bool big_endian); + Target_selector(int machine, int size, bool is_big_endian); virtual ~Target_selector() { } @@ -64,18 +64,18 @@ class Target_selector // Return the size this is looking for (32 or 64). int - size() const + get_size() const { return this->size_; } // Return the endianness this is looking for. bool - big_endian() const - { return this->big_endian_; } + is_big_endian() const + { return this->is_big_endian_; } private: int machine_; int size_; - bool big_endian_; + bool is_big_endian_; Target_selector* next_; }; -- cgit v1.1