This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
elf32-mips.c warnings
- To: Binutils Patches <binutils at sourceware dot cygnus dot com>
- Subject: elf32-mips.c warnings
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 18 Jul 2000 19:30:46 +1000
I was going to just post a patch but,
/home/scratch/ALL/all/bfd/elf32-mips.c: In function
`_bfd_mips_elf_create_dynamic_sections':
/home/scratch/ALL/all/bfd/elf32-mips.c:7104: warning: suggest
parentheses around && within ||
/home/scratch/ALL/all/bfd/elf32-mips.c: In function
`_bfd_mips_elf_finish_dynamic_symbol':
/home/scratch/ALL/all/bfd/elf32-mips.c:8639: warning: suggest
parentheses around && within ||
I'm not sure what:
if (IRIX_COMPAT (abfd) == ict_irix5 || IRIX_COMPAT (abfd) == ict_none
&& !info->shared
&& bfd_get_section_by_name (abfd, ".rld_map") == NULL)
or:
if (! mips_elf_hash_table (info)->use_rld_obj_head
&& strcmp (name, "__rld_map") == 0 || strcmp (name, "__RLD_MAP") ==
0)
should be.
Andrew