aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-05-09 12:07:32 +0100
committerNick Clifton <nickc@redhat.com>2016-05-09 12:07:32 +0100
commit73597c183c78ed0bea291897de6d8867ec640208 (patch)
tree5bafde070c46ee31214528966576553f8a4720c8 /bfd/elf32-arm.c
parent924bc11ba455cfe5e44afa3cb24e4dbe24536734 (diff)
downloadgdb-73597c183c78ed0bea291897de6d8867ec640208.zip
gdb-73597c183c78ed0bea291897de6d8867ec640208.tar.gz
gdb-73597c183c78ed0bea291897de6d8867ec640208.tar.bz2
Revert accidental commit.
PR 19938 * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Revert accidental commit.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c2
1 files changed, 0 insertions, 2 deletions
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;