]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/as.h
bfd_section_* macros
[thirdparty/binutils-gdb.git] / gas / as.h
index 96b551eded36cac858093bc2ff7fc0c678125207..5b604a45342205187bef6d96a6bb1f1f35c5423d 100644 (file)
--- a/gas/as.h
+++ b/gas/as.h
@@ -226,7 +226,7 @@ COMMON subsegT now_subseg;
 /* Segment our instructions emit to.  */
 COMMON segT now_seg;
 
-#define segment_name(SEG)      bfd_get_section_name (stdoutput, SEG)
+#define segment_name(SEG)      bfd_section_name (SEG)
 
 extern segT reg_section, expr_section;
 /* Shouldn't these be eliminated someday?  */