bfd_asymbol_* macros
[deliverable/binutils-gdb.git] / bfd / elfxx-mips.c
index e3054043df3b3a2ad73a72af1efbc4783ca7a0f3..8ad5268520b9b1cb3ea5fcce1049602e3dffa19b 100644 (file)
@@ -2531,8 +2531,8 @@ _bfd_mips_elf_got16_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
                           bfd *output_bfd, char **error_message)
 {
   if ((symbol->flags & (BSF_GLOBAL | BSF_WEAK)) != 0
-      || bfd_is_und_section (bfd_get_section (symbol))
-      || bfd_is_com_section (bfd_get_section (symbol)))
+      || bfd_is_und_section (bfd_asymbol_section (symbol))
+      || bfd_is_com_section (bfd_asymbol_section (symbol)))
     /* The relocation is against a global symbol.  */
     return _bfd_mips_elf_generic_reloc (abfd, reloc_entry, symbol, data,
                                        input_section, output_bfd,
This page took 0.024318 seconds and 4 git commands to generate.