X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Felfn32-mips.c;h=8927e9825bde7483c07532c0062f087877d5a47c;hb=e6f7f6d14f7e1acba0cf41726616a270e7d3c121;hp=0b68a5d058cfce92fa24a14ff3891b8f5bcd8540;hpb=47275900adcda29161e2853179c1fbde4da4c86a;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c index 0b68a5d058..8927e9825b 100644 --- a/bfd/elfn32-mips.c +++ b/bfd/elfn32-mips.c @@ -1,5 +1,5 @@ /* MIPS-specific support for 32-bit ELF - Copyright (C) 1993-2018 Free Software Foundation, Inc. + Copyright (C) 1993-2019 Free Software Foundation, Inc. Most of the information added by Ian Lance Taylor, Cygnus Support, . @@ -3841,8 +3841,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))); } /* Set the right machine number for a MIPS ELF file. */