diff options
-rw-r--r-- | gold/ChangeLog | 6 | ||||
-rw-r--r-- | gold/object.cc | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 0b728bb..52e19da 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,11 @@ 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.. (get_comdat_behaviour): ..this. (relocate_section): Add Relocate_comdat_behavior template arg, 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"))) { |