]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/config/tc-sparc.c
bfd_section_* macros
[thirdparty/binutils-gdb.git] / gas / config / tc-sparc.c
index 347db08173a8948ef1ecb970dbf36267ff8905ef..4f7d675f60c74ce8eccaf7190ebcb39b76b97e9f 100644 (file)
@@ -4001,7 +4001,7 @@ tc_gen_reloc (asection *section, fixS *fixp)
     }
 
   /* Nothing is aligned in DWARF debugging sections.  */
-  if (bfd_get_section_flags (stdoutput, section) & SEC_DEBUGGING)
+  if (bfd_section_flags (section) & SEC_DEBUGGING)
     switch (code)
       {
       case BFD_RELOC_16: code = BFD_RELOC_SPARC_UA16; break;