From 1698990d32be55462a08a57dce2cd2417e153b99 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 18 Oct 2012 05:36:02 +0000 Subject: [PATCH] PR gold/14727 * object.cc (Relobj::is_section_name_included): Also match .sdata personality section. --- gold/ChangeLog | 6 ++++++ gold/object.cc | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 0b728bbded8..52e19daa746 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2012-10-18 Alan Modra + + PR gold/14727 + * object.cc (Relobj::is_section_name_included): Also match + .sdata personality section. + 2012-10-18 Alan Modra * target-reloc.h (class Default_comdat_behavior): New, package up.. diff --git a/gold/object.cc b/gold/object.cc index 3492f466d9f..3a4f9f8c70e 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -331,7 +331,9 @@ Relobj::is_section_name_included(const char* name) || (is_prefix_of(".text", name) && strstr(name, "personality")) || (is_prefix_of(".data", name) - && strstr(name, "personality")) + && strstr(name, "personality")) + || (is_prefix_of(".sdata", name) + && strstr(name, "personality")) || (is_prefix_of(".gnu.linkonce.d", name) && strstr(name, "personality"))) {