From: Daniel Jacobowitz Date: Tue, 17 Mar 2009 14:50:48 +0000 (+0000) Subject: * elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a89e6478375cb5c3c03ef209164ad1b7b80d6939;p=binutils-gdb.git * elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 01ca8269ec7..b2f3750a73c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2009-03-17 Daniel Jacobowitz + + * elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test. + 2009-03-17 Alan Modra * elf32-spu.h (struct spu_elf_params): ovly_flavour now only 1 bit. diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 226434aa08e..2cdbf861c6d 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -9837,12 +9837,12 @@ elf32_arm_check_relocs (bfd *abfd, struct bfd_link_info *info, return FALSE; /* BPABI objects never have dynamic relocations mapped. */ - if (! htab->symbian_p) + if (htab->symbian_p) { 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); } }