Silence ARI warning about floatformat_to_double
[deliverable/binutils-gdb.git] / bfd / elf32-mips.c
index 9f8f2bdc260d3131b85bbfeb97cc03cc6ff79066..74300a11e95698a2ec7fe6200c0721b9c2339e23 100644 (file)
@@ -2281,8 +2281,8 @@ mips_elf_sym_is_global (bfd *abfd ATTRIBUTE_UNUSED, asymbol *sym)
     return (sym->flags & BSF_SECTION_SYM) == 0;
   else
     return ((sym->flags & (BSF_GLOBAL | BSF_WEAK | BSF_GNU_UNIQUE)) != 0
-           || bfd_is_und_section (bfd_get_section (sym))
-           || bfd_is_com_section (bfd_get_section (sym)));
+           || bfd_is_und_section (bfd_asymbol_section (sym))
+           || bfd_is_com_section (bfd_asymbol_section (sym)));
 }
 \f
 /* Set the right machine number for a MIPS ELF file.  */
This page took 0.039999 seconds and 4 git commands to generate.