bfd_asymbol_* macros
[deliverable/binutils-gdb.git] / bfd / elf32-score7.c
index ea0ccd04e9e65003de0d04951da91ce250fcfb9c..51a5fb106d7559c46660dfa9e8b72cf052c07391 100644 (file)
@@ -497,8 +497,8 @@ score_elf_got15_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_elf_generic_reloc (abfd, reloc_entry, symbol, data,
                                  input_section, output_bfd,
This page took 0.024989 seconds and 4 git commands to generate.