aboutsummaryrefslogtreecommitdiff
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
commitb0eec2ccdafc32f2d0d82d8582fe28d91ea5a679 (patch)
tree389b8f994b9bf250f380f78e2bebb9e0237f201e /gold/attributes.h
parent759a05ce2497537aaf1982648a616ecd04127a4a (diff)
downloadgdb-b0eec2ccdafc32f2d0d82d8582fe28d91ea5a679.zip
gdb-b0eec2ccdafc32f2d0d82d8582fe28d91ea5a679.tar.gz
gdb-b0eec2ccdafc32f2d0d82d8582fe28d91ea5a679.tar.bz2
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 7c4baf4..dbfba84 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