forked from Imagelibrary/binutils-gdb
* bfd.c (bfd_perror): Flush stdout before and stderr after printing
error. (_bfd_default_error_handler): Likewise. * elf.c (print_segment_map): Likewise. * libbfd.c (warn_deprecated): Likewise. * som.c (som_sizeof_headers): No need to do so here. * coff-i860.c: Replace use of printf for error messages with _bfd_error_handler. * coff-ppc.c: Likewise. * coff-sh.c: Likewise. * elf32-bfin.c: Likewise. * elf32-dlx.c: Likewise. * elf32-mep.c: Likewise. * elf32-v850.c: Likewise. * mach-o.c: Likewise. * pef.c: Likewise.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* ELF executable support for BFD.
|
||||
|
||||
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
||||
2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
||||
2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of BFD, the Binary File Descriptor library.
|
||||
@@ -4280,10 +4280,12 @@ print_segment_map (const struct elf_segment_map *m)
|
||||
(unsigned int) m->p_type);
|
||||
pt = buf;
|
||||
}
|
||||
fflush (stdout);
|
||||
fprintf (stderr, "%s:", pt);
|
||||
for (j = 0; j < m->count; j++)
|
||||
fprintf (stderr, " %s", m->sections [j]->name);
|
||||
putc ('\n',stderr);
|
||||
fflush (stderr);
|
||||
}
|
||||
|
||||
static bfd_boolean
|
||||
|
||||
Reference in New Issue
Block a user