From e18e24af07c074be7e9288741a922065a6790f84 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Sun, 3 Nov 1991 22:47:50 +0000 Subject: [PATCH] * bfd-in.h (bfd_print_symbol_type_hopw enum): Add new option bfd_print_symbol_nm, for use by nm. * aoutx.h (NAME(aout,print_symbol)): Add code for new bfd_print_symbol_nm option, to print in nm format. * coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol) oasys.c (oasys_print_symbol): Provide stub implementations for bfd_print_symbol_nm. * syms.c: New function bfd_decode_symclass, used by nm printer. New function bfd_stab_name to look up string name of stab code. --- bfd/ChangeLog | 14 ++++++++++++++ bfd/coffcode.h | 1 + 2 files changed, 15 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c9600316c2d..115e6c68615 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,17 @@ +Sun Nov 3 12:07:08 1991 Per Bothner (bothner at cygnus.com) + + * hosts/h-news.h, hosts/h-rtbsd.h: + Get rid of MISSING_VFPRINTF, since libiberty provides one. + * bfd-in.h (bfd_print_symbol_type_hopw enum): Add new option + bfd_print_symbol_nm, for use by nm. + * aoutx.h (NAME(aout,print_symbol)): Add code for new + bfd_print_symbol_nm option, to print in nm format. + * coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol) + oasys.c (oasys_print_symbol): Provide stub implementations + for bfd_print_symbol_nm. + * syms.c: New function bfd_decode_symclass, used by nm printer. + New function bfd_stab_name to look up string name of stab code. + Thu Oct 31 18:23:06 1991 John Gilmore (gnu at cygnus.com) * coff-rs6000.c: Change name to "aixcoff-rs6000", to avoid diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 19a1ff9ada4..f2aeea05f92 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -1909,6 +1909,7 @@ DEFUN(coff_print_symbol,(ignore_abfd, filep, symbol, how), fprintf(file, "coff %lx %lx", (unsigned long) coffsymbol(symbol)->native, (unsigned long) coffsymbol(symbol)->lineno); break; + case bfd_print_symbol_nm: case bfd_print_symbol_all: { CONST char *section_name = symbol->section == (asection *) NULL ? -- 2.30.2