elf32-mips.c warnings

Andrew Cagney ac131313@cygnus.com
Tue Jul 18 02:31:00 GMT 2000


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


More information about the Binutils mailing list