aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>2009-01-28 16:35:13 +0000
committerCatherine Moore <clm@redhat.com>2009-01-28 16:35:13 +0000
commit528aeb629fb4b25a56e0a523a3cbc2c5366fa6b0 (patch)
tree1cf5cd86d1402926b9d0f0d511ab79939a2c2aa2 /bfd/elf32-arm.c
parent098b41a654e3d892dde74e8df67447af12c23aba (diff)
downloadgdb-528aeb629fb4b25a56e0a523a3cbc2c5366fa6b0.zip
gdb-528aeb629fb4b25a56e0a523a3cbc2c5366fa6b0.tar.gz
gdb-528aeb629fb4b25a56e0a523a3cbc2c5366fa6b0.tar.bz2
* elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and
SEC_LOAD for dynamic relocation sections.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 5fdd138..4842179 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -9643,7 +9643,7 @@ elf32_arm_check_relocs (bfd *abfd, struct bfd_link_info *info,
flagword flags;
flags = bfd_get_section_flags (dynobj, sreloc);
- flags &= ~(SEC_LOAD | SEC_ALLOC);
+ flags |= (SEC_LOAD | SEC_ALLOC);
bfd_set_section_flags (dynobj, sreloc, flags);
}
}