* Makefile.in ($(NM_PROG)): Depend on demangle.o.
authorDavid MacKenzie <djm@cygnus>
Fri, 13 Aug 1993 00:02:25 +0000 (00:02 +0000)
committerDavid MacKenzie <djm@cygnus>
Fri, 13 Aug 1993 00:02:25 +0000 (00:02 +0000)
commitd6a4c375697112e9f8d35e787e703464708fa052
tree9adc2f8b3f2c5ac525358f8b6814a50fb57a8d78
parent8b46d73404b9d7d8010975e68a1279f11dfc2671
* Makefile.in ($(NM_PROG)): Depend on demangle.o.
(demangle.o): New target.
(cplus-dem.o): Depend on it, to force compilation order when doing
parallel compiles.

* nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
(struct output_fns print_symbol_info): Ditto.
(long_options, usage, main): Add -C --demangle option.
(print_symname): New function, demangling if requested.
(print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
binutils/Makefile.in
binutils/binutils.texi
binutils/nm.1