This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Revert accidental commit.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 9 May 2016 11:07:59 -0000
- Subject: [binutils-gdb] Revert accidental commit.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=73597c183c78ed0bea291897de6d8867ec640208
commit 73597c183c78ed0bea291897de6d8867ec640208
Author: Nick Clifton <nickc@redhat.com>
Date: Mon May 9 12:07:32 2016 +0100
Revert accidental commit.
PR 19938
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Revert accidental
commit.
Diff:
---
bfd/ChangeLog | 6 ++++++
bfd/elf32-arm.c | 2 --
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index df6cd45..a6e4401 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index ba89aa6..61deb9e 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -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;