PR gold/14727

* object.cc (Relobj::is_section_name_included): Also match
	.sdata personality section.
This commit is contained in:
Alan Modra 2012-10-18 05:36:02 +00:00
parent 168a472611
commit 1698990d32
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-10-18 Alan Modra <amodra@gmail.com>
PR gold/14727
* object.cc (Relobj::is_section_name_included): Also match
.sdata personality section.
2012-10-18 Alan Modra <amodra@gmail.com>
* target-reloc.h (class Default_comdat_behavior): New, package up..

View File

@ -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")))
{