aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorUlf Carlsson <ulfc@engr.sgi.com>2000-07-18 09:45:26 +0000
committerUlf Carlsson <ulfc@engr.sgi.com>2000-07-18 09:45:26 +0000
commit31a9bdd961af756d45a6847296e72a6f217bf060 (patch)
treebea8241e4e64a07ef390ac9ccea95430b8a068d7 /bfd
parent7f0e3f52b0463193d131787e2cc624c8cb7133e8 (diff)
downloadgdb-31a9bdd961af756d45a6847296e72a6f217bf060.zip
gdb-31a9bdd961af756d45a6847296e72a6f217bf060.tar.gz
gdb-31a9bdd961af756d45a6847296e72a6f217bf060.tar.bz2
2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add paranthesis in if statement.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-mips.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e3422df..90013c5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add
+ paranthesis in if statement.
+
2000-07-17 Koundinya K <kk@ddeorg.soft.net>
Enable the support for Traditional MIPS.
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index f675481..1e9e99b 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -7099,7 +7099,7 @@ _bfd_mips_elf_create_dynamic_sections (abfd, info)
return false;
}
- if (IRIX_COMPAT (abfd) == ict_irix5 || IRIX_COMPAT (abfd) == ict_none
+ if ((IRIX_COMPAT (abfd) == ict_irix5 || IRIX_COMPAT (abfd) == ict_none)
&& !info->shared
&& bfd_get_section_by_name (abfd, ".rld_map") == NULL)
{
@@ -8636,7 +8636,8 @@ _bfd_mips_elf_finish_dynamic_symbol (output_bfd, info, h, sym)
if (! info->shared)
{
if (! mips_elf_hash_table (info)->use_rld_obj_head
- && strcmp (name, "__rld_map") == 0 || strcmp (name, "__RLD_MAP") == 0)
+ && (strcmp (name, "__rld_map") == 0
+ || strcmp (name, "__RLD_MAP") == 0))
{
asection *s = bfd_get_section_by_name (dynobj, ".rld_map");
BFD_ASSERT (s != NULL);