aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-10-18 05:36:02 +0000
committerAlan Modra <amodra@gmail.com>2012-10-18 05:36:02 +0000
commit1698990d32be55462a08a57dce2cd2417e153b99 (patch)
tree09bc20d41be0d50f51d5546de6f338d147b4e0c2 /gold/object.cc
parent168a472611f2e89e2acebf2b44569a00a34e966d (diff)
downloadgdb-1698990d32be55462a08a57dce2cd2417e153b99.zip
gdb-1698990d32be55462a08a57dce2cd2417e153b99.tar.gz
gdb-1698990d32be55462a08a57dce2cd2417e153b99.tar.bz2
PR gold/14727
* object.cc (Relobj::is_section_name_included): Also match .sdata personality section.
Diffstat (limited to 'gold/object.cc')
-rw-r--r--gold/object.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/object.cc b/gold/object.cc
index 3492f46..3a4f9f8 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")))
{