This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

elf32-mips.c warnings


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]