diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-08-23 15:45:19 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-08-23 15:45:19 +0000 |
commit | 60b89a18787c3bef019482b96d4735184deea9d0 (patch) | |
tree | 253328a774e43753a24381c4efa131524f65ab55 /bfd/syms.c | |
parent | 67a374a5f13325910f77b973959ff20c162d907a (diff) | |
download | binutils-60b89a18787c3bef019482b96d4735184deea9d0.tar.gz binutils-60b89a18787c3bef019482b96d4735184deea9d0.tar.bz2 binutils-60b89a18787c3bef019482b96d4735184deea9d0.zip |
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.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r-- | bfd/syms.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bfd/syms.c b/bfd/syms.c index 27303b1e0a9..5d885a467ae 100644 --- a/bfd/syms.c +++ b/bfd/syms.c @@ -433,14 +433,15 @@ FUNCTION bfd_print_symbol_vandf SYNOPSIS - void bfd_print_symbol_vandf(PTR file, asymbol *symbol); + void bfd_print_symbol_vandf(bfd *abfd, PTR file, asymbol *symbol); DESCRIPTION Print the value and flags of the @var{symbol} supplied to the stream @var{file}. */ void -bfd_print_symbol_vandf (arg, symbol) +bfd_print_symbol_vandf (abfd, arg, symbol) + bfd *abfd; PTR arg; asymbol *symbol; { @@ -448,11 +449,12 @@ bfd_print_symbol_vandf (arg, symbol) flagword type = symbol->flags; if (symbol->section != (asection *) NULL) { - fprintf_vma (file, symbol->value + symbol->section->vma); + bfd_fprintf_vma (abfd, file, + symbol->value + symbol->section->vma); } else { - fprintf_vma (file, symbol->value); + bfd_fprintf_vma (abfd, file, symbol->value); } /* This presumes that a symbol can not be both BSF_DEBUGGING and |