2001-08-23 H.J. Lu <hjl@gnu.org>

* syms.c (bfd_print_symbol_vandf): Add abfd to arg.
	* bfd-in2.h (bfd_print_symbol_vandf): Regenerated.

	* aoutx.h (NAME(aout,print_symbol)): Pass abfd to
	bfd_print_symbol_vandf.
	* coffgen.c (coff_print_symbol): Likewise.
	* elf.c (bfd_elf_print_symbol): Likewise.
	* ieee.c (ieee_print_symbol): Likewise.
	* nlmcode.h (nlm_print_symbol): Likewise.
	* oasys.c (oasys_print_symbol): Likewise.
	* pdp11.c (NAME(aout,print_symbol)): Likewise.
	* som.c (som_print_symbol): Likewise.
	* srec.c (srec_print_symbol): Likewise.
	* tekhex.c (tekhex_print_symbol): Likewise.
	* versados.c (versados_print_symbol): Likewise.
	* vms.c (vms_print_symbol): Likewise.

	* elf.c (_bfd_elf_print_private_bfd_data): Replace fprintf_vma
	with bfd_fprintf_vma.
	(bfd_elf_print_symbol): Likewise.
	* syms.c (bfd_print_symbol_vandf): Likewise.
This commit is contained in:
H.J. Lu 2001-08-23 15:45:19 +00:00
parent 67a374a5f1
commit 60b89a1878
15 changed files with 70 additions and 44 deletions

View file

@ -957,8 +957,8 @@ tekhex_get_symbol_info (ignore_abfd, symbol, ret)
}
static void
tekhex_print_symbol (ignore_abfd, filep, symbol, how)
bfd *ignore_abfd ATTRIBUTE_UNUSED;
tekhex_print_symbol (abfd, filep, symbol, how)
bfd *abfd;
PTR filep;
asymbol *symbol;
bfd_print_symbol_type how;
@ -977,7 +977,7 @@ tekhex_print_symbol (ignore_abfd, filep, symbol, how)
{
CONST char *section_name = symbol->section->name;
bfd_print_symbol_vandf ((PTR) file, symbol);
bfd_print_symbol_vandf (abfd, (PTR) file, symbol);
fprintf (file, " %-5s %s",
section_name,