aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc/binutils.texi
AgeCommit message (Collapse)AuthorFilesLines
2004-07-12dlltool.c (ext_prefix_alias): New global variable.Nick Clifton1-4/+11
(make_one_lib_file): Add aliases with prefixes for external and import definitions. (usage): Document -p option. (long_options): Add --ext-prefix-alias option. (main): Handle -p. * doc/binutils.texi: Document new switch. * NEWS: Mention new switch.
2004-07-032004-07-04 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>Christopher Faylor1-1/+2
* bfd/cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak externals properly. * src/gas/config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak externals. * binutils/doc/binutils.texi (nm): Clarify weak symbol description. * gas/config/tc-i386.c (tc_gen_reloc): Use addend for weak symbols in TE_PE. * gas/doc/as.texinfo (Weak): Document PE weak symbols. * ld/ld.texinfo (WIN32): Document PE weak symbols.
2003-12-23* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variablesMaciej W. Rozycki1-0/+20
to handle flags for tweaking. (copy_options): New options: impure, pure, readonly-text, writable-text. (copy_usage, copy_object, command_line_switch): Handle the new options. * doc/binutils.texi: Document the new options.
2003-11-26Add a comment describing the difference between readelf and objdump.Nick Clifton1-0/+5
2003-11-25 * doc/binutils.texi (dlltool): Document dlltool --temp-prefixDanny Smith1-2/+9
option. * dlltool.c (usage): Likewise.
2003-11-23 * cxxfilt.c (long_options): Add --no-params.Ian Lance Taylor1-0/+6
(main): Handle -p/--no-params. * doc/binutils.texi (c++filt): Document -p/--no-params.
2003-11-11Add new feature to objcopy/strip. The -w switch allows wildcards to be usedNick Clifton1-0/+34
in symbol names.
2003-09-03Use bfd_map_over_sections to walk section chain.Nick Clifton1-2/+3
Do not dump the contents of an empty section.
2003-08-11Add ability for readelf to parse archivesNick Clifton1-3/+2
2003-07-22* objdump.c: New command line option --debugging-tags.Nick Clifton1-1/+7
* doc/binutils.texi: Document new command line option. * prdbg.c: Code to print the debug info as tags compatible with ctags. * budbg.h: Adjust prototype. * NEWS: Mention new switch
2003-07-18* objdump.c (main) :Accept multiple -M switch.Nick Clifton1-9/+3
* doc/binutils.texi: Document that multiple -M switches are accepted and that a single -M switch can contain comma separated options. * arm-dis.c (parse_arm_disassembler_option): Do not expect option string to be NUL terminated. (parse_disassembler_options): Allow options to be space or comma separated.
2003-07-17 * objdump.c (main): Issue a warning message if multiple -MNick Clifton1-1/+9
switches are used. * doc/binutils.texi (objdump): Update documentation about -M option.
2003-06-26Add --only-keep-debug switchNick Clifton1-5/+81
2003-06-12Add new switch to objcopy: --add-gnu-debuglink=<file>Nick Clifton1-18/+28
Allows packages to be shipped in two forms, a stripped executable and debug info file.
2003-06-02* objcopy.c (redefine_list_append): Add an argument thatJason Thorpe1-0/+7
indicates the context from which this function is being called. Change all callers. (copy_options): Add a new option, --redefine-syms. (copy_usage): Document new option. (copy_main): Handle the --redefine-syms option. * doc/binutils.text (objcopy): Document new option.
2003-04-24Fix the documentation for the -fo option.Nick Clifton1-3/+4
2003-04-23Accept -fo as an alias for -oNick Clifton1-1/+2
2003-04-22Rename -I to -J. Deprecate old use of -I, but leave it enabled for now.Nick Clifton1-3/+9
2003-04-09* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -wAlexandre Oliva1-0/+2
for debugging information types not supported by objdump.
2003-04-05Add -l for compatibility with wrc, and rc. Use the short option as a key forNick Clifton1-0/+3
long options that have a synonymous short option.
2003-04-03Add -U for compatibility with wrc, rc, and cpp. Just pass the -U option downNick Clifton1-0/+5
to the preprocessor.
2003-04-01* windres.c (usage): Report -r option.Christopher Faylor1-0/+3
(main): Ignore the -r option. * doc/binutils.texi: Add -r to the list of options.
2003-03-24Add --info command line switchNick Clifton1-2/+9
2003-03-17nm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol'sNick Clifton1-3/+2
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-02-24(nm --size-sort): Update description.Nick Clifton1-4/+10
2003-02-21Apply Bob Wilson's documenation clean up patchNick Clifton1-507/+63
2002-12-31[ bfd/ChangeLog ]Chris Demetriou1-2/+8
2002-12-30 Chris Demetriou <cgd@broadcom.com> * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case. * archures.c (bfd_mach_mipsisa32r2): New define. * bfd-in2.h: Regenerate. * cpu-mips.c (I_mipsisa32r2): New enum value. (arch_info_struct): Add entry for I_mipsisa32r2. * elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2. (_bfd_mips_elf_final_write_processing): Add bfd_mach_mipsisa32r2 case. (_bfd_mips_elf_merge_private_bfd_data): Handle merging of binaries marked as using MIPS32 Release 2. [ binutils/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register) changes in MIPS -M options. [ gas/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and CPU variants. * configure: Regenerate. * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines. (macro_build): Handle "K" operand. (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where CPU_HAS_DROR and CPU_HAS_ROR are currently used. (mips_ip): New variable "lastpos", and implement "+A", "+B", and "+C" operands for MIPS32 Release 2 ins/ext instructions. Implement "K" operand for MIPS32 Release 2 rdhwr instruction. (validate_mips_insn): Implement "+" as a way to extend the allowed operands, and implement "K", "+A", "+B", and "+C" operands. (OPTION_MIPS32R2): New define. (md_longopts): Add entry for OPTION_MIPS32R2. (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2. (md_parse_option): Handle OPTION_MIPS32R2. (s_mipsset): Reimplement handling of ".set mipsN" options and add support for ".set mips32r2". (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2). (md_show_usage): Document "-mips32r2" option. * doc/as.texinfo: Document "-mips32r2" option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips32r2.d: New test. * gas/mips/hwr-names-mips32r2.d: New test. * gas/mips/hwr-names-numeric.d: New test. * gas/mips/hwr-names.s: New test source file. * gas/mips/mips32r2.d: New test. * gas/mips/mips32r2.s: New test source file. * gas/mips/mips32r2-ill.l: New test. * gas/mips/mips32r2-ill.s: New test source file. * gas/mips/mips.exp: Add mips32r2 architecture data array entry. Run new tests mentioned above. [ include/elf/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_32R2): New define. [ include/opcode/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document "+" as the start of two-character operand type names, and add new "K", "+A", "+B", and "+C" operand types. (OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB) (OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New defines. [ opcodes/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric) (mips_hwr_names_mips3264r2): New arrays. (mips_arch_choice): New "hwr_names" member. (mips_arch_choices): Adjust for structure change, and add a new entry for "mips32r2" ISA. (mips_hwr_names): New variable. (set_default_mips_dis_options): Set mips_hwr_names. (parse_mips_dis_option): New "hwr-names" option which sets mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names. (print_insn_arg): Change return type to "int" and use that to indicate number of characters consumed. Add support for "+" operand extension character, "+A", "+B", "+C", and "K" operands. (print_insn_mips): Adjust for changes to print_insn_arg. (print_mips_disassembler_options): Adjust for "hwr-names" addition and "reg-names" change. * mips-opc (I33): New define (shorthand for INSN_ISA32R2). (mips_builtin_opcodes): Note that "nop" and "ssnop" are special forms of "sll". Add new MIPS32 Release 2 instructions: ehb, di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2, rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh. Note that hardware rotate instructions (ror, rorv) can be used on MIPS32 Release 2, and add the official mnemonics for them (rotr, rotrv) and the similar "rotl" mnemonic for left-rotate.
2002-12-27[ binutils/ChangeLog ]Chris Demetriou1-0/+36
2002-12-27 Chris Demetriou <cgd@broadcom.com> * doc/binutils.texi (objdump): Document MIPS -M options. [ gas/testsuite/ChangeLog ] 2002-12-27 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips32.d: New file. * gas/mips/cp0-names-mips64.d: New file. * gas/mips/cp0-names-numeric.d: New file. * gas/mips/cp0-names-sb1.d: New file. * gas/mips/cp0-names.s: New file. * gas/mips/fpr-names-32.d: New file. * gas/mips/fpr-names-64.d: New file. * gas/mips/fpr-names-n32.d: New file. * gas/mips/fpr-names-numeric.d: New file. * gas/mips/fpr-names.s: New file. * gas/mips/gpr-names-32.d: New file. * gas/mips/gpr-names-64.d: New file. * gas/mips/gpr-names-n32.d: New file. * gas/mips/gpr-names-numeric.d: New file. * gas/mips/gpr-names.s: New file. * gas/mips/mips.exp: Run new tests. [ include/ChangeLog ] 2002-12-27 Chris Demetriou <cgd@broadcom.com> * dis-asm.h (print_mips_disassembler_options): Prototype. [ include/opcode/ChangeLog ] 2002-12-19 Chris Demetriou <cgd@broadcom.com> * mips.h (OP_OP_COP0, OP_OP_COP1, OP_OP_COP2, OP_OP_COP3) (OP_OP_LWC1, OP_OP_LWC2, OP_OP_LWC3, OP_OP_LDC1, OP_OP_LDC2) (OP_OP_LDC3, OP_OP_SWC1, OP_OP_SWC2, OP_OP_SWC3, OP_OP_SDC1) (OP_OP_SDC2, OP_OP_SDC3): Define. [ opcodes/ChangeLog ] 2002-12-27 Chris Demetriou <cgd@broadcom.com> * disassemble.c (disassembler_usage): Add invocation of print_mips_disassembler_options. * mips-dis.c (print_mips_disassembler_options) (set_default_mips_dis_options, parse_mips_dis_option) (parse_mips_dis_options, choose_abi_by_name, choose_arch_by_name) (choose_arch_by_number): New functions. (mips_abi_choice, mips_arch_choice): New structures. (mips32_reg_names, mips64_reg_names, reg_names): Remove. (mips_gpr_names_numeric, mips_gpr_names_oldabi) (mips_gpr_names_newabi, mips_fpr_names_numeric) (mips_fpr_names_32, mips_fpr_names_n32, mips_fpr_names_64) (mips_cp0_names_numeric, mips_cp0_names_mips3264) (mips_cp0_names_sb1, mips_abi_choices, mips_arch_choices) (mips_processor, mips_isa, mips_gpr_names, mips_fpr_names) (mips_cp0_names): New variables. (print_insn_args): Use new variables to print GPR, FPR, and CP0 register names. (mips_isa_type): Remove. (print_insn_mips): Remove ISA and CPU setup since it is now done... (_print_insn_mips): Here. Remove register setup code, and call set_default_mips_dis_options and parse_mips_dis_options instead. (print_mips16_insn_arg): Use mips_gpr_names instead of mips32_names.
2002-12-23Add support for 'S' encoding to strings - display 8-bit characters.Nick Clifton1-5/+5
2002-12-19 * doc/binutils.texi: Fix typos.Kazu Hirata1-2/+2
2002-12-14 * doc/binutils.texi: Add missing parenthesis.Dave Anglin1-4/+4
2002-12-13Added --prefix-symbols <prefix> option to rename all symbols by adding theNick Clifton1-0/+13
given prefix to the begining of the symbol name. This is useful to provide name space seperation regardless of how the object file was created. Added --prefix-sections <prefix> and --prefix-alloc-sections <prefix> options to rename all sections (or all sections with the alloc flag set) by adding the given prefix to the begining of the symbol name.
2002-10-22* use @itemx, not @item, for --disassemble-zeroes.Ben Elliston1-1/+1
2002-10-22 * doc/binutils.texi (objdump): Document -z and move the entry forBen Elliston1-5/+6
--disassemble-zeroes to the end of the options section (for `z').
2002-08-14Replace 'gnu-new-abi' with 'gnu-v3'Nick Clifton1-1/+1
2002-07-30 * readelf.c (OPTION_DEBUG_DUMP): Define.Jakub Jelinek1-3/+3
(options): Use it. (usage): Update help. (parse_args): Handle --debug-dump separately from -w. * doc/binutils.texi (readelf): Update documentation.
2002-07-23 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.Alan Modra1-1/+1
2002-06-152002-06-15 H.J. Lu (hjl@gnu.org)H.J. Lu1-1/+6
* 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-03-082002-03-07 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-3/+3
* doc/binutils.texi (Target Selection): Fix LD crossreferences. (Architecture Selection): Likewise.
2002-01-25Add --totals option to sizeNick Clifton1-6/+13
2002-01-15Refer to "options" not "switches"Nick Clifton1-4/+4
2001-12-20When --wide is used, do not truncate symbol names.Nick Clifton1-0/+1
2001-11-19Add -ws switch to display contents of .debug_str sectionsNick Clifton1-3/+3
2001-11-15binutils/ChangeLogAlan Modra1-0/+4
* doc/binutils.texi (objdump): Document ppc -M options. gas/ChangeLog * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) to operand->insert. (md_assemble): Likewise. gas/testsuite/ChangeLog * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. include/opcode/ChangeLog * ppc.h (struct powerpc_operand <insert, extract>): Add dialect param. opcodes/ChangeLog * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. (insert_bat, extract_bat, insert_bba, extract_bba, insert_bd, extract_bd, insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo, insert_bo, extract_bo, insert_boe, extract_boe, insert_ds, extract_ds, insert_de, extract_de, insert_des, extract_des, insert_li, extract_li, insert_mbe, extract_mbe, insert_mb6, extract_mb6, insert_nb, extract_nb, insert_nsi, extract_nsi, insert_ral, insert_ram, insert_ras, insert_rbs, extract_rbs, insert_sh6, extract_sh6, insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. (extract_bd, extract_bdm, extract_bdp, extract_ds, extract_des, extract_li, extract_nsi): Implement sign extension without conditional. (insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. (extract_bdm, extract_bdp): Correct 32 bit validation. (AT1_MASK, AT2_MASK): Define. (BBOAT_MASK): Define. (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. (BOFM64, BOFP64, BOTM64, BOTP64): Define. (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. (PPCCOM32, PPCCOM64): Define. (powerpc_opcodes): Modify existing 32 bit insns with branch hints and add new patterns to implement 64 bit branches with hints. Move booke instructions so they match before ppc64. * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 64 bit default targets, and parse "32" and "64" in options. Formatting fixes. (print_insn_powerpc): Pass dialect to operand->extract.
2001-11-14 * doc/binutils.texi (objdump): Fix description to use x86-64.Andreas Jaeger1-2/+2
2001-11-14binutils/ChangeLogAlan Modra1-0/+13
* doc/binutils.texi (objdump): Document x86 -M options. include/ChangeLog * dis-asm.h (print_insn_i386): Declare. opcodes/ChangeLog * disassemble.c (disassembler): Call print_insn_i386. * i386-dis.c (SUFFIX_ALWAYS): Define. (struct dis_private): Add orig_sizeflag. (print_insn_i386): Make it a wrapper, calling.. (print_insn): ..The old body of print_insn_i386. Avoid longjmp warning without using volatile by moving orig_sizeflag to priv, and removing inbuf. Parse disassembler_options. (print_insn_i386_att, print_insn_i386_intel): Move initialisation code to print_insn. (putop): Remove #ifdef SUFFIX_ALWAYS.
2001-09-25 * readelf.c (do_wide): New.Jakub Jelinek1-0/+9
(options): Add --wide. (usage, parse_args): Likewise. (process_program_headers): Put each segment on a single line if --wide is given. (process_section_headers): Put each section on a single line if --wide is given. * doc/binutils.texi: Document it. * NEWS: Likewise.
2001-09-14Add new command line option '--encoding' to stringsNick Clifton1-3/+15
2001-08-24* objcopy.c (use_alt_mach_code): New variable.Alexandre Oliva1-0/+8
(OPTION_ALT_MACH_CODE): Define. (copy_options): Added --alt-machine-code. (copy_main): Handle it. (copy_object): Switch to alternate machine code if requested. * doc/binutils.texi: Document new option. * NEWS: Likewise.
2001-08-052001-08-05 Philip Blundell <philb@gnu.org>Phil Blundell1-3/+3
* doc/binutils.texi: Use "Thumb" not "THUMB".