Revert accidental commit.
authorNick Clifton <nickc@redhat.com>
Mon, 9 May 2016 11:07:32 +0000 (12:07 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 9 May 2016 11:07:32 +0000 (12:07 +0100)
PR 19938
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Revert accidental
commit.

bfd/ChangeLog
bfd/elf32-arm.c

index df6cd45a5f3799a882f28b7360913f7a122dd367..a6e440168ade9c6e20c309f28726e70daba5f134 100644 (file)
@@ -1,3 +1,9 @@
+2016-05-09  Nick Clifton  <nickc@redhat.com>
+
+       PR 19938
+       * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Revert accidental
+       commit.
+
 2016-05-09  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (ppc64_elf_init_stub_bfd): Remove redundant NULL check.
index ba89aa6c2621480e36ed219a845dee822b926fb5..61deb9ec817b847f156635e498c6055cd8c99f9e 100644 (file)
@@ -14118,8 +14118,6 @@ elf32_arm_adjust_dynamic_symbol (struct bfd_link_info * info,
      .rel(a).bss section we are going to use.  */
   if (info->nocopyreloc == 0
       && (h->root.u.def.section->flags & SEC_ALLOC) != 0
-      /* PR 16177: A copy is only needed if the input section is readonly.  */
-      && (h->root.u.def.section->flags & SEC_READONLY) == 0
       && h->size != 0)
     {
       asection *srel;