aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog1
-rw-r--r--gold/object.cc4
2 files changed, 3 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index b14ce7a..3292a51 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,6 +1,7 @@
2009-12-28 Ian Lance Taylor <iant@google.com>
* gold.cc (queue_middle_tasks): Fix formatting.
+ * object.cc (Relobj::is_section_name_included): Likewise.
2009-12-23 Ian Lance Taylor <iant@google.com>
diff --git a/gold/object.cc b/gold/object.cc
index 9baf227..efcb26b 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -315,8 +315,8 @@ Relobj::is_section_name_included(const char* name)
&& strstr(name, "personality"))
|| (is_prefix_of(".data", name)
&& strstr(name, "personality"))
- || (is_prefix_of(".gnu.linkonce.d", name) &&
- strstr(name, "personality")))
+ || (is_prefix_of(".gnu.linkonce.d", name)
+ && strstr(name, "personality")))
{
return true;
}