summaryrefslogtreecommitdiff
path: root/bfd/nlmcode.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2001-08-23 15:45:19 +0000
committerH.J. Lu <hjl@lucon.org>2001-08-23 15:45:19 +0000
commit9ae61ee12ff5d69ea216e5f4d8ee373e267d9466 (patch)
tree0276125c3c3940204a356a56864ad8b42357cb93 /bfd/nlmcode.h
parent2243deb2f3561edeca67cba7667dd84e3f5352f5 (diff)
downloadbinutils-redhat-9ae61ee12ff5d69ea216e5f4d8ee373e267d9466.tar.gz
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/nlmcode.h')
-rw-r--r--bfd/nlmcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/nlmcode.h b/bfd/nlmcode.h
index 04ba2a0281..0dce9439f5 100644
--- a/bfd/nlmcode.h
+++ b/bfd/nlmcode.h
@@ -981,7 +981,7 @@ nlm_get_symbol_info (ignore_abfd, symbol, ret)
void
nlm_print_symbol (abfd, afile, symbol, how)
- bfd *abfd ATTRIBUTE_UNUSED;
+ bfd *abfd;
PTR afile;
asymbol *symbol;
bfd_print_symbol_type how;
@@ -996,7 +996,7 @@ nlm_print_symbol (abfd, afile, symbol, how)
fprintf (file, "%s", symbol->name);
break;
case bfd_print_symbol_all:
- bfd_print_symbol_vandf ((PTR) file, symbol);
+ bfd_print_symbol_vandf (abfd, (PTR) file, symbol);
fprintf (file, " %-5s", symbol->section->name);
if (symbol->name)
fprintf (file, " %s", symbol->name);