aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-03-17 14:50:48 +0000
committerDaniel Jacobowitz <drow@false.org>2009-03-17 14:50:48 +0000
commita89e6478375cb5c3c03ef209164ad1b7b80d6939 (patch)
tree73d308ff315179671911539364e1358c781cdf36 /bfd
parenta7e11ee1d2e57a66740e940cb511ddba421fac47 (diff)
downloadgdb-a89e6478375cb5c3c03ef209164ad1b7b80d6939.zip
gdb-a89e6478375cb5c3c03ef209164ad1b7b80d6939.tar.gz
gdb-a89e6478375cb5c3c03ef209164ad1b7b80d6939.tar.bz2
* elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-arm.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 01ca826..b2f3750 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 226434a..2cdbf86 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);
}
}