summaryrefslogtreecommitdiff
path: root/gold/attributes.h
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-12-12 01:26:12 +0000
committerDoug Kwan <dougkwan@google.com>2009-12-12 01:26:12 +0000
commit4dd5554177d48b2972d07fc26830bbb4249c0a15 (patch)
tree76fdb6d8c4888f597fa62168b8e424733b7bd742 /gold/attributes.h
parentf61ceebd6988d3f9658a1784d60fcf7277fb407e (diff)
downloadbinutils-redhat-4dd5554177d48b2972d07fc26830bbb4249c0a15.tar.gz
2009-12-11 Doug Kwan <dougkwan@google.com>
* arm.cc (Target_arm::do_finalize_sections): Fix build breakage due to -Wshadow. * attributes.cc (Object_attribute::size): Ditto. (Attributes_section_data::size): Ditto. (Attributes_section_data::Attributes_section_data): Ditto. (Output_attributes_section_data::do_write): Ditto. * attributes.h (Object_attribute::set_type): Ditto. * testsuite/tls_test_main.cc (safe_lock, safe_unlock): Ditto.
Diffstat (limited to 'gold/attributes.h')
-rw-r--r--gold/attributes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/attributes.h b/gold/attributes.h
index 7c4baf4b95..dbfba845c2 100644
--- a/gold/attributes.h
+++ b/gold/attributes.h
@@ -103,8 +103,8 @@ class Object_attribute
// Set attribute type.
void
- set_type(int type)
- { this->type_ = type; }
+ set_type(int at)
+ { this->type_ = at; }
// Return integer value.
unsigned int