aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>1999-05-14 02:02:26 +0000
committerAndreas Schwab <schwab@linux-m68k.org>1999-05-14 02:02:26 +0000
commit97eaf9de677d01a56f3981ed34e6e7b57974c43a (patch)
treecce28e3302cf2a22aba9581c5cc1868b3482954b
parent19b341776db9a4a7740943fb2da7ae209fd492dd (diff)
downloadgdb-97eaf9de677d01a56f3981ed34e6e7b57974c43a.zip
gdb-97eaf9de677d01a56f3981ed34e6e7b57974c43a.tar.gz
gdb-97eaf9de677d01a56f3981ed34e6e7b57974c43a.tar.bz2
* elf32-arm.h (elf32_arm_relocate_section): Fix operator
precedence between bit-and and comparison.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8f63665..5f86ff0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Fri May 14 10:59:55 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * elf32-arm.h (elf32_arm_relocate_section): Fix operator
+ precedence between bit-and and comparison.
+
Thu May 13 09:45:23 1999 Joel Sherrill (joel@OARcorp.com)
* config.bfd (i[3456]86*-*-rtems*, m68k*-*-rtems*): Added to
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index d4e97d6..4e06a7e 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -1569,7 +1569,7 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section,
if (info->shared
&& (
(!info->symbolic && h->dynindx != -1)
- || (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR == 0)
+ || (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) == 0
)
&& ((input_section->flags & SEC_ALLOC) != 0)
)