summaryrefslogtreecommitdiff
path: root/binutils/binutils.texi
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to dump .debug_aranges sectionsNick Clifton1999-02-021-3/+3
|
* Replace {...} with [...]Nick Clifton1999-02-021-3/+3
|
* Add preliminary DWARF2 dumpping capability to readelf.Nick Clifton1999-01-271-3/+22
|
* Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>Geoffrey Noer1998-10-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dllwrap.c (strhash): New function. (main): Use it to supply image base if not supplied by user. (program_version): Up to 0.2.4. Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> * dlltool.c (add_stdcall_alias): New global. (long_options): Add --add-stdcall-alias option. (main): Handle it. (scan_drectve_symbols): Add alias if --add-stdcall-alias is specified. (scan_filtered_symbols): Likewise. (gen_def_file): Output alias for stdcall syms if appropriate. * binutils.texi (dlltool): Document --add-stdcall-alias option. * dllwrap.c (long_options): Add --add-stdcall-alias option. (main): Handle it. * defparse.y (opt_name): Allow "." in name. * dlltool.c (def_name): Set dll_name from NAME entry in def file. (def_library): Set dll_name from LIBRARY entry in def file. Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> * dllwrap.c (long_options): --implib synonym for --output-lib. (main): Pass --export-all to dlltool only if specified. (program_version): Up to 0.2.3. Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> * dllwrap.c (mybasename): New function. (main): Run dlltool to create export definition file and import library file if necessary. Change exp_file_name so that it's based on the dll name.
* * dlltool.c (usage): Add file parameter. Change all callers.Ian Lance Taylor1998-08-191-27/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (main): Don't treat '?' as a special case in getopt return. * binutils.texi (dlltool): Document new options. Add some uses of @var. Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu> * dlltool.c (gen_def_file): Plug memory leak. Don't print demangled name if it is NULL. Support for exporting all symbols to an output export def file: * dlltool.c ({export_all_symbols, no_default_excludes, no_default_excludes, excludes}): New file static variables. (struct string_list): Type to hold list of symbols to exclude. (scan_drectve_symbols): Renamed from scan_open_obj_file. (scan_filtered_symbols): New static function. (add_excludes): New static function. (match_exclude): New static function. (set_default_excludes): New static function. (filter_symbols): New static function. (scan_all_symbols): New static function. (scan_open_obj_file): New static function. (usage): Document new options. (long_options): Add new options. (main): Handle new options.
* Rewrite of readelf to use fopen/fread rather than mmap.Nick Clifton1998-06-231-1/+1
|
* Add 'readelf' to binutils.Nick Clifton1998-06-111-2/+106
|
* * binutils.texi, objdump.1: Document -p/--private-headers.Ian Lance Taylor1998-06-031-0/+7
|
* Implemented new command line options: --change-section-vma and ↵Nick Clifton1998-06-031-28/+67
| | | | | | --change-section-lma. Tidied up the code.
* Add support for interworking in DLLs.Nick Clifton1998-05-141-4/+218
| | | | Document dlltool.
* From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. LuIan Lance Taylor1998-04-011-2/+10
| | | | | | | <hjl@gnu.org>: * ar.c (usage): Mention S modifier. (main): Add S modifier. * ar.1, binutils.texi: Document S modifier.
* Wed Apr 1 13:11:23 1998 Andreas Schwab ↵Ian Lance Taylor1998-04-011-3/+3
| | | | | | <schwab@issan.informatik.uni-dortmund.de> * binutils.texi: Use @itemx for a secondary item in a table.
* * objcopy.c (compare_section_lma): Rename from _vma.Richard Henderson1998-02-181-2/+3
| | | | | | | | (copy_object): Gap fill based on LMA not VMA. * binutils.texi: Update and clarify. * objcopy.1: Likewise. PR 14917
* * addr2line.c (usage): Update bug-gnu-utils address.Ian Lance Taylor1998-02-121-4/+4
| | | | | | | | | | | | | * ar.c (usage): Likewise. * nlmconv.c (show_usage): Likewise. * nm.c (usage): Likewise. * objcopy.c (copy_usage): Likewise. (strip_usage): Likewise. * objdump.c (usage): Likewise. * size.c (usage): Likewise. * strings.c (usage): Likewise. * windres.c (usage): Likewise. * binutils.texi (Bug Reporting): Likewise.
* * objcopy.c (parse_flags): Make flag check case insensitive.Ian Lance Taylor1997-11-031-3/+6
| | | | | | | | Check for `contents' flag. Give an error for unrecognized flags. (copy_section): If the contents flag was set for a section that had no contents, zero out the new contents. * binutils.texi (objcopy): Document contents section flag. PR 10601.
* * objcopy.c, objcopy.1, binutils.texi: "localize" is a better nameRichard Henderson1997-10-101-3/+3
| | | | than "privatize". Update all references.
* * binutils.texi (strip): Remove duplicate --target. From MartyIan Lance Taylor1997-10-091-1/+1
| | | | Leisner <leisner@sdsp.mc.xerox.com>.
* * objcopy.c (keep_specific_list, privatize_specific_list,Richard Henderson1997-10-091-2/+12
| | | | | | | | | | | | | | weaken_specific_list): New variables. (keep_symbols): Removed. (add_specific_symbol): New function from the carcas of add_strip_symbol. Takes a list as an argument. (is_specified_symbol): Likewise from is_strip_symbol. (filter_symbols): Honor the new privatize and weaken lists. Optimize bfd_asymbol_name handling. (copy_object, copy_options, copy_usage): Add privatize-symbol & weaken-symbol options. * objcopy.1, binutils.texi: Update docs.
* * binutils.texi (ar cmdline): Document that q now works like r.Ian Lance Taylor1997-09-241-1/+4
| | | | From Marty Leisner <leisner@sdsp.mc.xerox.com>.
* * binutils.texi (size): The object file argument is optional.Ian Lance Taylor1997-09-241-1/+2
| | | | From Marty Leisner <leisner@sdsp.mc.xerox.com>.
* More tweaks. Add windres documentation.Ian Lance Taylor1997-06-261-0/+129
|
* Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:Ian Lance Taylor1997-03-271-2/+11
| | | | | | | | | | | | * objcopy.c: Include <utime.h> or <sys/time.h>. (strip_options): Add "preserve-dates". (copy_options): Likewise. (copy_usage): Mention -p and --preserve-dates. (strip_usage): Likewise. (make_same_dates): New static function. (strip_main): Handle -p. (copy_main): Likewise. * binutils.texi, strip.1, objcopy.1: Document new option.
* addr2line.c contributed by Ulrich LautherIan Lance Taylor1997-03-271-0/+80
| | | | | | | | | | | | | <Ulrich.Lauther@zfe.siemens.de>: * addr2line.c: New file. * Makefile.in: Rebuild dependencies. (ADDR2LINE_PROG): New variable. (MANPAGES): Add addr2line. (PROGS): Add $(ADDR2LINE_PROG). (CFILES): Add addr2line.c. ($(ADDR2LINE_PROG)): New target. * binutils.texi: Document addr2line. * addr2line.1: New file.
* Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:Ian Lance Taylor1997-03-151-3/+11
| | | | | | | | | | | | | | * objdump.c: Include "demangle.h". (do_demangle): New static variable. (usage): Mention -C/--demangle. (long_options): Add "demangle". (objdump_print_symname): New static function. (objdump_print_addr_with_sym): Use objdump_print_symname. (disassemble_bytes): Likewise. (dump_reloc_set): Likewise. (dump_symbols): Demangle symbol name. (main): Handle -C. * binutils.texi, objdump.1: Document -C/--demangle.
* * objdump.c (usage): Mention --no-show-raw-insn.Ian Lance Taylor1997-03-151-1/+5
| | | | | | (long_options): Add "no-show-raw-insn". (disassemble_bytes): Handle --no-show-raw-insn. * binutils.texi, objdump.1: Document --no-show-raw-insn.
* * objdump.c (adjust_section_vma): New static variable.Ian Lance Taylor1997-02-261-0/+10
| | | | | | | | | | (usage): Mention --adjust-section-vma. (OPTION_ADJUST_VMA): Define. (long_options): Add "addjust-vma". (display_bfd): If adjust_section_vma is not 0, add it to all the section addresses. (main): Handle OPTION_ADJUST_VMA. * binutils.texi, objdump.1: Document --adjust-vma.
* fix copyrights, add NEWS entryIan Lance Taylor1997-01-291-3/+3
|
* * objdump.c (objdump_print_value): Add skip_zeroes parameter.Ian Lance Taylor1997-01-291-4/+10
| | | | | | | | | | | | | | | | Change all callers. (objdump_print_addr_with_sym): Likewise. Call objdump_print_value to print address. (objdump_print_addr): New static function. (objdump_print_address): Just call objdump_print_addr. (disassemble_bytes): Print real address, not function offset. Skip a certain number of leading zeroes. * objdump.c (disassemble_zeroes): New static variable. (usage): Mention --disassemble-zeroes. (long_options): Add "disassemble-zeroes". (disassemble_bytes): Check disassemble_zeroes. Changes requested by LSI.
* Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>:Ian Lance Taylor1996-12-191-0/+7
| | | | | | | | | | | | * objcopy.c (OPTION_WEAKEN): Define. (copy_options): Add "weaken". (copy_usage): Mention --weaken. (weaken): New static variable. (filter_symbols): Handle weaken. (copy_object): Call filter_symbols if weaken. (copy_main): Handle OPTION_WEAKEN. * binutils.texi, objcopy.1: Document --weaken. PR 11272.
* * binutils.texi: Add section on reporting bugs.Ian Lance Taylor1996-11-011-1/+209
|
* * objdump.c (prefix_addresses): New static variable.Ian Lance Taylor1996-10-241-2/+8
| | | | | | | | | | | | | | | | | | (long_options): Add "prefix-addresses". (compare_symbols): Sort BSF_FUNCTION symbols before other symbols. (find_symbol_for_address): New static function, broken out of objdump_print_address. (objdump_print_addr_with_sym): New static function, broken out of objdump_print_address. (objdump_print_address): Call new functions. (disassemble_bytes): New static function, broken out of disassemble_data. Change disassembly format, unless prefix_addresses is set. (disassemble_data): Call disassemble_bytes. Unless prefix_addresses is set, disassemble in chunks headed by a symbol. * binutils.texi, objdump.1: Document --prefix-addresses.
* * binutils.texi (Target Selection): Document that you can nowIan Lance Taylor1996-10-031-0/+10
| | | | specify targets using configuration triplets.
* * objcopy.c (change_leading_char): New static variable.Ian Lance Taylor1996-09-131-2/+15
| | | | | | | | | | | (OPTION_CHANGE_LEADING_CHAR): Define. (copy_options): Add "change-leading-char". (copy_usage): Mention --change-leading-char. (filter_symbols): Add obfd parameter. Change all callers. Implement change_leading_char. (copy_object): Call filter_symbols if change_leading_char. (copy_main): Handle OPTION_CHANGE_LEADING_CHAR. * binutils.texi, objcopy.1: Document --change-leading-char.
* * objcopy.c (strip_main): Add -o option, and handle it.Ian Lance Taylor1996-06-301-0/+6
| | | | | (strip_usage): Mention -o. * binutils.texi, strip.1: Mention -o.
* * objdump.c (endian): New static variable.Ian Lance Taylor1996-06-241-3/+15
| | | | | | | | | (usage): Mention -EB/-EL/--endian. (long_options): Add "endian". (disassemble_data): If endianness was specified, replace abfd->xvec with a copy of itself with the given endianness. (main): Handle -EB/-EL/--endian. * binutils.texi, objdump.1: Mention -EB/-EL/--endian.
* * binutils.texi: Document change to binary format: file positionIan Lance Taylor1996-06-191-1/+1
| | | | based on load address, not section VMA.
* * nm.c (struct get_relocs_info): Define.Ian Lance Taylor1996-06-121-1/+10
| | | | | | | | | | (line_numbers): New static variable. (long_options): Add "line-numbers". (usage): Mention -l and --line-numbers. (main): Handle -l. (print_symbol): Print line numbers if requested. (get_relocs): New static function. * binutils.texi, nm.1: Document -l/--line-numbers.
* * objdump.c (dump_reloc_set): Add sec parameter. Change allIan Lance Taylor1996-06-121-3/+3
| | | | | | callers. If with_line_numbers is set, display line numbers of relocation entries. * binutils.texi, objdump.1: Document -l with -r.
* Based on patches from H J Lu <hjl@zoom.com>:Ian Lance Taylor1996-01-291-0/+9
| | | | | | | | | | | | * objcopy.c (remove_leading_char): New static variable. (OPTION_REMOVE_LEADING_CHAR): Define. (copy_usage): Mention --remove-leading-char. (filter_symbols): If remove_leading_char, and the first character of a global symbol matches the symbol leading char of the BFD, remove the first character. (copy_object): Filter the symbols if remove_leading_char is set. (copy_main): Handle --remove-leading-char. * binutils.texi, objcopy.1: Document --remove-leading-char.
* tipoIan Lance Taylor1996-01-261-2/+2
|
* * binutils.texi (nm): Improve documentation on symbol types.Ian Lance Taylor1996-01-261-8/+45
| | | | | (objdump): Reference the stabs manual from the discussion of the --stabs option.
* Add new option --show-raw-insn.David Edelsohn1996-01-231-1/+6
| | | | | | | | | | * objdump.c (show_raw_insn): New global. (usage): Update. (long_options): Update. (disassemble_data): Set disasm_info.flags if --show-raw-insn. * objdump.c (disassemble_data): Set new arch,mach,endian fields in disasm_info.
* * objcopy.c: Include budbg.h.Ian Lance Taylor1996-01-081-3/+9
| | | | | | | | | | | | | | | | | | | | | (convert_debugging): New static variable. (OPTION_DEBUGGING): Define. (copy_options): Add "debugging". (copy_usage): Mention --debugging. (is_strip_section): Skip debugging sections if convert_debugging. (setup_section, copy_section): Likewise. (filter_symbols): Skip debugging symbols if convert_debugging. (copy_object): If convert_debugging, read and write debugging information. (write_debugging_info): New static function. (copy_main): Handle --debugging. * Makefile.in (DEBUG_OBJS): New variable. ($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS). ($(STRIP_PROG)): Likewise. (OBJDUMP_OBJS): Remove variable. ($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than $(OBJDUMP_OBJS). * binutils.texi, objcopy.1: Document --debugging.
* Implement generic debugging support. Implement a stabs reader andIan Lance Taylor1996-01-021-1/+6
| | | | | | | | | | | | | a generic printer. * budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files. * objdump.c: Include "debug.h" and "budbg.h". (dump_debugging): New global variable. (usage): Mention --debugging. (long_options): Add "debugging". (display_bfd): Handle --debugging. * Makefile.in (OBJDUMP_OBJS): New variable. ($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS). * binutils.texi, objdump.1: Document --debugging.
* * nm.c ( long_options): Add "--defined-only" option.Jeff Law1995-12-301-0/+6
| | | | | | (usage): Update for new "--defined-only" option. (filter_symbols): Handle "--defined-only". Part of mentor vm work.
* binutils.texi: modified from 95q4Victoria Mixon1995-11-101-23/+23
|
* * binutils.texi: Change --with-targets to --enable-targets.Ian Lance Taylor1995-10-201-1/+1
|
* * objdump.c (start_address): New variable.Ian Lance Taylor1995-09-131-1/+13
| | | | | | | | | | | | | | | | (stop_address): New variable. (usage): Mention --start-address and --stop-address. (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define. (long_options): Add "start-address" and "stop-address". (disassemble_data): Handle start_address and stop_address. (dump_data, dump_reloc_set): Likewise. (main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS and OPTION_STOP_ADDRESS. * objcopy.c (parse_vma): Move to bucomm.c. * bucomm.c (parse_vma): New function, moved in from objcopy.c. * bucomm.h (parse_vma): Declare. * binutils.texi, objdump.1: Document new objdump options. PR 7983.
* put version number into doc from makefileKen Raeburn1995-08-101-2/+3
|
* * strings.c (print_strings): For compatibility with existingIan Lance Taylor1995-07-311-1/+1
| | | | | | strings programs, print strings which are not terminated with a null byte or a newline. * binutils.texi, strings.1: Update documentation accordingly.