* elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test.

This commit is contained in:
Daniel Jacobowitz 2009-03-17 14:50:48 +00:00
parent a7e11ee1d2
commit a89e647837
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-03-17 Daniel Jacobowitz <dan@codesourcery.com>
* elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test.
2009-03-17 Alan Modra <amodra@bigpond.net.au>
* elf32-spu.h (struct spu_elf_params): ovly_flavour now only 1 bit.

View File

@ -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);
}
}