aboutsummaryrefslogtreecommitdiff
path: root/binutils/nm.c
AgeCommit message (Collapse)AuthorFilesLines
2003-11-07Use consistent error messages for missing files.Nick Clifton1-0/+3
Detect directories where an ordinary file is expected.
2003-10-27 * ChangeLog: Fix typos.Kazu Hirata1-2/+2
* ChangeLog-9197: Likewise. * ChangeLog-9899: Likewise. * NEWS: Likewise. * ar.c: Fix comment typos. * arsup.c: Likewise. * coffgrok.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * dlltool.c: Likewise. * ieee.c: Likewise. * nm.c: Likewise. * objdump.c: Likewise. * prdbg.c: Likewise. * readelf.c: Likewise. * resrc.c: Likewise. * sysinfo.y: Likewise. * windres.c: Likewise.
2003-09-14 * addr2line.c: Convert to ISO C90 prototypes, change PTR, removeAndreas Jaeger1-204/+98
unneeded (void *) casts. * ar.c: Likewise. * arlex.l: Likewise. * arparse.y: Likewise. * arsup.c: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * bucomm.h: Likewise. * budbg.h: Likewise. * budemang.c: Likewise. * budemang.h: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * cxxfilt.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * deflex.l: Likewise. * dlltool.c: Likewise. * dlltool.h: Likewise. * dllwrap.c: Likewise. * emul_aix.c: Likewise. * filemode.c: Likewise. * ieee.c: Likewise. * nlmconv.c: Likewise. * nlmconv.h: Likewise. * nlmheader.y: Likewise. * nm.c: Likewise. * prdbg.c: Likewise. * rclex.l: Likewise. * rcparse.y: Likewise. * rdcoff.c: Likewise. * rddbg.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * rescoff.c: Likewise. * resrc.c: Likewise. * size.c: Likewise. * srconv.c: Likewise. * stabs.c: Likewise. * strings.c: Likewise. * sysdump.c: Likewise. * sysinfo.y: Likewise. * syslex.l: Likewise. * unwind-ia64.c: Likewise. * unwind-ia64.h: Likewise. * version.c: Likewise. * windres.c: Likewise. * windres.h: Likewise. * winduni.c: Likewise. * wrstabs.c: Likewise.
2003-03-17nm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol'sNick Clifton1-2/+9
value when --size-sort is used, unless -S is used. doc/binutils.texi (--size-sort): For non-bsd formats both the value and size of the symbols are displayed.
2003-03-04(print_symbol): Remove check for undefined_only.Nick Clifton1-21/+20
(main): Print a warning message if --size-sort and --undefined-only are used together.
2003-02-13Fix help messages about demangling stylesNick Clifton1-2/+3
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra1-49/+86
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-08-26Revert last change.Alan Modra1-2/+8
2002-08-26 * nm.c (display_rel_file): Don't report "no symbols" as an error.Alan Modra1-8/+2
* objdump.c (slurp_symtab): Likewise. (slurp_dynamic_symtab): Likewise. (dump_symbols): Likewise. Do print "no symbols" to stdout.
2002-08-14Replace 'gnu-new-abi' with 'gnu-v3'Nick Clifton1-1/+1
2002-07-02 * budemang.c: New file, "demangle" function.Alan Modra1-36/+5
* budemang.h: New file. * addr2line.c (translate_addresses): Use "demangle". * nm.c (print_symname): Likewise. * objdump.c (objdump_print_symname): Likewise. (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro here since that obfuscates. * rdcoff.c: Don't #include demangle.h. * Makefile.am (CFILES): Add budemang.c, emul_aix.c, emul_vanilla.c. Remove emul_$(EMULATION).c. Sort. (HFILES): Add budemang.h. Sort. (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c. Run "make dep-am". * Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2002-06-26 * nm.c (print_symname): When demangling, strip leading dots fromAlan Modra1-1/+23
symbol names to avoid confusing the demangler.
2002-06-21 * configure.in: Check for strcoll.Alan Modra1-6/+22
* configure: Regenerate. * config.in: Regenerate. * nm.c (main): Set locale for LC_COLLATE category. (non_numeric_forward): Use strcoll if available.
2002-06-192002-06-18 H.J. Lu (hjl@gnu.org)H.J. Lu1-23/+77
* nm.c: Include "elf/common.h". (extended_symbol_info): Add elfinfo, a pointer to elf_symbol_type. (SYM_SIZE): Use elfinfo if it is not NULL. (get_symbol_type): New function. (display_archive): Set print_width for each archive member. (display_file): Likewise. (display_rel_file): Don't set print_width here. (print_object_filename_sysv): Handle print_width. (print_archive_member_sysv): Likewise. (print_symbols): Pass (bfd_vma) 0 to print_symbol. (print_symbol): Set the elfinfo field in extended_symbol_info for ELF. (print_object_filename_sysv): Fix the output format. (print_symbol_info_sysv): Print type and section for ELF. 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr> * nm.c (print_size_symbols): Remove assignment, which makes the symbol's size equal to its value when --size-sort is used.
2002-06-152002-06-15 H.J. Lu (hjl@gnu.org)H.J. Lu1-2/+8
* nm.c (print_size): New variable. Initialize to 0. (long_options): Add 'S'/"print-size". (main): Handle 'S'. (print_symbol_info_bsd): Print size only if print_size is not 0. * doc/binutils.texi: Document -S/--print-size.
2002-06-13Display the symbol's size and use it for sorting.Nick Clifton1-168/+146
2002-06-08 * bucomm.c: Replace CONST with const.Alan Modra1-7/+7
* nm.c: Likewise. * objdump.c: Likewise.
2002-06-07When computing size of symbols for an ELF target use the internal size field.Nick Clifton1-6/+9
2002-05-21 * filemode.c: Fix formatting.Kazu Hirata1-6/+6
* ieee.c: Likewise. * is-ranlib.c: Likewise. * is-strip.c: Likewise. * maybe-ranlib.c: Likewise. * maybe-strip.c: Likewise. * nlmconv.c: Likewise. * nm.c: Likewise. * not-ranlib.c: Likewise. * not-strip.c: Likewise. * objcopy.c: Likewise. * objdump.c: Likewise.
2002-05-01 * nm.c (print_symbol): Check returned filename fromAlan Modra1-1/+2
bfd_find_nearest_line is non-NULL.
2002-01-302002-01-29 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
* nm.c (print_value): Mark abfd unused.
2002-01-23Tidy up formatting of --help output.Nick Clifton1-6/+7
2001-12-18 * addr2line.c (main): Protoype.Thiemo Seufer1-0/+2
* 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-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu1-0/+3
2001-08-252001-08-25 H.J. Lu <hjl@gnu.org>H.J. Lu1-3/+11
* 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-102001-08-10 H.J. Lu <hjl@gnu.org>H.J. Lu1-6/+7
* 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-04-11 * MAINTAINERS: Update my email addressAlan Modra1-3/+2
* nm.c (print_symbol_info_bsd): Use a simple printf string.
2001-03-13Fix typos in ChangeLogs and update copyright noticesNick Clifton1-1/+2
2001-02-09Don't #ifdef inside printf in case printf is a macro.Alan Modra1-5/+3
2000-07-27* nm.c (main): Ignore '-X32_64' as an option.Geoffrey Keating1-1/+13
* ar.c (main): Likewise. * binutils.texi (nm): Document new option. (ar): Likewise.
2000-07-20Add optional style argument to --demangle switch.Nick Clifton1-3/+17
2000-07-20Change output of `nm --help' to include a description of the purpose of theNick Clifton1-11/+30
program and a detailed description of the accepted options.
2000-04-07A mostly cosmetic tidy up of warnings and error message reporting.Alan Modra1-9/+6
2000-04-04Move translated part of bug report string back into .c files soAlan Modra1-1/+1
xgettext can find it. Regnerate .pot files.
2000-04-03Move bug report string to one place.Alan Modra1-3/+5
2000-01-28Apply patch from Thomas de Lellis to allow nm to distinguish between weakNick Clifton1-3/+3
function symbols and weak data symbols.
1999-09-061999-09-06 Donn Terry <donn@interix.com>Ian Lance Taylor1-3/+3
* nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'. (print_symbol_info_sysv): Likewise. (print_symbol_info_posix): Likewise.
1999-07-11 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1-3/+3
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-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+1558