Commit graph

70 commits

Author SHA1 Message Date
Alan Modra
dd70071f8b * nm.c (print_symbol): Check returned filename from
bfd_find_nearest_line is non-NULL.
2002-05-01 06:43:32 +00:00
Daniel Jacobowitz
3deb89d35e 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* nm.c (print_value): Mark abfd unused.
2002-01-30 05:00:07 +00:00
Nick Clifton
8b53311e10 Tidy up formatting of --help output. 2002-01-23 16:12:56 +00:00
Thiemo Seufer
65de42c0f9 * addr2line.c (main): Protoype.
* ar.c (main): Protoype.
	* nm.c (main): Protoype.
	* objcopy.c (main): Protoype.
	* objdump.c (main): Protoype.
	* size.c (main): Protoype.
	* strings.c (main): Protoype.
	* gasp.c (main): Protoype.
2001-12-18 08:22:30 +00:00
H.J. Lu
3882b01078 Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
H.J. Lu
62a5a82d70 2001-08-25 H.J. Lu <hjl@gnu.org>
* nm.c (print_width): New.
	(display_rel_file): Set `print_width' according to
	bfd_sprintf_vma.
	(print_symbol_info_bsd): Check `print_width' instead of BFD64.
2001-08-25 15:16:39 +00:00
H.J. Lu
d8180c76ad 2001-08-10 H.J. Lu <hjl@gnu.org>
* nm.c (print_value): Add one arg, bfd *.
	(print_value): Replace fprintf_vma with bfd_fprintf_vma.
	(print_symbol_info_bsd): Also pass `abfd' to print_value ().
	(print_symbol_info_sysv): Likewise.
	(print_symbol_info_posix): Likewise.

	* objdump.c (dump_section_header): Replace printf_vma with
	bfd_printf_vma.
	(print_section_stabs): Likewise.
	(dump_bfd_header): Likewise.
	(objdump_print_value): Replace sprintf_vma with
	bfd_sprintf_vma.
	(disassemble_bytes): Likewise.
	(dump_reloc_set): Likewise.
2001-08-10 16:43:18 +00:00
Alan Modra
21211521db * MAINTAINERS: Update my email address
* nm.c (print_symbol_info_bsd): Use a simple printf string.
2001-04-11 07:07:29 +00:00
Nick Clifton
8c2bc6877d Fix typos in ChangeLogs and update copyright notices 2001-03-13 06:43:59 +00:00
Alan Modra
7bb10502ed Don't #ifdef inside printf in case printf is a macro. 2001-02-09 16:33:21 +00:00
Geoffrey Keating
6e8008398d * nm.c (main): Ignore '-X32_64' as an option.
* ar.c (main): Likewise.
* binutils.texi (nm): Document new option.
(ar): Likewise.
2000-07-27 01:39:45 +00:00
Nick Clifton
28c309a287 Add optional style argument to --demangle switch. 2000-07-20 18:02:56 +00:00
Nick Clifton
b56f55ce04 Change output of `nm --help' to include a description of the purpose of the
program and a detailed description of the accepted options.
2000-07-20 00:39:10 +00:00
Alan Modra
37cc8ec1be A mostly cosmetic tidy up of warnings and error message reporting. 2000-04-07 04:34:50 +00:00
Alan Modra
8ad3436c79 Move translated part of bug report string back into .c files so
xgettext can find it.  Regnerate .pot files.
2000-04-04 14:32:35 +00:00
Alan Modra
c20f4f8c21 Move bug report string to one place. 2000-04-03 14:10:05 +00:00
Nick Clifton
fad6fcbb00 Apply patch from Thomas de Lellis to allow nm to distinguish between weak
function symbols and weak data symbols.
2000-01-28 01:06:37 +00:00
Ian Lance Taylor
1865dcb816 1999-09-06 Donn Terry <donn@interix.com>
* nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
	(print_symbol_info_sysv): Likewise.
	(print_symbol_info_posix): Likewise.
1999-09-06 18:47:31 +00:00
Ian Lance Taylor
b4c96d0d37 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate.  Add variable initializations.  Add casts.
	* objdump.c (disassemble_bytes): Change j to bfd_vma.
	* readelf.c (process_syminfo): Change i to unsigned int.
	(display_debug_info): Change abbrev_number to unsigned long.
	(process_mips_specific): Change fcnt to size_t.
1999-07-11 20:02:30 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00