aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2014-07-21 11:12:05 -0700
committerSriraman Tallam <tmsriram@google.com>2014-07-21 11:12:05 -0700
commit5ad9b0a77316bf2f1dd9e257ee683b90ae9f9da9 (patch)
treee09b865d5e87b0c92547298529a392bc2e62d9ac /gold
parent1b396721c945d5129a296205dfe8873ffe975ffe (diff)
downloadgdb-5ad9b0a77316bf2f1dd9e257ee683b90ae9f9da9.zip
gdb-5ad9b0a77316bf2f1dd9e257ee683b90ae9f9da9.tar.gz
gdb-5ad9b0a77316bf2f1dd9e257ee683b90ae9f9da9.tar.bz2
2014-07-21 Sriraman Tallam <tmsriram@google.com>
* object.cc (Relobj::is_section_name_included): Add ".rodata.nptl_version".
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/object.cc4
2 files changed, 8 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 60d7471..eff24c2 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-21 Sriraman Tallam <tmsriram@google.com>
+
+ * object.cc (Relobj::is_section_name_included): Add
+ ".rodata.nptl_version".
+
2014-07-08 Cary Coutant <ccoutant@google.com>
* expression.cc (struct Expression::Expression_eval_info): Add
diff --git a/gold/object.cc b/gold/object.cc
index 1811cda..03239d8 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -334,7 +334,9 @@ Relobj::is_section_name_included(const char* name)
|| (is_prefix_of(".sdata", name)
&& strstr(name, "personality"))
|| (is_prefix_of(".gnu.linkonce.d", name)
- && strstr(name, "personality")))
+ && strstr(name, "personality"))
+ || (is_prefix_of(".rodata", name)
+ && strstr(name, "nptl_version")))
{
return true;
}