From: Catherine Moore Date: Wed, 28 Jan 2009 16:35:13 +0000 (+0000) Subject: * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=528aeb629fb4b25a56e0a523a3cbc2c5366fa6b0;p=binutils-gdb.git * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and SEC_LOAD for dynamic relocation sections. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6f16c7dade0..45653144e26 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2009-01-28 Catherine Moore + + * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and + SEC_LOAD for dynamic relocation sections. + 2009-01-27 Hans-Peter Nilsson * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 5fdd1382307..48421795f1d 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); } }