From 5ad9b0a77316bf2f1dd9e257ee683b90ae9f9da9 Mon Sep 17 00:00:00 2001 From: Sriraman Tallam Date: Mon, 21 Jul 2014 11:12:05 -0700 Subject: [PATCH] 2014-07-21 Sriraman Tallam * object.cc (Relobj::is_section_name_included): Add ".rodata.nptl_version". --- gold/ChangeLog | 5 +++++ gold/object.cc | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * object.cc (Relobj::is_section_name_included): Add + ".rodata.nptl_version". + 2014-07-08 Cary Coutant * 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; } -- 2.7.4