summaryrefslogtreecommitdiffstats
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)
downloadppe42-binutils-97eaf9de677d01a56f3981ed34e6e7b57974c43a.tar.gz
ppe42-binutils-97eaf9de677d01a56f3981ed34e6e7b57974c43a.zip
* 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 8f636659e8..5f86ff0c91 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 d4e97d6b9b..4e06a7e690 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)
)
OpenPOWER on IntegriCloud