aboutsummaryrefslogtreecommitdiff
path: root/bfd/som.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-08-23 15:45:19 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-08-23 15:45:19 +0000
commit60b89a18787c3bef019482b96d4735184deea9d0 (patch)
tree253328a774e43753a24381c4efa131524f65ab55 /bfd/som.c
parent67a374a5f13325910f77b973959ff20c162d907a (diff)
downloadgdb-60b89a18787c3bef019482b96d4735184deea9d0.zip
gdb-60b89a18787c3bef019482b96d4735184deea9d0.tar.gz
gdb-60b89a18787c3bef019482b96d4735184deea9d0.tar.bz2
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/som.c')
-rw-r--r--bfd/som.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/som.c b/bfd/som.c
index f92b7a0..1b877d5 100644
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -4499,8 +4499,8 @@ som_make_empty_symbol (abfd)
/* Print symbol information. */
static void
-som_print_symbol (ignore_abfd, afile, symbol, how)
- bfd *ignore_abfd ATTRIBUTE_UNUSED;
+som_print_symbol (abfd, afile, symbol, how)
+ bfd *abfd;
PTR afile;
asymbol *symbol;
bfd_print_symbol_type how;
@@ -4520,7 +4520,7 @@ som_print_symbol (ignore_abfd, afile, symbol, how)
{
CONST char *section_name;
section_name = symbol->section ? symbol->section->name : "(*none*)";
- bfd_print_symbol_vandf ((PTR) file, symbol);
+ bfd_print_symbol_vandf (abfd, (PTR) file, symbol);
fprintf (file, " %s\t%s", section_name, symbol->name);
break;
}