PR gold/14727
authorAlan Modra <amodra@gmail.com>
Thu, 18 Oct 2012 05:36:02 +0000 (05:36 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 18 Oct 2012 05:36:02 +0000 (05:36 +0000)
* object.cc (Relobj::is_section_name_included): Also match
.sdata personality section.

gold/ChangeLog
gold/object.cc

index 0b728bbded80303c308182d9e5bb41a29bf72d07..52e19daa746602f099d095c385e8ad886004c2f7 100644 (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..
index 3492f466d9fe30ca702f03aac65dfdbd449a1491..3a4f9f8c70e09343d158bcaca72f148f3841c394 100644 (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")))
     {