aboutsummaryrefslogtreecommitdiff
path: root/gold/attributes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/attributes.cc')
-rw-r--r--gold/attributes.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/attributes.cc b/gold/attributes.cc
index b9b3608..45ab5a0 100644
--- a/gold/attributes.cc
+++ b/gold/attributes.cc
@@ -276,7 +276,7 @@ Attributes_section_data::Attributes_section_data(
this->vendor_object_attributes_[vendor] =
new Vendor_object_attributes(vendor);
- const unsigned char *p = view;
+ const unsigned char* p = view;
p = view;
if (size > 0 && p != NULL && *(p++) == 'A')
{
@@ -296,7 +296,7 @@ Attributes_section_data::Attributes_section_data(
section_size -= section_name_size + 4;
int vendor;
- const char *std_section = parameters->target().attributes_vendor();
+ const char* std_section = parameters->target().attributes_vendor();
if (std_section != NULL && strcmp(section_name, std_section) == 0)
vendor = Object_attribute::OBJ_ATTR_PROC;
else if (strcmp(section_name, "gnu") == 0)