old-cross-binutils/binutils/ChangeLog

3275 lines
99 KiB
Text
Raw Normal View History

2003-02-04 Andreas Schwab <schwab@suse.de>
* rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
long and use %ld in printf format.
2003-01-28 Richard Sandiford <rsandifo@redhat.com>
* readelf.c (dump_relocations): Reorder the r_info field for
little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
2003-01-21 Daniel Berlin <dan@dberlin.org>
* readelf.c (display_debug_loc): Skip address base changes.
2003-01-17 Fabio Alemagna <falemagn@aros.org>
* readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
and ELFOSABI_NSK.
2003-01-16 Alan Modra <amodra@bigpond.net.au>
* readelf.c: Include elf/ppc64.h.
(dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2003-01-02 Ben Elliston <bje@redhat.com>
* readelf.c (guess_is_rela): Handle EM_IQ2000.
(get_machine_name): Likewise.
(dump_relocations): Likewise.
* NEWS: Mention IQ2000 support.
2003-01-02 Richard Sandiford <rsandifo@redhat.com>
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
[ bfd/ChangeLog ] 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-31 07:29:29 +00:00
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
changes in MIPS -M options.
2002-12-30 19:25:13 +00:00
2002-12-30 Dmitry Diky <diwil@mail.ru>
* Makefile.am: Add msp430 target.
* Makefile.in: Regenerate.
* readelf.c: Add support for msp430 target.
[ binutils/ChangeLog ] 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-27 08:00:31 +00:00
2002-12-27 Chris Demetriou <cgd@broadcom.com>
* doc/binutils.texi (objdump): Document MIPS -M options.
2002-12-23 Andreas Schwab <schwab@suse.de>
* readelf.c (main): Reset dump request after each file.
2002-12-23 Nick Clifton <nickc@redhat.com>
* nlmconv.c (main): Pass TRUE as third argument to
bfd_arch_get_compatible.
2002-12-23 Nick Clifton <nickc@redhat.com>
* strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
macro. Handle 'S' encoding, accepting 8-bit characters.
(main): Parse 'S' encoding.
(get_char): Accept 'S' encoding.
(print_strings): Use STRING_ISGRAPHIC.
(usage): Document support of 'S' encoding.
* doc/binutils.texi: Document support of 'S' encoding/
* NEWS: Mention new feature.
2002-12-20 Alan Modra <amodra@bigpond.net.au>
* README <building ar>: Don't use libibery's needed_list or
required_list, instead link libiberty/*.o.
2002-12-19 14:39:30 +00:00
2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
* doc/binutils.texi: Fix typos.
2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
* doc/binutils.texi: Add missing parenthesis.
2002-12-15 Nick Kelsey <nickk@ubicom.com>
* objcopy.c: Add --prefix-symbols=<prefix> option to rename all
symbols by adding the 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.
* NEWS: Mention this new feature.
* doc/binutils.texi: Document this new feature.
2002-12-13 Alan Modra <amodra@bigpond.net.au>
* dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
dyn_string_append with dyn_string_append_cstr.
* emul_aix.c (ar_emul_aix_create): Remove unused function.
2002-12-10 James Cownie <jcownie@etnus.com>
* readelf.h (get_TAG_name, get_AT_name,
2002-12-10 17:55:00 +00:00
read_and_display_attr_value): Add support for UPC extensions to
DWARF2 spec.
* NEWS: Mention this new support.
2002-12-08 Alan Modra <amodra@bigpond.net.au>
* NEWS: Mention that bfd no longer declares a "boolean" type.
2002-12-07 Alan Modra <amodra@bigpond.net.au>
* readelf.c (process_program_headers): When setting loadaddr, don't
assume segment size is 4k. Use p_align instead.
(loadaddr): Change from int to long.
(dynamic_addr, dynamic_info, version_info): Likewise.
(process_dynamic_segment <syminsz>): Likewise.
(process_dynamic_segment): Adjust print format string.
(rela_addr, rela_size): Delete.
(process_relocs): Formatting.
2002-12-05 Jim Wilson <wilson@redhat.com>
* configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
* configure: Regenerate.
2002-12-04 Ian Lance Taylor <ian@airs.com>
* MAINTAINERS: Change e-mail address back to airs.com.
2002-12-04 Aldy Hernandez <aldyh@redhat.com>
* MAINTAINERS: Add self.
2002-11-30 Alan Modra <amodra@bigpond.net.au>
* addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
with TRUE/FALSE. Formatting.
2002-11-29 Jakub Jelinek <jakub@redhat.com>
* readelf.c Replace occurrences of Elf32_Internal_* and
Elf64_Internal_* with Elf_Internal_*.
(slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
Zero r_addend fields.
(dump_relocations): Remove relas variable, change Elf_Internal_Rel to
Elf_Internal_Rela.
2002-11-23 Nick Clifton <nickc@redhat.com>
* size.c (usage): Fix typo describing switch for hex format.
2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
* testsuite/binutils-all/objcopy.exp: Disable tic4x from test
* testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
testcase
2002-11-14 Nick Clifton <nickc@redhat.com>
* readelf.c (process_program_headers): Add comment about return
value. Ensure that 0 is returned if the headers are not loaded.
(process_file): If process_section_headers failed to load the
headers disable any tests that rely upon them. Similarly for
process_program_headers.
2002-11-12 10:08:25 +00:00
2002-11-12 Nick Clifton <nickc@redhat.com>
* po/da.po: Updated Danish translation.
2002-11-12 Klee Dienes <kdienes@apple.com>
* rddbg.c (read_section_stabs_debugging_info): Also recognize
LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
2002-11-11 Christopher Faylor <cgf@redhat.com>
* MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
cgf maintainership.
2002-11-11 Christopher Faylor <cgf@redhat.com>
* MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
2002-11-07 Nick Clifton <nickc@redhat.com>
2002-11-12 10:08:25 +00:00
* configure.in (ALL_LINGUAS): Add 'da'.
2002-11-07 08:45:25 +00:00
* configure: Regenerate.
* po/da.po: New Danish translation.
* readelf.c (get_symbol_index_type): Revert part of previous
patch: Display unknown symbol types in decimal, not hex.
2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
* dlltool.c (add_excludes): Don't prefix excluded fastcall
symbols with underscore.
(xlate): Ignore add_underscore for decorated fastcall symbols.
2002-11-07 Eric Kohl <ekohl@rz-online.de>
* deflex.l: Accept '@' as first character of an ID.
* dlltool.c (gen_exp_file): Use existing '@' prefix rather than
ASM_PREFIX for fastcall symbols.
(scan_drectve_symbols): Handle fastcall symbols when generating
undecorated aliases for symbols in drectve section.
(scan_filtered_symbols): Likewise, with export-all.
(xlate): Likewise, with --kill-at.
(make_imp_label): New function to handle fastcall symbols
correctly.
(make_one_lib_file): Use make_imp_label instead of make_label
for imp symbols.
2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
* MAINTAINERS: Add self as TIC4X maintainer.
2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
* readelf.c (get_symbol_index_type): Add hex number to
PROCESSOR-specific, OS-specific, reserved and unknown symbol
types.
2002-11-04 Alan Modra <amodra@bigpond.net.au>
* readelf.c (byte_get_little_endian): Comment typo fix.
(print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
as the format string.
(dump_relocations): Correct section sym names.
(process_section_headers): Clear symtab_shndx_hdr.
(read_and_display_attr_value): Don't pass indirect string to printf
as the format string.
(display_debug_frames): Indicate when zero terminator found. Decode
DW_EH_PE_pcrel addresses.
2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
* configure.in: Define SKIP_ZEROES as 32 for tic4x target in
order to ensure proper disassembly of the valid 0-value opcode.
* configure: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/binutils.pot: Regenerate.
2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* MAINTAINERS: Add self as SH maintainer.
2002-10-23 Ben Elliston <bje@redhat.com>
* doc/binutils.texi (objdump): Document -z and move the entry for
--disassemble-zeroes to the end of the options section (for `z').
2002-10-21 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
* objdump.c (dump_data): Correct addr_offset for opb != 1.
2002-10-15 Alan Modra <amodra@bigpond.net.au>
* bucomm.c (list_supported_targets): Use bfd_target_list.
* objcopy.c (copy_file): Report ambiguous bfd_object matches, and
other object errors in preference to bfd_core errors.
2002-10-14 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
* objdump.c: #include "bfdver.h".
* version.c: Likewise.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
2002-10-09 Daniel Jacobowitz <drow@mvista.com>
* readelf.c (display_debug_info): Ignore empty .rela.debug_info
sections. Allow relocations against the absolute symbol. Don't
use the value in compunit.cu_abbrev_offset if we found a RELA
relocation.
2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
* addr2line.c (slurp_symtab): Read in dynamic symbols if no
ordinary ones are available.
2002-09-30 H.J. Lu <hjl@gnu.org>
* readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
2002-09-17 Zack Weinberg <zack@codesourcery.com>
* Makefile.am (CFILES): Add cxxfilt.c.
(cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
(cxxfilt_LDADD): Delete.
Remove all references to underscore.c.
Regen dependencies.
* configure.in: Define TARGET_PREPENDS_UNDERSCORE in
config.h from $UNDERSCORE, rather than AC_SUBSTing it.
* binutils/cxxfilt.c: Moved here from gcc/cp, minor
adjustments to fit into binutils framework.
* configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
2002-09-12 Roland McGrath <roland@redhat.com>
* readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
Handle DW_OP_GNU_push_tls_address.
2002-09-11 13:52:17 +00:00
2002-09-11 Nick Clifton <nickc@redhat.com>
* po/tr.po: Updated Turkish translation.
2002-09-10 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add Ben Elliston as a maintainer for configure and
testsuite changes. Add paragraphs about testsuite and config
patches.
2002-08-29 Nick Clifton <nickc@redhat.com>
* readelf.c (get_machine_flags): Remove redundant reference to
E_V850EA_ARCH.
2002-08-28 Alan Modra <amodra@bigpond.net.au>
* objdump.c (dump_bfd): Restore lines accidentally deleted in
last commit.
2002-08-28 10:38:51 +00:00
2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
2002-08-28 10:38:51 +00:00
(dump_bfd_header): Likewise.
2002-08-26 23:15:48 +00:00
2002-08-27 Alan Modra <amodra@bigpond.net.au>
* nm.c: Revert last change.
2002-08-26 Alan Modra <amodra@bigpond.net.au>
* nm.c (display_rel_file): Don't report "no symbols" as an error.
* objdump.c (slurp_symtab): Likewise.
(slurp_dynamic_symtab): Likewise.
(dump_symbols): Likewise. Do print "no symbols" to stdout.
2002-08-24 Geoffrey Keating <geoffk@redhat.com>
* MAINTAINERS: Change my mailing address.
2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
* MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
2002-08-22 17:35:42 +00:00
2002-08-22 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
HPPA.
2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
* readelf.c (parse_args): Change debug_dump_opt to static.
2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
* stabs.c (parse_stab_argtype): Pass length of physname to
stab_demangle_argtypes.
(stab_demangle_argtypes): Add new parameter - length of physname.
Pass length of physname on to stab_demangle_prefix.
(stab_demangle_prefix): Add new parameter - length of physname.
Use length of physname (if supplied) to compute end of function
name.
2002-08-15 Alan Modra <amodra@bigpond.net.au>
* readelf.c: Include elf/i370.h.
(dump_relocations): Handle EM_S370.
(dynamic_segment_parisc_val): Print \n.
(process_dynamic_segment <DT_BIND_NOW>): Here too.
2002-08-14 15:13:09 +00:00
2002-08-14 Nick Clifton <nickc@redhat.com>
* nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
* objdump.c (usage): Likewise.
* doc/binutils.texi: Likewise.
2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
* rcparse.y (acc_entry): Don't warn about ALT use with
non-VIRTKEY.
2002-08-13 H.J. Lu <hjl@gnu.org>
* objcopy.c (copy_object): Don't warn about the unsupported
architecture unless the input target is defaulted or the
output architecture is different from the input.
2002-08-09 15:07:57 +00:00
2002-08-09 Nick Clifton <nickc@redhat.com>
* po/sv.po: Updated Swedish translation.
2002-08-05 Alan Modra <amodra@bigpond.net.au>
* prdbg.c (pr_fix_visibility): Remove assert.
2002-07-31 Nick Clifton <nickc@redhat.com>
* addr2line.c (process_file): Rename parameter 'filename' to
'file_name' in order to avoid shadowing global symbol of the
same name.
(main): Likewise.
2002-07-30 Jakub Jelinek <jakub@redhat.com>
* readelf.c (OPTION_DEBUG_DUMP): Define.
(options): Use it.
(usage): Update help.
(parse_args): Handle --debug-dump separately from -w.
* doc/binutils.texi (readelf): Update documentation.
2002-07-25 10:31:28 +00:00
2002-07-25 Nick Clifton <nickc@redhat.com>
* po/es.po: Updated Spanish translation.
* po/fr.po: Updated French translation.
2002-07-24 09:37:02 +00:00
2002-07-24 Nick Clifton <nickc@redhat.com>
2002-07-24 09:37:02 +00:00
* po/es.po: Updated Spanish translation.
2002-07-23 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2002-07-23 09:58:05 +00:00
2002-07-23 Nick Clifton <nickc@redhat.com>
2002-07-24 09:37:02 +00:00
* po/fr.po: Updated French translation.
2002-07-23 09:58:05 +00:00
2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
* doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
2002-07-20 14:00:47 +00:00
2002-07-20 Alan Modra <amodra@bigpond.net.au>
* budemang.c: Include config.h and string.h/strings.h.
2002-07-20 14:00:47 +00:00
2002-07-18 11:11:13 +00:00
2002-07-18 Denis Chertykov <denisc@overta.ru>
Frank Ch. Eigler <fche@redhat.com>
* readelf.c: Include "elf/ip2k.h".
(guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
* NEWS: Mention IP2K support.
2002-07-16 07:58:34 +00:00
2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
* NEWS: Add 'Changes in 2.13'.
2002-07-10 Jakub Jelinek <jakub@redhat.com>
* readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
(get_section_type_name): Handle SHT_GNU_LIBLIST.
(process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
(process_gnu_liblist): New.
(process_file): Call it.
2002-07-03 Alan Modra <amodra@bigpond.net.au>
* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
* Makefile.in: Regenerate.
2002-07-02 Alan Modra <amodra@bigpond.net.au>
* budemang.c: New file, "demangle" function.
* 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.
2002-07-01 Matt Thomas <matt@3am-software.com>
* readelf.c: Include "elf/vax.h".
(guess_is_rela): Move EM_VAX from unknown to RELA case.
(dump_relocations): Handle VAX relocations.
(get_machine_flags): Handle VAX machine flags.
2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
* readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
2002-06-26 15:26:52 +00:00
2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
* MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
2002-06-26 Alan Modra <amodra@bigpond.net.au>
* nm.c (print_symname): When demangling, strip leading dots from
symbol names to avoid confusing the demangler.
2002-06-25 H.J. Lu <hjl@gnu.org>
* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.
2002-06-21 Igor Schein <igor@txc.com>
* configure.in: Quote bu_cv_have_fopen64.
* configure: Regenerate.
2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
* configure.in: Check for strcoll.
* configure: Regenerate.
* config.in: Regenerate.
* nm.c (main): Set locale for LC_COLLATE category.
(non_numeric_forward): Use strcoll if available.
2002-06-20 Dave Brolley <brolley@redhat.com>
* MAINTAINERS: Add self as fr30 and frv maintainer.
2002-06-18 H.J. Lu (hjl@gnu.org)
* 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-18 Dave Brolley <brolley@redhat.com>
From Catherine Moore:
* readelf.c (elf/frv.h): #include it.
(guess_is_rela): Support EM_CYGNUS_FRV.
(dump_relocations): Ditto.
(get_machine_name): Ditto.
* Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
2002-06-18 Jakub Jelinek <jakub@redhat.com>
* readelf.c (get_file_header): Only read the first section header if
e_shoff is non-zero.
2002-06-15 H.J. Lu (hjl@gnu.org)
* 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-6-13 Elias Athanasopoulos <eathan@otenet.gr>
* nm.c (struct extended_symbol_info): New strcuture: Add the size
of the symbols to the information provided by the symbol_info
structure.
(print_symbols): Pass the symbol size to print_symbol.
(print_size_symbols): Pass the symbol size to print_symbol.
(print_symbol): Extra argument: The size of the symbol. Store
this in the extended_symbol_info structure.
(print_symbol_info): Change type of info parameter to
extended_symbol_info. Display the size, if known.
(print_symbol_info_posix): Likewise.
(print_symbol_info_sysv): Likewise.
2002-06-08 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regnerate.
* bucomm.c: Replace CONST with const.
* nm.c: Likewise.
* objdump.c: Likewise.
2002-06-07 H.J. Lu <hjl@gnu.org>
* readelf.c (DW_CFA_GNU_args_size): Don't define.
(DW_CFA_GNU_negative_offset_extended): Likewise.
(DW_CFA_GNU_window_save): Likewise.
(display_debug_frames): Handle DW_CFA_offset_extended_sf,
DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
* nm.c: When computing size of symbols for an ELF target use the
internal size field.
2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
* testsuite/binutils-all/objcopy.exp: clear xfail for
"hppa*64*-*-hpux*".
* testsuite/binutils-all/hppa/objdump.exp: Return if
"*64*-*-*".
2002-06-05 Alan Modra <amodra@bigpond.net.au>
* objcopy.c (copy_section): Don't copy SEC_GROUP sections.
2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
2002-06-03 13:02:04 +00:00
* objdump.c: Fix formatting.
2002-05-29 Ben Elliston <bje@redhat.com>
* MAINTAINERS: Add self as M68k maintainer.
2002-05-28 14:08:47 +00:00
2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
* readelf.c: Modified/Added DLX elf support.
2002-05-27 15:16:25 +00:00
2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
2002-05-27 15:46:10 +00:00
* arsup.c: Fix formatting.
* debug.c (debug_record_label): Add missing colon to error
message.
* ieee.c (parse_ieee_ty): Fix spelling typo.
* readelf.c (process_program_headers): Remove English assumption
about making a plural word.
(process_section_headers): Likewise.
(process_relocs): Allow quotes to be translated.
(process_unwind): Likewise,
(process_mips_specific): Improve error message.
(get_note_type): Fix spelling typo.
2002-05-27 15:16:25 +00:00
* configure.in (ALL_LINGUAS): Add sv
* po/sv.po: New file.
2002-05-27 Alan Modra <amodra@bigpond.net.au>
* unwind-ia64.c (unw_print_brmask): Don't use sprintf.
(unw_print_grmask): Likewise.
(unw_print_frmask): Likewise.
2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
* arsup.c: Remove ARGSUSED.
* debug.c: Likewise.
* ieee.c: Likewise.
* nlmconv.c: Likewise.
* prdbg.c: Likewise.
* stabs.c: Likewise.
* wrstabs.c: Likewise.
2002-05-25 Alan Modra <amodra@bigpond.net.au>
* arlex.l: Use #include "" instead of <> for local header files.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* nlmconv.c: Likewise.
* nlmheader.y: Likewise.
* srconv.c: Likewise.
* strings.c: Likewise.
* sysdump.c: Likewise.
* unwind-ia64.h: Likewise.
* windres.h: Likewise.
* winduni.h: Likewise.
2002-05-24 19:29:07 +00:00
2002-05-24 Tom Rix <trix@redhat.com>
* MAINTAINERS: Add self as the d10v maintainer.
2002-05-24 09:26:58 +00:00
2002-05-24 TAMURA Kent <kent@netbsd.org>
* configure.in: Builds dlltool for i386-netbsdpe.
* configure: Regenerate.
2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
* size.c: Fix formatting.
* srconv.c: Likewise.
* stabs.c: Likewise.
* sysdump.c: Likewise.
* unwind-ia64.c: Likewise.
* wrstabs.c: Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL for symbols from SHF_TLS section. (_bfd_elf_print_private_bfd_data): Add PT_TLS. (elf_fake_sections): Set SHF_TLS for SEC_THREAD_LOCAL sections. (map_sections_to_segments): Build PT_TLS segment if necessary. (assign_file_positions_for_segments): Likewise. (get_program_header_size): Account for PT_TLS segment. (swap_out_syms): Set type of BSF_THREAD_LOCAL symbols and symbols from SEC_THREAD_LOCAL sections to STT_TLS. * reloc.c: Add 386 and IA-64 TLS relocs. * section.c (SEC_THREAD_LOCAL): Define. (SEC_CONSTRUCTOR_TEXT, SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS): Remove. * elflink.h (elf_link_add_object_symbols): Support .tcommon. (size_dynamic_sections): If DF_STATIC_TLS, set DF_FLAGS unconditionally. (struct elf_final_link_info): Add first_tls_sec. (elf_bfd_final_link): Set first_tls_sec. Compute elf_hash_table (info)->tls_segment. (elf_link_output_extsym): Handle STT_TLS symbols. (elf_link_input_bfd): Likewise. * syms.c (BSF_THREAD_LOCAL): Define. * bfd-in2.h: Rebuilt. * libbfd.h: Rebuilt. * elf32-i386.c (elf_i386_tls_transition, dtpoff_base, tpoff, elf_i386_mkobject, elf_i386_object_p): New functions. (elf_howto_table): Add TLS relocs. (elf_i386_reloc_type_lookup): Support TLS relocs. (elf_i386_info_to_howto_rel): Likewise. (struct elf_i386_link_hash_entry): Add tls_type. (struct elf_i386_obj_tdata): New. (elf_i386_hash_entry, elf_i386_tdata, elf_i386_local_got_tls_type): New macros. (struct elf_i386_link_hash_table): Add tls_ldm_got. (link_hash_newfunc): Clear tls_type. (elf_i386_check_relocs): Support TLS relocs. (elf_i386_gc_sweep_hook): Likewise. (allocate_dynrelocs): Likewise. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Likewise. (elf_i386_finish_dynamic_symbol): Likewise. (bfd_elf32_mkobject, elf_backend_object_p): Define. * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add tprel_offset, dtpmod_offset, dtprel_offset, tprel_done, dtpmod_done, dtprel_done, want_tprel, want_dtpmod, want_dtprel. (elfNN_ia64_tprel_base, elfNN_ia64_dtprel_base): New functions. (ia64_howto_table): Add TLS relocs, rename R_IA64_LTOFF_TP22 to R_IA64_LTOFF_TPREL22. (elf_code_to_howto_index): Add TLS relocs. (elfNN_ia64_check_relocs): Support TLS relocs. (allocate_global_data_got): Account for TLS .got data. (allocate_dynrel_entries): Account for TLS dynamic relocations. (elfNN_ia64_install_value): Supprt TLS relocs. (set_got_entry): Support TLS relocs. (elfNN_ia64_relocate_section): Likewise. * config/obj-elf.c (elf_common): Renamed from obj_elf_common. (obj_elf_common): Call elf_common. (obj_elf_tls_common): New function. (elf_pseudo_tab): Support .tls_common. (special_sections): Add .tdata and .tbss. (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS sections. (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS). (obj_elf_parse_section_letters): Include T in error message. * config/tc-ppc.c (ppc_section_letter): Likewise. * config/tc-alpha.c (alpha_elf_section_letter): Likewise. (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as SEC_MERGE. * config/tc-sparc.c (md_apply_fix3): Likewise. * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs. Define them if not BFD_ASSEMBLER. (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF and @NTPOFF. (md_apply_fix3): Add TLS relocs. * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE, FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE, FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE. (pseudo_func): Support @dtpmod(), @dtprel() and @tprel(). (ia64_elf_section_letter): Include T in error message. (md_begin): Support TLS operators. (md_operand): Likewise. (ia64_gen_real_reloc_type): Support TLS relocs. * testsuite/gas/i386/tlspic.s: New file. * testsuite/gas/i386/tlsd.s: New file. * testsuite/gas/i386/tlsnopic.s: New file. * testsuite/gas/i386/tlsd.d: New file. * testsuite/gas/i386/tlsnopic.d: New file. * testsuite/gas/i386/tlspic.d: New file. * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests. * testsuite/gas/ia64/tls.s: New file. * testsuite/gas/ia64/tls.d: New file. * testsuite/gas/ia64/ia64.exp: Add tls test. * write.c (adjust_reloc_syms): Don't change symbols in SEC_THREAD_LOCAL sections to STT_SECTION + addend. * elf/common.h (PT_TLS, SHF_TLS, STT_TLS, DF_STATIC_TLS): Define. * elf/ia64.h (R_IA64_LTOFF_TPREL22): Renamed from R_IA64_LTOFF_TP22. * elf/i386.h: Add TLS relocs. * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss. * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for output section if necessary. Handle .tbss. (lang_size_sections): Clear _raw_size for .tbss section (it allocates space in PT_TLS segment only). * ldwrite.c (build_link_order): Build link order for .tbss too. * readelf.c (get_segment_type): Add PT_TLS. (get_elf_section_flags): Add SHF_TLS. (get_dynamic_flags): Optimize. Add DF_STATIC_TLS. (process_dynamic_segment): Use puts instead of printf. (get_symbol_type): Support STT_TLS. * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT, SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS. Add SEC_THREAD_LOCAL.
2002-05-23 13:12:53 +00:00
2002-05-23 Jakub Jelinek <jakub@redhat.com>
* readelf.c (get_segment_type): Add PT_TLS.
(get_elf_section_flags): Add SHF_TLS.
(get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
(process_dynamic_segment): Use puts instead of printf.
(get_symbol_type): Support STT_TLS.
* objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
Add SEC_THREAD_LOCAL.
2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
* rdcoff.c: Fix formatting.
* rddbg.c: Likewise.
* readelf.c: Likewise.
* rename.c: Likewise.
* resbin.c: Likewise.
* resrc.c: Likewise.
* resres.c: Likewise.
2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
* filemode.c: Fix formatting.
* 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-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* objdump.c (dump_headers): Fix output formatting for ELF32
architectures in a BFD64 enabled toolchain.
2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
* debug.c: Fix formatting.
* debug.h: Likewise.
* dlltool.c: Likewise.
* dllwrap.c: Likewise.
* emul_aix.c: Likewise.
* emul_vanilla.c: Likewise.
2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
* addr2line.c: Fix formatting.
* ar.c: Likewise.
* arsup.c: Likewise.
* arsup.h: Likewise.
* binemul.c: Likewise.
* binemul.h: Likewise.
* bucomm.c: Likewise.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* coffgrok.h: Likewise.
2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
* MAINTAINERS: Add myself as the second AVR port maintainer.
2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
* MAINTAINERS: Update my email address.
2002-05-09 12:43:46 +00:00
2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
* MAINTAINERS: Add Jason Thorpe as VAX maintainer.
2002-05-09 Alan Modra <amodra@bigpond.net.au>
* configure.in: Replace `*pe' with `pe' throughout.
* configure: Regenerate.
2002-05-07 17:22:20 +00:00
2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
* Makefile.am: Honour DESTDIR.
* Makefile.in: Regenerate.
2002-05-06 Alan Modra <amodra@bigpond.net.au>
* dlltool.c (process_def_file): Add missing prototype.
(new_directive, assemble_file, main): Likewise.
(process_def_file, new_directive): Make static.
(inform): Rewrite using VA_FIXEDARG.
* dllwrap.c (mybasename): Add missing prototype.
(strhash, main): Likewise.
(inform): Rewrite using VA_FIXEDARG.
(warn): Likewise.
(cleanup_and_exit): Use old style function definition.
(strhash): Likewise.
* windres.c (define_resource): Use one memset to clear all of
struct res_resource.
* rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
call to rules that need no lookahead. Check for no lookahead.
2002-05-06 Borut Razem <borut.razem@siol.net>
* rclex.l (get_string): Correct "strings" list handling.
* resrc.c (read_rc_file): Discard strings.
2002-05-04 Alan Modra <amodra@bigpond.net.au>
* ar.c (replace_members): Remove unused var. Formatting fix.
* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
* MAINTAINERS: Sort port maintainers by CPU.
2002-05-04 Bob Byrnes <byrnes@curl.com>
* size.c (display_archive): Add last_arfile and code to close archives.
2002-05-01 Alan Modra <amodra@bigpond.net.au>
* nm.c (print_symbol): Check returned filename from
bfd_find_nearest_line is non-NULL.
2002-04-25 Elena Zannoni <ezannoni@redhat.com>
* readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
2002-04-24 Christian Groessler <chris@groessler.org>
* MAINTAINERS: Changed my email address.
2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* arparse.y: Fix syntax warning.
2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (fetch_location_list): Remove unused function.
* readelf.c (process_corefile_note_segment): Catch corrupt notes
and display a warning message, then exit the loop.
* rcparse.y: Set MEMFLAG_DISCARDABLE by default.
2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
* resrc.c (write_rc_dialog): If charset is non-default value
display all of the DIALOGEX parameters.
2002-04-15 Eric Kohl <ekohl@rz-online.de>
* rcparse.y: Allow two to five parameter in FONT statement of
DIALOGEX resources.
* resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
resource data.
(res_to_bin_dialog): Likewise.
* windres.h: Added misssing charset variable to dialog_ex
structure.
2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
* rcparse.y: Set MEMFLAG_PURE by default.
2002-04-09 Bernd Herd <info@herdsoft.com>
* rcparse.y: CLASS definitions in DIALOG resources
are quoted.
Fix typo in BEDIT warning.
Don't add default dialog style when explicit style specified.
Add WS_CAPTION dialog style if CAPTION is specified.
* rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
(handle_quotes) "\a" escape (used for right justified key
definitions in menus) is encodes as binary 8.
* resrc.c (write_rc_dialog): Print style even if it is 0.
(write_rc_directory): Fix overlooked sublang shift bug.
(bin_to_res_dialog): Don't print empty dialog caption.
* resbin.c (bin_to_res_dialog): Use signature to identify
DIALOGEX.
2002-04-09 16:55:48 +00:00
* windres.c (main): Set default LANGUAGE to english/us.
2002-04-09 16:55:48 +00:00
2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
* resrc.c: print CLASS names in quotes
2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
* MAINTAINERS: Update my email address.
2002-04-04 Alan Modra <amodra@bigpond.net.au>
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.
2002-03-27 Peter Targett <peter.targett@arc.com>
* MAINTAINERS: Update my email address.
2002-03-21 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2002-03-20 Daniel Berlin <dan@dberlin.org>
* readelf.c: Add support for displaying dwarf2 location lists.
(do_debug_loc, debug_loc_section, debug_loc_size): New.
(parse_args): Use 'O' as shorthand for displaying location list
section.
(process_section_headers): Handle debug_loc as well.
(load_debug_loc): New.
(free_debug_loc): New.
(fetch_location_list): New.
(display_debug_loc): New.
(display_debug_info): Call load_debug_loc and free_debug_loc.
(debug_displays): We can display .debug_loc now, too.
(usage): Update usage string.
(read_and_display_attr_value): Note location lists, but don't
display them inline.
2002-03-18 Tom Rix <trix@redhat.com>
* Makefile.am: Add binutils emulation support.
* configure.in: Same.
* configure.tgt: New file. Same.
* ar.c (main): Use ar_emul_parse_arg.
(usage): Use ar_emul_usage.
(replace_members): Use ar_emul_replace, ar_emul_append.
* binemul.c: New file. Define the binutils emulation
layer. Define default methods.
* binemul.h: New file. Binutils emulation layer header file.
* emul_aix.c: New file. AIX binutils emulation.
* emul_vanilla.c: New file. Default binutils emulation.
* Makefile.in: Regenerate.
* configure: Same.
2002-03-18 09:44:22 +00:00
2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
* po/fr.po: Updated version.
2002-03-13 10:35:17 +00:00
2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
* po/fr.po: Updated version.
2002-03-07 Daniel Jacobowitz <drow@mvista.com>
* README: Update some version numbers.
2002-03-07 Daniel Jacobowitz <drow@mvista.com>
* doc/binutils.texi (Target Selection): Fix LD crossreferences.
(Architecture Selection): Likewise.
2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
* dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
generating .exp file.
2002-02-21 22:39:19 +00:00
2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (dump_relocations): Fix typo.
2002-02-20 10:46:54 +00:00
2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
* NEWS: Mark 2.12 branch.
2002-02-18 Timothy Daly <remote_bob@yahoo.com>
* readelf.c (dump_relocations): Display 2nd and 3rd reloc
types for 64-bit MIPS. Narrow some fields for 80-char
output.
(dump_relocations): Change spelling from 'unrecognised'
to 'unrecognized'.
(decode_ARM_machine_flags): Likewise.
(parse_args): Likewise.
(read_and_display_attr_value): Likewise.
(display_debug_section): Likewise.
2002-02-15 04:04:03 +00:00
2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
* NEWS: Mention support for MMIX.
2002-02-13 Matt Fredette <fredette@netbsd.org>
* readelf.c (get_machine_flags): Recognize EF_M68000.
2002-02-12 Alexandre Oliva <aoliva@redhat.com>
* MAINTAINERS: Added self as MN10300 co-maintainer.
2002-02-12 Alan Modra <amodra@bigpond.net.au>
* readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
DT_PPC64_OPDSZ.
2002-02-11 Daniel Jacobowitz <drow@mvista.com>
* MAINTAINERS: List myself as branch maintainer.
2002-02-11 Alan Modra <amodra@bigpond.net.au>
* configure: Regenerate.
* objcopy.c: Update copyright date.
* doc/Makefile.in: Regenerate.
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* nlmconv.c: Back out localtime PARAMS change.
2002-02-11 Alan Modra <amodra@bigpond.net.au>
* objcopy.c (MKDIR): Define.
(copy_archive): Make name_list.name const. Use MKDIR.
Handle duplicate files in archives by making more temp dirs.
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* coffdump.c: Include "getopt.h" after "bucomm.h"
so that macros are defined correctly.
* nlmconv.c: Add PARAMS ((const time_t *)) to localtime
prototype. Prototype main.
* nlmheader.y: Add PARAMS ((int)) to strerror prototype.
2002-02-06 Alexandre Oliva <aoliva@redhat.com>
* MAINTAINERS: Added self as SH co-maintainer.
2002-02-05 10:25:59 +00:00
2002-02-05 Nick Clifton <nickc@redhat.com>
* po/tr.po: Updated translation.
2002-02-01 03:26:35 +00:00
2002-02-01 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* nm.c (print_value): Mark abfd unused.
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* unwind-ia64.c (unw_decoder): Change second argument
to unsigned int, to match function prototypes.
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* objdump.c: Include "getopt.h" after "bucomm.h" so that
__GNU_LIBRARY__ will be defined.
* size.c: Likewise.
2002-01-27 Daniel Jacobowitz <drow@mvista.com>
* configure: Regenerated.
2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
* doc/Makefile.am (install): Depend on install-info.
* doc/Makefile.in: Regenerate.
2002-01-25 15:37:04 +00:00
2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
* objcopy.c (strip_usage): Document -d as an alias
--strip-debug.
* size.c (usage): Document [-t | --totals] options.
(long_options): Add --totals option.
(main): If the [-t | --totals] option is specified and
the output format is Berkeley-style, print the total
text, data, and bss sizes of all objects listed.
(print_berkeley_format): If the [-t | --totals] option
is specified, track the total text, data, and bss
sizes.
* doc/binutils.texi (size): Document [-t | --totals] options.
(strip): Document -d as an alias for --strip-debug.
* NEWS: Mention new feature of size.
2002-01-25 14:25:04 +00:00
2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
2002-01-25 14:15:46 +00:00
2002-01-25 14:25:03 +00:00
* po/fr.po: Updated version.
* po/es.po: Updated version.
2002-01-25 14:15:46 +00:00
2002-01-23 16:12:56 +00:00
2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
* addr2line.c (usage): Update text to provide verbose
description of the command line options.
* ar.c (usage): Update text to provide verbose
description of the command line options.
(main): Accept -h and -H when running as ranlib.
* coffdump.c (show_usage): Update text to provide verbose
description of the command line options.
* dlltool.c (main): Accept -H as an alias for --help.
* nlmconv.c (show_usage): Update text to provide verbose
description of the command line options.
* nm.c (usage): Replace OPTIONS with option(s).
(main): Accept -H as an alias for --help.
* objcopy.c (strip_main): Accept -H as an alias for --help.
* objdump.c (main): Accept -v as an alias for --verbose.
* readelf.c (usage): Adjust format to match style used in
2002-01-23 16:12:56 +00:00
other binutils.
* size.c (usage): Update text to provide verbose description
of the command line options.
(main): Accept -v, -h and -H as command line options.
* srconv.c (show_usage): Update text to provide verbose
description of the command line options.
* strings.c (main): Accept -H and -v as command line options.
(usage): Update text to provide verbose description of the
command line options.
* sysdump.c (show_usage): Update text to provide verbose
description of the command line options.
* windres.c (usage): Adjust format to match style used in
other binutils.
* coffdump.c: Fix formatting.
* nlmconv.c: Fix formatting.
* srconv.c: Fix formatting.
* sysdump.c: Fix formatting.
2002-01-22 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2002-01-18 Andreas Jaeger <aj@suse.de>
* version.c (print_version): Update year.
2002-01-17 Alan Modra <amodra@bigpond.net.au>
* readelf.c (get_machine_name): Handle EM_PPC64.
(guess_is_rela): Here too.
2002-01-17 14:12:08 +00:00
2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
* po/binutils.pot: Regenerate.
* po/fr.po: Regenerate.
* po/tr.po: Regenerate.
2002-01-16 10:17:48 +00:00
2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
* po/tr.po: Import new version.
2002-01-16 Alan Modra <amodra@bigpond.net.au>
* readelf.c (get_ppc64_dynamic_type): New.
(get_dynamic_type): Call it.
2002-01-15 17:18:53 +00:00
2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
* objcopy.c (copy_usage): Use "options" instead of "switches".
(strip_usage): Use "options" instead of "switches".
* doc/binutils.texi (dlltool): Refer to "options" instead of
"switches".
2002-01-15 17:18:53 +00:00
2002-01-14 Richard Earnshaw <rearnsha@arm.com>
* MAINTAINERS: Add self as co-maintainer for the ARM code.
2002-01-14 13:10:20 +00:00
2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
* po/es.po: Import from translation project.
* configure.in (ALL_LINGUAS): Add es.
* configure: Regenerate.
2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
* readelf.c (get_netbsd_elfcore_note_type): Use
NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
* readelf.c: Update copyright years.
(get_note_type): Return a const char *.
(get_netbsd_elfcore_note_type): New function.
(process_note): Use get_netbsd_elfcore_note_type to get
the note type string for NetBSD ELF core files.
2002-01-06 Steve Ellcey <sje@cup.hp.com>
* readelf.c (get_ia64_segment_type): Add support for macros.
(get_segment_type): Add support for IA64 specific macros.
2001-12-20 Julian v. Bock <julian@wongr.net>
* readelf.c (print_symbol): New function: Print a formatted symbol
name. If --wide is specified do not truncate it.
(dump_relocations): Use print_symbol() to print symbol names.
(process_symbol_table): Likewise.
(process_syminfo): Likewise.
(process_mips_specific): Likewise.
(usage): Document new feature of --wide switch.
* doc/binutils.texi (objdump): Document additional behaviour of
--wide.
2001-12-18 Michael Snyder <msnyder@redhat.com>
* objcopy.c (copy_file): Accept corefiles (format bfd_core).
(copy_object): Don't set the start address or flags of a core file.
(copy_section): Don't relocate a core file. Don't copy contents
if the input section has the contents flag set, but the output
section does not (which happens with the fake 'note' pseudo-
sections that BFD creates for corefiles).
2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* readelf.c (get_machine_flags): Recognize header flags for ABI and
ASE extensions. More robust code for ISA checking. Ignore empty fields
in header flags for GNU extensions.
2001-12-18 Alan Modra <amodra@bigpond.net.au>
* objcopy.c (copy_archive): Set output bfd format outside the loop.
2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
* po/ja.po: Import from translation project.
* configure.in (ALL_LINGUAS): Add ja.
* configure: Regenerate.
2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* 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.
Support for more than 64k ELF sections. include/elf/ChangeLog * external.h (Elf_External_Sym_Shndx): Declare. * internal.h (struct elf_internal_sym <st_shndx>): Make it an unsigned int. * common.h (SHN_BAD): Define. bfd/ChangeLog * configure.in: Bump bfd version. * configure: Regenerate. * elf-bfd.h (elf_size_info <swap_symbol_out>): Add shndx param. (bfd_elf32_swap_symbol_in): Likewise. (bfd_elf32_swap_symbol_out): Likewise. (bfd_elf64_swap_symbol_in): Likewise. (bfd_elf64_swap_symbol_out): Likewise. (elf_reloc_cookie): Add locsym_shndx field. Make locsyms a PTR. (elf_obj_tdata): Add num_elf_sections, symtab_shndx_hdr and symtab_shndx_section. (elf_numsections): Define. (elf_symtab_shndx): Define. * elf.c (setup_group): Use elf_numsections rather than header e_shnum. (bfd_elf_find_section): Likewise. (bfd_section_from_elf_index): Likewise. (bfd_section_from_shdr): Likewise. Handle SHT_SYMTAB_SHNDX. (bfd_section_from_r_symndx): Read symbol shndx extension, and translate st_shndx for > SHN_HIRESERVE. (assign_section_numbers): Skip reserved sections. Assign symtab_shndx_section and elf_numsections. Exclude reserved sections from e_shnum. Set up symtab_shndx_hdr. (_bfd_elf_compute_section_file_positions): Handle symtab_shndx_hdr. (map_sections_to_segments): Don't map eh_frame_hdr unless required. (assign_file_positions_except_relocs): Use elf_numsections rather than header e_shnum. Skip reserved sections and symtab_shndx_section. (prep_headers): Set name for symtab_shndx_hdr. (_bfd_elf_assign_file_positions_for_relocs): Use elf_numsections. (_bfd_elf_write_object_contents): Likewise. Skip reserved sections. (_bfd_elf_section_from_bfd_section): Check bfd_{abs,com,und}_section first. Use elf_section_data if available. Use elf_numsections. Start scan at index 1. (copy_private_bfd_data ): Comment fixes. (MAP_ONESYMTAB): Define above SHN_HIOS. (MAP_DYNSYMTAB): Likewise. (MAP_STRTAB): Likewise. (MAP_SHSTRTAB): Likewise. (MAP_SYM_SHNDX): New define. (_bfd_elf_copy_private_symbol_data): Handle symtab_shndx_section. (swap_out_syms): Swap out SHT_SYMTAB_SHNDX section too. * elfcode.h (elf_swap_symbol_in): Add shndx param, and handle shndx extension. (elf_swap_symbol_out): Likewise. (elf_object_p): Set elf_numsections, and use instead of e_shnum. Initialialise reserved elf_elfsections to point at shdr[0]. Remove redundant bfd_release calls. (elf_slurp_symbol_table): Read symbol shndx extension, and use with elf_swap_symbol_in. Translate st_shndx for > SHN_HIRESERVE too. * elflink.h (elf_link_is_defined_archive_symbol): Read symbol shndx extension, and use with elf_swap_symbol_in. (elf_link_record_local_dynamic_symbol): Likewise. (elf_link_add_object_symbols): Likewise. Also translate st_shndx for elf sections > SHN_HIRESERVE. (NAME(bfd_elf,size_dynamic_sections)): Adjust elf_swap_symbol_out call. (struct elf_final_link_info): Add locsym_shndx and symshndxbuf. (elf_bfd_final_link): Allocate the above, and tidy code allocating other buffers. Use elf_numsections instead of e_shnum. Adjust elf_swap_symbol_out calls. (elf_link_output_sym): Swap out symbol shndx extension too. (elf_link_flush_output_syms): And flush them to disk. (elf_link_output_extsym): Use SHN_BAD. Adjust elf_swap_symbol_out calls. (elf_gc_mark): Read symbol shndx extension, and use with elf_swap_symbol_in. (elf_link_input_bfd): Likewise, Translate st_shndx for elf sections > SHN_HIRESERVE too. Use SHN_BAD. (elf_reloc_symbol_deleted_p): Use symbol shndx extensions with elf_swap_symbol_in. Translate st_shndx > SHN_HIRESERVE too. (elf_bfd_discard_info): Read symbol shndx extension. Don't attempt to continue after a bfd error. * elf-m10200.c (mn10200_elf_relax_section): Only read local syms. Stash them immediately to symtab_hdr->contents rather than later in multiple places. Clean up afterwards. Read symbol shndx extension, and use with swap_symbol_in. Translate SHN_UNDEF, SHN_ABS, SHN_COMMON and elf sections > SHN_HIRESERVE to bfd sections too. Remove dead code. (mn10200_elf_relax_delete_bytes): Use symbol shndx extension when swapping in symbols. Tidy code adjusting global syms. Don't swap in global syms. (mn10200_elf_symbol_address_p): Likewise. Remove extsyms param. (mn10200_elf_get_relocated_section_contents): Read symbol shndx extension, and use with swap_symbol_in. Rename "size" -> "amt" to maximize code in common with other files. Translate st_shndx for > SHN_HIRESERVE too. Remove dead code. * elf-m10300.c (mn10300_elf_relax_section): Only read local syms. Stash them immediately to symtab_hdr->contents rather than later in multiple places. Clean up afterwards. Read symbol shndx extension, and use with swap_symbol_in. Remove dead code. (mn10300_elf_relax_delete_bytes): As for elf-m10200.c. (mn10300_elf_symbol_address_p): Likewise. (mn10300_elf_get_relocated_section_contents): Likewise. * elf32-h8300.c (elf32_h8_relax_section): As for elf-m10300.c. (elf32_h8_relax_delete_bytes): Likewise. (elf32_h8_symbol_address_p): Likewise. (elf32_h8_get_relocated_section_contents): Likewise. * elf32-hppa.c (elf32_hppa_size_stubs): Read symbol shndx extension, and use with swap_symbol_in. * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. * elf32-i370.c (i370_elf_finish_dynamic_sections): Adjust call to bfd_elf32_swap_symbol_out. * elf32-m32r.c (m32r_elf_get_relocated_section_contents): Translate elf sections > SHN_HIRESERVE too. * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Only read local syms. Read symbol shndx extension, and use with swap_symbol_in. * elf32-mips.c (_bfd_mips_elf_final_write_processing): Use elf_numsections rather than header e_shnum. * elf32-sh.c (sh_elf_relax_section): As for elf-m10300.c. (sh_elf_relax_delete_bytes): Likewise. (sh_elf_get_relocated_section_contents): Likewise. Only read local symbols. * elf32-v850.c (v850_elf_symbol_processing): Use an unsigned int to hold section index. Use elf_numsections rather than e_shnum. Rename "index" -> "indx" to avoid shadowing warning. (v850_elf_add_symbol_hook): Likewise. * elf64-alpha.c (elf64_alpha_relax_section): Only read local syms. Read symbol shndx extension, and use with swap_symbol_in. * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. Translate SHN_COMMON and elf sections > SHN_HIRESERVE too. * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. (elfNN_ia64_aix_add_symbol_hook): Use elf_numsections. * elf-m10300.c (mn10300_elf_gc_mark_hook): Remove unnecessary checks before calling bfd_section_from_elf_index on local syms. * elf32-arm.h (elf32_arm_gc_mark_hook): Likewise. * elf32-avr.c (elf32_avr_gc_mark_hook): Likewise. * elf32-cris.c (cris_elf_gc_mark_hook): Likewise. * elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise. * elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise. * elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise. * elf32-i386.c (elf_i386_gc_mark_hook): Likewise. * elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise. * elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise. * elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise. * elf32-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise. * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise. * elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise. * elf32-s390.c (elf_s390_gc_mark_hook): Likewise. * elf32-sh.c (sh_elf_gc_mark_hook): Likewise. * elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise. * elf32-v850.c (v850_elf_gc_mark_hook): Likewise. * elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise. * elf64-mips.c (mips_elf64_gc_mark_hook): Likewise. * elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise. * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. * elf64-s390.c (elf_s390_gc_mark_hook): Likewise. * elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise. binutils/ChangeLog * readelf.c (symtab_shndx_hdr): New global. (SECTION_HEADER_INDEX): Define. (SECTION_HEADER_NUM): Define. (SECTION_HEADER): Define. (GET_ELF_SYMBOLS): Pass two params rather than three. (get_32bit_elf_symbols): Take file and section args. Read and use SHT_SYMTAB_SHNDX. (get_64bit_elf_symbols): Likewise. (dump_relocations): Use SECTION_HEADER to index "section_headers". (process_section_headers): Likewise. Use SECTION_HEADER_NUM too. Remember symtab_shdx_hdr. (process_program_headers): Scan from index 1 for segment map. (slurp_ia64_unwind_table): Use SECTION_HEADER to index "section_headers". (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS. (process_unwind): Likewise. (process_version_sections): Likewise. (process_symbol_table): Likewise. (display_debug_info): Likewise. (process_dynamic_segment): Fake up a symtab section for changed GET_ELF_SYMBOLS. (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE. (process_program_headers): Kill signed/unsigned warning. (load_debug_str): Likewise. (display_debug_info): Likewise.
2001-12-17 00:52:35 +00:00
2001-12-17 Alan Modra <amodra@bigpond.net.au>
* readelf.c (symtab_shndx_hdr): New global.
(SECTION_HEADER_INDEX): Define.
(SECTION_HEADER_NUM): Define.
(SECTION_HEADER): Define.
(GET_ELF_SYMBOLS): Pass two params rather than three.
(get_32bit_elf_symbols): Take file and section args. Read and
use SHT_SYMTAB_SHNDX.
(get_64bit_elf_symbols): Likewise.
(dump_relocations): Use SECTION_HEADER to index "section_headers".
(process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
Remember symtab_shdx_hdr.
(process_program_headers): Scan from index 1 for segment map.
(slurp_ia64_unwind_table): Use SECTION_HEADER to index
"section_headers".
(process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
(process_unwind): Likewise.
(process_version_sections): Likewise.
(process_symbol_table): Likewise.
(display_debug_info): Likewise.
(process_dynamic_segment): Fake up a symtab section for changed
GET_ELF_SYMBOLS.
(get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
(process_program_headers): Kill signed/unsigned warning.
(load_debug_str): Likewise.
(display_debug_info): Likewise.
* elf-bfd.h (enum elf_link_info_type): New. (struct bfd_elf_section_data): Remove stab_info and merge_info fields, add sec_info and sec_info_type. (struct elf_obj_tdata): Add eh_frame_hdr field. (_bfd_elf_discard_section_eh_frame): New prototype. (_bfd_elf_discard_section_eh_frame_hdr): Likewise. (_bfd_elf_eh_frame_section_offset): Likewise. (_bfd_elf_write_section_eh_frame): Likewise. (_bfd_elf_write_section_eh_frame_hdr): Likewise. * Makefile.am (BFD32_BACKENDS): Add elf-eh-frame.lo. (BFD32_BACKENDS_CFILES): Add elf-eh-frame.c. (elf-eh-frame.lo): New. * Makefile.in: Rebuilt. * configure.in (elf): Add elf-eh-frame.lo. * configure: Rebuilt. * elf.c (_bfd_elf_print_private_bfd_data): Support PT_GNU_EH_FRAME. (map_sections_to_segments): Create PT_GNU_EH_FRAME if requested. (get_program_header_size): Take into account PT_GNU_EH_FRAME segment. (_bfd_elf_rela_local_sym): Use sec_info_type and sec_info. (_bfd_elf_rel_local_sym): Likewise. (_bfd_elf_section_offset): Likewise. Call _bfd_elf_eh_frame_section_offset too. * elfxx-ia64.c (elfNN_ia64_relocate_section): Use sec_info_type and sec_info. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf-eh-frame.c: New file. * elflink.h (elf_link_add_object_symbols): Don't optimize SHF_MERGE .stab sections. Set sec_info_type, use sec_info instead of merge_info and stab_info. (elf_link_create_dynamic_sections): Create .eh_frame_hdr section if --eh-frame-hdr. (elf_bfd_final_link): Write .eh_frame_hdr section. (elf_link_sec_merge_syms): Use sec_info_type and sec_info. (elf_link_input_bfd): Likewise. Call _bfd_elf_write_section_eh_frame to write .eh_frame sections. (elf_bfd_discard_info): Add output_bfd argument. Call _bfd_elf_discard_section_eh_frame and _bfd_elf_discard_section_eh_frame_hdr. (elf_section_ignore_discarded_relocs): Use sec_info_type, not section names. * bfd-in.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Adjust prototypes. * bfd-in2.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Likewise. * elf/common.h (PT_GNU_EH_FRAME): Define. * bfdlink.h (struct bfd_link_info): Add eh_frame_hdr field. * emultempl/elf32.em (finish): Supply output_bfd to bfd_elf*_discard_info. (OPTION_EH_FRAME_HDR): Define. (longopts): Add --eh-frame-hdr. (parse_args): Handle it. (list_options): Add --eh-frame-hdr to help. * emultempl/hppaelf.em (finish): Supply output_bfd to bfd_elf*_discard_info. * scripttempl/elf.sc (.eh_frame_hdr): Add. * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2001-12-13 11:09:34 +00:00
2001-12-13 Jakub Jelinek <jakub@redhat.com>
* readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2001-12-11 Alan Modra <amodra@bigpond.net.au>
* readelf.c (process_file_header): Print extended e_shnum and
e_shdtrndx values. Set elf_header values for same.
(get_32bit_section_headers): Add "num" arg to read "num" headers.
(get_64bit_section_headers): Likewise.
(process_section_headers): Update calls.
(get_file_header): Call get_32bit_section_headers or 64bit variant.
2001-12-10 Jakub Jelinek <jakub@redhat.com>
* objcopy.c (setup_section): Copy entsize.
Index: bfd/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * Makefile.am: Add support for xstormy16. * archures.c: Add support for xstormy16. * config.bfd: Add support for xstormy16. * configure.in: Add support for xstormy16. * reloc.c: Add support for xstormy16. * targets.c: Add support for xstormy16. * cpu-xstormy16.c: New file. * elf32-xstormy16.c: New file. * Makefile.in: Regenerated. * bfd-in2.h: Regenerated. * configure: Regenerated. * libbfd.h: Regenerated. Index: binutils/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * readelf.c (guess_is_rela): Add support for stormy16. (dump_relocations): Likewise. (get_machine_name): Likewise. Index: gas/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add support for xstormy16. * configure: Regenerated. * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerated. * config/tc-xstormy16.c: New file. * config/tc-xstormy16.h: New file. Index: gas/testsuite/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> matthew green <mrg@redhat.com> * gas/xstormy16/allinsn.d: New file. * gas/xstormy16/allinsn.exp: New file. * gas/xstormy16/allinsn.s: New file. * gas/xstormy16/allinsn.sh: New file. * gas/xstormy16/gcc.d: New file. * gas/xstormy16/gcc.s: New file. * gas/xstormy16/gcc.sh: New file. * gas/xstormy16/reloc-1.d: New file. * gas/xstormy16/reloc-1.s: New file. * gas/xstormy16/reloc-2.d: New file. * gas/xstormy16/reloc-2.s: New file. Index: ld/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * Makefile.am: Add support for xstormy16. * configure.tgt: Add support for xstormy16. * Makefile.in: Regenerate. * emulparams/elf32xstormy16.sh: New file. * scripttempl/xstormy16.sc: New file. Index: opcodes/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerate. * configure.in: Add support for xstormy16. * configure: Regenerate. * disassemble.c: Add support for xstormy16. * xstormy16-asm.c: New generated file. * xstormy16-desc.c: New generated file. * xstormy16-desc.h: New generated file. * xstormy16-dis.c: New generated file. * xstormy16-ibld.c: New generated file. * xstormy16-opc.c: New generated file. * xstormy16-opc.h: New generated file. Index: include/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * dis-asm.h (print_insn_xstormy16): Declare. Index: include/elf/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * common.h (EM_XSTORMY16): Define. * xstormy16.h: New file.
2001-12-08 03:46:03 +00:00
2001-12-07 Geoffrey Keating <geoffk@redhat.com>
* readelf.c (guess_is_rela): Add support for stormy16.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
* dllwrap.c (main) Replace multiple strings describing a
single error with a single, newline escaped sentence to permit
better translation into foreign languages.
* readelf.c (get_elf_class): Remove internalionalisation of ELF
class names.
2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* strings.c (get_char): Initialize value.
2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* arlex.l: Silence compile warnings.
* arsup.h: Likewise. Fix formatting.
2001-12-04 Jakub Jelinek <jakub@redhat.com>
* strings.c: Include config.h before bfd.h.
(file_off): New type.
(file_open): Define.
(print_strings): Use file_off instead of file_ptr. Print addresses
which don't fit into long correctly.
(get_char): Use file_off instead of file_ptr. Use getc_unlocked if
available.
(strings_file): Use file_off instead of file_ptr. Use file_open.
* configure.in: Check for getc_unlocked.
Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
be defined for it.
* configure: Rebuilt.
* config.h.in: Rebuilt.
2001-11-29 H.J. Lu <hjl@gnu.org>
* bucomm.c (make_tempname): Revert the changes made on
2001-11-14 and 2001-11-12. They won't work with directories.
2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
* binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
CFLAGS_FOR_TARGET to runtest in environment.
* Makefile.in: Rebuild.
* doc/Makefile.in: Rebuild.
2001-11-28 Mike Stump <mrs@wrs.com>
* objcopy.c (setup_section): Preserve SEC_RELOC when
--set-section-flags is used.
2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (do_debug_str): New variable.
(display_debug_str): New function: Display the contents of a
.debug_str section.
(load_debug_str): New function: Load in the contents of a
.debug_str section.
(free_debug_str): New function: Free the memory used by
load_debug_str().
(fetch_indirect_string): Retrieve a string from the .debug_str
section.
(usage): Add -ws.
(parse_args): Accept -ws.
(process_section_headers): Allow the display of the .debug_str
section.
(read_and_display_attr_value): Use fetch_indirect_string. Show
offset into .debug_str section.
(display_debug_info): Use load_debug_str and free_debug_str.
(debug_displays): Add .debug_str.
* doc/binutils.texi: Document -ws.
2001-11-19 Andreas Jaeger <aj@suse.de>
* testsuite/binutils-all/objdump.exp: Add x86-64.
2001-11-15 Andreas Schwab <schwab@suse.de>
* readelf.c: Fix warnings without terminating newline.
binutils/ChangeLog * 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-15 01:08:53 +00:00
2001-11-15 Alan Modra <amodra@bigpond.net.au>
* doc/binutils.texi (objdump): Document ppc -M options.
2001-11-14 Andreas Jaeger <aj@suse.de>
* doc/binutils.texi (objdump): Fix description to use x86-64.
2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
* bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
not all systems provide mkstemp.
2001-11-14 Alan Modra <amodra@bigpond.net.au>
* doc/binutils.texi (objdump): Document x86 -M options.
2001-11-13 Keith Walker <keith.walker@arm.com>
* readelf.c (read_and_display_attr_value): New function to
handle DW_FORM_indirect.
(read_and_display_attr): Use it.
2001-11-13 Geoffrey Keating <geoffk@redhat.com>
* readelf.c (display_debug_lines): Deal with unknown standard
opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
DW_LNS_set_isa.
2001-11-13 Timothy Wall <twall@alum.mit.edu>
* MAINTAINERS: Add self as tic54x maintainer. This target
includes the IBM C54XDSP clone.
2001-11-12 16:17:39 +00:00
2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
2001-11-12 16:17:39 +00:00
* bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2001-11-09 Jeffrey A Law (law@cygnus.com)
* unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
(unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
(unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
(unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
(unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
(unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
(unw_decode_b2, unw_decode_b3_b4): Likewise.
* readelf.c (get_elf_class): Fix ISO portability glitch.
(get_data_encoding, get_osabi_name, request_dump): Likewise.
2001-11-07 Jakub Jelinek <jakub@redhat.com>
* readelf.c (debug_str, debug_str_size): New.
(display_debug_abbrev): If no abbrevs were read, skip the CU.
Call free_abbrevs.
(read_and_display_addr): Handle DW_FORM_strp.
(display_debug_info): Read .debug_str section if present,
so that DW_FORM_strp can be handled.
Fix test for non-existant .debug_abbrev section.
2001-11-05 Jakub Jelinek <jakub@redhat.com>
* arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
* arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2001-11-05 08:50:47 +00:00
2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
* MAINTAINERS: Add self as s390/s390x maintainer.
2001-11-02 21:47:19 +00:00
2001-11-02 Tom Rix <trix@bluey.cygnus.com>
* MAINTAINERS: Add self as PPC XCOFF maintainer.
2001-11-02 19:09:06 +00:00
2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
* configure.in (ALL_LINGUAS): Add "fr" and "tr".
* configure: Regernate.
* po/fr.po: New file.
* po/tr.po: New file.
2001-10-30 15:20:14 +00:00
2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
* MAINTAINERS: Add self as MMIX port maintainer.
2001-10-30 15:20:14 +00:00
* readelf.c: Include elf/mmix.h.
(guess_is_rela): MMIX is RELA.
(dump_relocations): Handle MMIX relocations.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (parse_args): Handle multiple options to the -w
switch.
2001-10-12 Jakub Jelinek <jakub@redhat.com>
* readelf.c (get_section_type_name): Don't print SHT_ prefix for
LOPROC, LOOS and LOUSER.
2001-11-12 16:17:39 +00:00
2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
* MAINTAINERS: Update my email address.
2001-10-03 Alan Modra <amodra@bigpond.net.au>
* doc/Makefile.in: Regenerate.
* configure: Regenerate.
2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (display_debug_line, display_debug_pubnames,
display_debug_info, display_debug_frames): Detect and warn
about 64-bit format entries.
(display_debug_aranges): Reword 64-bit warning.
(debug_displays): Add .debug_pubtypes as a known, but not yet
supported, debug section.
2001-10-02 Alan Modra <amodra@bigpond.net.au>
* coffdump.c (PROGRAM_VERSION): Delete.
(main <'V'>): Call print_version.
* srconv.c: Likewise.
* sysdump.c: Likewise.
* version.c (program_version): Remove.
(print_version): Use BFD_VERSION_STRING. Just print the current
year in copyright message.
* addr2line.c (program_version): Remove unused declaration.
* objdump.c (display_target_tables): Use BFD_VERSION_STRING in
place of BFD_VERSION.
* Makefile.am (Makefile): Depend on bfd/configure.in.
(cplus-dem.o): Depend on Makefile.
Run "make dep-am".
* Makefile.in: Regenerate.
2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (display_debug_aranges): Detect and warn about DWARF64
format .debug_arange sections.
(main): Add missing prototype.
2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
* Makefile.am: Update dependencies with "make dep-am".
* Makefile.in: Regenerate.
2001-09-28 Richard Henderson <rth@redhat.com>
* objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2001-09-26 Alan Modra <amodra@bigpond.net.au>
* bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
VA_CLOSE.
(non_fatal): Likewise.
* objdump.c (objdump_sprintf): Likewise.
* readelf.c (error): Likewise.
(warn): Likewise.
2001-09-25 Jakub Jelinek <jakub@redhat.com>
* readelf.c (do_wide): New.
(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-25 Alan Modra <amodra@bigpond.net.au>
* readelf.c (print_vma): Print 8 digits of low hex value.
2001-09-24 Andreas Jaeger <aj@suse.de>
* nlmconv.c: Fix warnings about unused attributes and function
prototypes.
* strings.c: Add prototype for get_char.
2000-09-19 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
$(srcdir)/cxxfilt.man.
* doc/Makefile.in: Rebuild.
2001-09-19 Alan Modra <amodra@bigpond.net.au>
* objcopy.c (copy_main): Correct rename-section string parsing.
Consolidate new_name parsing, and error messages.
2001-09-18 Bruno Haible <haible@clisp.cons.org>
* addr2line.c: Don't include <ctype.h>.
(main): For gettext, also set the LC_CTYPE locate facet.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
(main): For gettext, also set the LC_CTYPE locate facet.
Use ISALNUM instead of isalpha/isdigit.
* dllwrap.c: Don't include <ctype.h>.
(main): For gettext, also set the LC_CTYPE locate facet.
* nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
(main): For gettext, also set the LC_CTYPE locate facet.
Use TOUPPER instead of islower/toupper.
* nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
(yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
Use TOUPPER instead of islower/toupper.
* nm.c (main): For gettext, also set the LC_CTYPE locate facet.
* objcopy.c (main): Likewise.
* objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
(disassemble_bytes): Use ISPRINT instead of isprint.
(dump_section_stabs): Use ISDIGIT instead of isdigit.
(dump_data): Use ISPRINT instead of isprint.
(main): For gettext, also set the LC_CTYPE locate facet.
* rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
(cpp_line, handle_quotes): Use ISSPACE instead of isspace.
* rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
Use TOUPPER instead of islower/toupper.
* readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
* resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
(write_rc_accelerators): Use ISPRINT instead of isprint.
(write_rc_rcdata): Likewise.
* size.c (main): For gettext, also set the LC_CTYPE locate facet.
* srconv.c (main): Likewise.
* stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
(parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
isdigit/isupper/islower.
(parse_stab_string, parse_stab_type, parse_stab_argtypes,
parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
stab_demangle_prefix, stab_demangle_qualified,
stab_demangle_template, stab_demangle_type,
stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
* strings.c: Include "safe-ctype.h" instead of <ctype.h>.
(isgraphic): Use ISPRINT instead of isascii/isprint.
(main): Remove HAVE_LC_MESSAGES dependency.
* sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
(pbarray): Use ISPRINT instead of isprint.
(main): For gettext, also set the LC_CTYPE locate facet.
* windres.c: Include "safe-ctype.h" instead of <ctype.h>.
(format_from_filename): Use ISPRINT instead of isprint.
(main): For gettext, also set the LC_CTYPE locate facet.
* winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
(unicode_print): Use ISPRINT instead of isprint.
* wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
(stab_variable): Use ISDIGIT instead of isdigit.
2001-09-18 Alan Modra <amodra@bigpond.net.au>
* ar.c (print_contents): Cast args of bfd_seek to the right types.
Replace bfd_read call with call to bfd_bread.
(extract_file): Likewise.
* objdump.c (dump_section_header): Cast section->filepos to
unsigned long to suit printf format string.
* readelf.c (process_section_headers): Similarly for sh_offset.
(process_unwind): Likewise.
2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
* strings.c (encoding, encoding_bytes): New variables.
(long_options): Add --encoding.
(main): Accept -e and --encoding.
(get_char): New function. Read a, possibly wide, character from
the input stream.
(print_strings): Use get_char().
(usage): Document new command line option.
* doc/binutils.texi: Document new command line option.
* NEWS: Announce new command line option.
2001-11-12 16:17:39 +00:00
2001-09-12 Alexandre Oliva <aoliva@redhat.com>
* readelf.c (guess_is_rela, dump_relocations, get_machine_name,
get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
Removed EM_CYGNUS_ARC.
2001-11-12 16:17:39 +00:00
2001-09-04 Jeffrey A Law (law@cygnus.com)
* readelf.c: Include elf/h8 for H8 series definitions.
(guess_is_rela): H8 series if RELA.
(dump_relocations): Handle H8 series relocations.
2001-08-31 Eric Christopher <echristo@redhat.com>
* readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2001-08-29 15:19:38 +00:00
2001-08-29 Peter Targett <peter.targett@arccores.com>
* MAINTAINERS: Include ARC Maintainer.
2001-08-29 Ben Elliston <bje@redhat.com>
* stabs.c (stab_demangle_template): Initialise s4.
2001-08-27 Alan Modra <amodra@bigpond.net.au>
* readelf.c (dump_relocations): Recognise EM_PPC64.
2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
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-24 Alexandre Oliva <aoliva@redhat.com>
* objcopy.c (use_alt_mach_code): New variable.
(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-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2001-08-21 H.J. Lu <hjl@gnu.org>
* readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
(display_debug_info): Cast for 64bit hosts.
(display_debug_frames): Likewise.
(process_mips_specific): Likewise.
2001-08-21 Andreas Jaeger <aj@suse.de>
* coffgrok.h: Add missing parameter for prototype of coff_grok.
* sysdump.c: Add missing prototypes.
* srconv.c: Likewise.
* unwind-ia64.c: Likewise.
* coffdump.c: Likewise.
* sysinfo.y: Print prototypes, include <ansidecl.h>.
* coffgrok.c: Add missing prototypes, include libiberty.h instead
of declaring xcalloc.
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 Andreas Jaeger <aj@suse.de>
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
to build warnings.
* configure: Regenerate.
2001-08-09 Alan Modra <amodra@bigpond.net.au>
* readelf.c: Add missing prototypes.
* objdump.c: Likewise. Format existing prototypes.
2001-08-08 Alexandre Oliva <aoliva@redhat.com>
* readelf.c (display_debug_info): Add to abbrev_offset the addend
of any RELA relocation for the abbrev_offset memory location that
refers to the .debug_abbrev section symbol.
2001-08-07 H.J. Lu <hjl@gnu.org>
* readelf.c (process_file): Return 0 if OK, otherwise return 1.
(main): Return process_file ().
2001-08-05 Philip Blundell <philb@gnu.org>
* doc/binutils.texi: Use "Thumb" not "THUMB".
2001-08-03 John Healy <jhealy@redhat.com>
Patch suggested by Frank Eigler <fche@redhat.com>.
* objdump.c (disassemble_data): Fill in section member of the
disasm_info structure.
2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
* configure.in: Added --with-windres option.
* configure: Regenerated.
2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* doc/binutils.texi: Use @command{name} for commands;
use @option{-opt} for options; use @table @env for list of options;
remove spaces arround [ | ] in synopsis.
* doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
center title.
2001-07-31 13:49:39 +00:00
2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
* objcopy.c: Fix formatting.
(section_rename): New structure.
(OPTION_RENAME_SECTION): New switch.
(copy_usage): Document new switch.
(add_section_rename): New function: Add a node to the section
rename list.
(find_section_rename): New function: Find the new name and
flags for a section.
(setup_section): Call find_section_name to determine the name
of the output section.
(copy_main): Handle OPTION_RENAME_SECTION.
* binutils.texi: Document new switch.
2001-07-31 13:49:39 +00:00
* NEWS: Mention new switch.
2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
* README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
* MAINTAINERS: Rename bug-gnu-utils@gcc.org to
bug-binutils@gcc.org.
2001-07-28 Matthias Kramm <kramm@quiss.org>
* bucomm.c (list_supported_architectures): New function.
* bucomm.h (list_supported_architectures): Declare.
* objdump.c (usage): Call the above.
2001-07-25 Dave Brolley <brolley@redhat.com>
* objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
(SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2001-07-19 10:43:13 +00:00
2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
* README: Update for 2.11. Change bug reporting email address.
* MAINTAINERS: Tidy up. Change bug reporting email address.
2001-07-16 DJ Delorie <dj@redhat.com>
* resres.c (write_res_header): Align header size.
(res_align_file): Calculate alignment correctly.
* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
correct 10).
* resrc.c (write_rc_resource): Likewise.
* windres.h (SUBLANG_SHIFT): Define - as 10.
2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
* MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2001-07-11 09:06:49 +00:00
2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
* MAINTAINERS: Add notes about branch checkins.
2001-07-05 Daniel Berlin <dan@cgsoftware.com>
* readelf.c (display_debug_macinfo): New function, display
.debug_macinfo section.
(do_debug_macinfo): New variable.
(parse_args): Handle "-w[mM]" to mean display macro info.
(process_section_headers): Handle debug_macinfo.
(debug_displays): Replace unsupported function with macinfo
function for .debug_macinfo display.
* doc/binutils.texi: Document new command line switch.
* NEWS: Document new feature of readelf.
2001-07-05 H.J. Lu <hjl@gnu.org>
* objcopy.c (filter_symbols): Don't turn undefined symbols
into local.
2001-07-03 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
$@.pod.
(ar.1): Likewise.
(dlltool.1): Likewise.
(nlmconv.1): Likewise.
(nm.1): Likewise.
(objcopy.1): Likewise.
(objdump.1): Likewise.
(ranlib.1): Likewise.
(readelf.1): Likewise.
(size.1): Likewise.
(strings.1): Likewise.
(strip.1): Likewise.
(windres.1): Likewise.
(cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
($(DEMANGLER_NAME).1): Also substitute cxxfilt with
$(DEMANGLER_NAME).
(as.1): Removed.
* doc/Makefile.in: Regenerated.
2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
* MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2001-07-01 Daniel Berlin <dan@cgsoftware.com>
* readelf.c: Support DWARF 2.1 tags, encodings, languages.
2001-06-29 14:17:31 +00:00
2001-06-29 James Cownie <jcownie@etnus.com>
* readelf.c: Support DWARF 2.1 attributes.
2001-06-28 Alan Modra <amodra@bigpond.net.au>
* readelf.c (GET_DATA_ALLOC): Remove.
(GET_DATA): Remove.
(get_data): New function combining above macros, with an extra
test for zero size.
(slurp_rela_relocs): Use get_data, and catch error return.
(slurp_rel_relocs): Likewise.
(get_32bit_program_headers): Likewise.
(get_64bit_program_headers): Likewise.
(get_32bit_section_headers): Likewise.
(get_64bit_section_headers): Likewise.
(get_32bit_elf_symbols): Likewise.
(get_64bit_elf_symbols): Likewise.
(process_section_headers): Likewise.
(process_relocs): Likewise.
(slurp_ia64_unwind_table): Likewise.
(process_unwind): Likewise.
(get_32bit_dynamic_segment): Likewise.
(get_64bit_dynamic_segment): Likewise.
(process_dynamic_segment): Likewise.
(process_version_sections): Likewise.
(process_symbol_table): Likewise.
(dump_section): Likewise.
(display_debug_info): Likewise.
(display_debug_section): Likewise.
(process_section_contents): Likewise.
(process_corefile_note_segment): Likewise.
(process_mips_specific): Likewise. Also free econf32, econf64.
2001-06-25 Alan Modra <amodra@bigpond.net.au>
* readelf.c (dump_relocations): Print "bad symbol index" if
symtab == NULL with non-zero symtab_index.
(process_relocs): Don't bomb if reloc section has no symsec.
2001-06-24 H.J. Lu <hjl@gnu.org>
* objcopy.c (strip_main): Revert the change made on 2001-05-30
by accident.
(copy_main): Apply the the change made to strip_main on
2001-05-30 by accident.
2001-06-23 Andreas Jaeger <aj@suse.de>
* unwind-ia64.c (unw_decode_x1): Add unused attribute for
parameter 'code'.
(unw_decode_x2): Likewise.
(unw_decode_x3): Likewise.
(unw_decode_x4): Likewise.
2001-06-23 Ben Elliston <bje@redhat.com>
* MAINTAINERS: Add myself as M88k maintainer.
2001-06-22 09:02:05 +00:00
2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
* objcopy.c (strip_main): Support -o or --output-file command lien
switch.
2001-06-19 H.J. Lu <hjl@gnu.org>
* doc/Makefile.in: Regenerated.
2001-06-19 11:57:29 +00:00
2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c: Restore formatting.
2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
* Makefile.am: Move documentation into doc subdirectory.
* Makefile.in: Regenerated.
2001-06-19 11:57:29 +00:00
* binutils.texi: Move into doc subdirectory.
* addr2line.1: Removed.
* ar.1: Likewise.
* dlltool.1: Likewise.
* nlmconv.1: Likewise.
* nm.1: Likewise.
* objcopy.1: Likewise.
* objdump.1: Likewise.
* ranlib.1: Likewise.
* readelf.1: Likewise.
* size.1: Likewise.
* strings.1: Likewise.
* strip.1: Likewise.
* windres.1: Likewise.
* cxxfilt.man: Likewise.
2001-06-19 11:57:29 +00:00
* doc: New Directory.
* doc/Makefile.am: New file.
* doc/Makefile.in: Generate.
2001-06-09 Alan Modra <amodra@bigpond.net.au>
* NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2001-06-01 Alan Modra <amodra@bigpond.net.au>
* MAINTAINERS: Update my email address.
2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
* objcopy.c: Add new switches: --keep-global-symbol,
--keep-symbols, --localize-symbols, --keep-global-symbols and
--weaken-symbols.
* binutils.texi: Document new switches.
* objcopy.1: Regenerate.
* NEWS: Announce new feature.
2001-05-28 Andreas Jaeger <aj@suse.de>
* readelf.c (display_debug_frames): Fix warnings: Remove unused
variables, fix format strings.
2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
* objdump.c (disassemble_bytes): Remove section VMA adjustment
when computing the address of the line to show.
2001-05-16 Richard Henderson <rth@redhat.com>
* readelf.c (do_debug_frames_interp): New.
(byte_get_little_endian): If BFD64, always read entire 8-byte fields.
(byte_get_big_endian): Likewise.
(parse_args) ['F']: Set do_debug_frames_interp.
(Frame_Chunk): Make data_factor signed, add fde_encoding.
(frame_display_row): Don't trunc pc_begin to int.
(size_of_encoded_value): New.
(display_debug_frames): Handle 64-bit targets. Print raw data
unless do_debug_frames_interp.
(debug_displays): Remove duplicate .debug_frame.
2001-05-15 Ralf Baechle <ralf@gnu.org>
* readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
The former constant was never in active use and is used otherwise
by the ABI.
2001-05-11 Jakub Jelinek <jakub@redhat.com>
* readelf.c (process_unwind): Print all unwind sections, not just
one.
2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* readelf.c (process_unwind): Remove const specifier.
2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
* strings.c (isgraphic): Do not use isascii() unless it is needed
for isprint() to work.
(main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2001-04-27 13:34:20 +00:00
2001-04-27 Johan Rydberg <jrydberg@opencores.org>
* NEWS: Announce support for OpenRISC.
2001-04-27 13:34:20 +00:00
2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
* dlltool.c (do_default_excludes): Initialise to true.
2001-04-10 Alan Modra <amodra@one.net.au>
* MAINTAINERS: Update my email address
* nm.c (print_symbol_info_bsd): Use a simple printf string.
2001-04-05 17:46:25 +00:00
2001-04-05 Hans-Peter Nilsson <hp@axis.com>
* readelf.c (display_debug_lines): Fix typo for "Prologue".
2001-03-30 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Just return if do_unwind is 0.
2001-03-28 Roger Sayle <roger@metaphorics.com>
* dlltool.c (make_one_lib_file): Fix section flags for
.text, .data and .bss in stub ds*.o files to match those
generated by gas.
2001-03-29 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Only do unwind sections for
IA64.
2001-03-28 H.J. Lu <hjl@gnu.org>
* Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
* Makefile.in: Regenerate.
2001-03-26 Andreas Jaeger <aj@suse.de>
* binutils.texi (nm): Fix texi syntax.
2001-03-25 20:32:31 +00:00
2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* binutils.texi: Put @c man begin and @c man end indications
to generate man pages using texi2pod and pod2man. Put @c man title
to identify each man. Add SEEALSO entries.
* Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
(man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
sort the list.
(*.1): Build the man pages from binutils.texi.
* Makefile.in: Regenerate.
2001-03-13 Eric Kohl <ekohl@rz-online.de>
* defparse.y (opt_equal_name): allow "." in name.
* dlltool.c (def_exports): Added ability to generate forwarded exports.
(gen_exp_file): Likewise.
2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
* NEWS: Document addition of -B switch to objcopy.
* binutils.texi: Document addition of -B switch to objcopy.
* objcopy.c: (copy_options): Add --binary-architecture.
(copy_usage): Document -B/--binary-architecture.
(copy_main): Support -B/--binary-architecture. Set
bfd_external_binary_architecture.
2001-03-12 23:35:23 +00:00
2001-03-11 Andreas Jaeger <aj@suse.de>
* readelf.c (guess_is_rela): Handle EM_S390_OLD.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
2001-02-28 Nick Clifton <nickc@redhat.com>
* readelf.c: (struct unw_aux_info): Remove const modifier for
'strtab' field.
(process_unwind): Remove non-K&R compliant LHS type cast in call
to GET_DATA_ALLOC macro.
2001-02-28 Philip Blundell <pb@futuretv.com>
* readelf.c (decode_ARM_machine_flags): Explicitly mention which
ABI is in use; remove ambiguity between the "unknown" EABI and
unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
renamed EF_xx constants.
2001-02-27 Alan Modra <alan@linuxcare.com.au>
* configure.in (BFD_VERSION): New.
(AM_INIT_AUTOMAKE): Use $BFD_VERSION.
* configure: Regenerate.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
2001-02-14 18:49:56 +00:00
2001-02-14 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add "Obvious Fix" rule.
2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
literal concatenation.
2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* readelf.c (struct unw_aux_info): Remove const from the info member.
(process_unwind): Don't type-cast the third argument to the
GET_DATA_ALLOC macro.
2001-02-11 22:14:01 +00:00
2001-02-11 Nick Clifton <nickc@redhat.com>
* readelf.c (dump_relocations): Free corrected allocated
array.
(process_unwind): Fix compile time warning.
2001-02-10 Nick Clifton <nickc@redhat.com>
* binutils.texi: Document new --unwind option to readelf.
2001-02-10 00:58:38 +00:00
2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* readelf.c: Add linux target for S/390.
2001-02-10 Alan Modra <alan@linuxcare.com.au>
* nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
printf is a macro.
2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
* acinclude.m4 (AM_PROG_LEX): Override installed definition.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2001-02-07 Todd Vierling <tv@wasabisystems.com>
* bucomm.c (bfd_target_vector): Change extern array to pointer.
* objdump.c (bfd_target_vector): Likewise.
2001-02-07 David Mosberger <davidm@hpl.hp.com>
* readelf.c (process_unwind): New function.
(slurp_ia64_unwind_table): Ditto.
(dump_ia64_unwind): Ditto.
(find_symbol_for_address): Ditto.
(slurp_rela_relocs): New function (split off from dump_relocations()).
(slurp_rel_relocs): Ditto.
(parse_args): Handle '-u' option.
* unwind-ia64.c: New file.
* unwind-ia64.h: New file.
* Makefile.am: Include unwind-ia64.c in readelf build.
* Makefile.in: Regenerate.
* po/binutils.pot: Regenerate.
2001-02-04 Philip Blundell <philb@gnu.org>
* configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
* configure: Regenerate.
2001-01-31 Steve deRosier <sderosier@vari-lite.com>
* ieee.c (ieee_add_bb11): Don't check for backslashes
unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
* ieee.c: Update copyright.
(ieee_start_compilation_unit): Don't check for backslashes
unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
* stabs.c: Update copyright. Include "filenames.h".
(parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2001-01-23 13:51:03 +00:00
2001-01-23 Jakub Jelinek <jakub@redhat.com>
* readelf.c (process_version_sections): Check if VERDEF or VERNEED
sections are present before using them. Remove code duplication.
(process_symbol_table): Check if VERDEF or VERNEED sections are
present before using them.
2001-01-17 Nick Clifton <nickc@redhat.com>
* objcopy.c (copy_object): Fail if attempting to convert the
endianness of the input object file.
* binutils.texi: Explain that objcopy cannot convert endianness.
2001-01-16 23:23:23 +00:00
2001-01-16 Nick Clifton <nickc@redhat.com>
* readelf.c (string_table_length): New variable.
(SECTION_NAME): Catch out of range indices and missing section
pointers.
(process_section_headers): Delete useless local variable
string_table_offset. Set the value of string_table_length
after loading the string table.
(process_mips_specific): Use SECTION_NAME macro.
(process_file): Set string_table_length to 0 when it is freed.
2001-01-12 18:01:56 +00:00
2001-01-12 Nick Clifton <nickc@redhat.com>
* version.c (print_version): Update copyright date.
2001-01-11 Peter Targett <peter.targett@arccores.com>
* readelf.c (dump_relocations): Include selection with EM_ARC.
(get_machine_name) Update name to "ARC".
2001-01-09 Nick Clifton <nickc@redhat.com>
* Makefile.am: Add rule to build objdump.o from objdump.c and
using OBJDUMP_DEFS.
* Makefile.in: Regenerate.
* configure.in: Define OBJDUMP_DEFS. Default to empty.
(arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
-DDISASSEMBLER_NEEDS_RELOCS.
2001-01-09 20:25:57 +00:00
* configure: Regenerate.
* objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
is defined read in the relocs even if dump_reloc_info is
false.
2001-01-07 15:04:21 +00:00
2001-01-07 Philip Blundell <philb@gnu.org>
* binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
`bug-binutils'.
* README: Likewise.
2000-12-19 22:22:02 +00:00
2000-12-19 Nick Clifton <nickc@redhat.com>
* dlltool.c: Add missing support for arm-epoc-pe.
* configure.in: Add missing support for arm-epoc-pe.
* configure: Regenerate.
2000-12-16 01:28:21 +00:00
2000-12-15 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
Mode parts of the x86 port.
2000-12-12 20:58:46 +00:00
2000-12-04 Andreas Jaeger <aj@suse.de>
* readelf.c (guess_is_rela): Add EM_X86_64.
(dump_relocations): Add EM_X86_64.
(get_machine_name): Add EM_X86_64.
Include "elf/x86-64.h".
2000-12-12 19:36:32 +00:00
2000-12-12 Nick Clifton <nickc@redhat.com>
* readelf.c: Fix formatting.
2001-11-12 16:17:39 +00:00
2000-12-11 Jan Hubicka <jh@suse.cz>
* MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2000-12-07 Andrew Haley <aph@redhat.com>
* readelf.c (display_debug_frames): Only display columns that are
referenced by the frame debug info.
2000-12-05 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2000-12-04 Jason Merrill <jason@redhat.com>
* readelf.c (process_section_headers): Handle linkonce.wi sections.
(display_debug_section): Likewise.
(display_debug_info): Display CU header before bailing.
2000-12-01 Chris Demetriou <cgd@sibyte.com>
* readelf.c (get_machine_flags): Recognize MIPS32 ISA in
EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
* readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
and E_MIPS_ARCH_64.
2000-12-02 00:55:22 +00:00
* readelf.c (get_machine_flags): Add case for
E_MIPS_MACH_SB1.
2000-12-02 01:10:33 +00:00
2000-11-30 Richard Earnshaw <rearnsha@arm.com>
* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
* MAINTAINERS: Add J<><4A>rn Rennecke and self as SH maintainers.
Change sourceware.cygnus.com to sources.redhat.com.
Fix typo for "amongst".
2000-11-28 Nick Clifton <nickc@redhat.com>
* strip.1 (COPYING): Mention that the GNU Free Documentation
License is present in the sources, but not the output, and
also available from the GNU website.
(GNU Free Documentation License): Comment out this section.
* strings.1: Ditto.
* size.1: Ditto.
* ranlib.1: Ditto.
* objdump.1: Ditto.
* objcopy.1: Ditto.
* nm.1: Ditto.
* nlmconv.1: Ditto.
* ar.1: Ditto.
* addr2line.1: Ditto.
2000-11-27 DJ Delorie <dj@redhat.com>
* readelf.c (usage): Add -wf (--debug-dump=frames) option.
(parse_args): Support -wf option.
(process_section_headers): Ditto.
(debug_displays): Ditto.
(display_debug_frames): New, dump *_frame sections.
(frame_need_space): Support for above.
(frame_display_row): Ditto.
* binutils.texi: Document it.
2000-11-25 00:21:40 +00:00
2000-11-24 Nick Clifton <nickc@redhat.com>
* NEWS: Announce support for v5t, v5te and XScale.
2000-11-22 Nick Clifton <nickc@redhat.com>
* readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
(get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
(get_elf_section_flags: Add SHF_GROUP.
(process_section_headers): Adjust output for 32-bit binaries
to look nice on an 80 column terminal.
2000-11-20 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
ELFOSABI_AIX.
2000-11-17 Richard Henderson <rth@redhat.com>
* readelf.c (display_debug_lines): Adjust last change to
use sizeof (external->li_length).
2000-11-17 Richard Henderson <rth@redhat.com>
* readelf.c (display_debug_lines): Fix section length check
and end_of_sequence computation.
2000-11-06 20:27:26 +00:00
2000-11-06 Nick Clifton <nickc@redhat.com>
* binutils.texi: Add GNU Free Documentation License.
* objcopy.1: Add GNU Free Documentation License.
* objdump.1: Add GNU Free Documentation License.
* addr2line.1: Add GNU Free Documentation License.
* ar.1: Add GNU Free Documentation License.
* nlmconv.1: Add GNU Free Documentation License.
* nm.1: Add GNU Free Documentation License.
* ranlib.1: Add GNU Free Documentation License.
* size.1: Add GNU Free Documentation License.
* strings.1: Add GNU Free Documentation License.
* strip.1: Add GNU Free Documentation License.
2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
* objcopy.c (--srec-len=nn): New parameter to set the
maximum length of generated Srecords.
(--srec-forceS3): New parameter that restricts the generation of
Srecords to type S3 only.
2000-11-05 17:14:08 +00:00
* binutils.texi: Document new command line switches.
* objcopy.1: Docuemnt the new command line switches.
* NEWS: Announce the existence of the new command line switches.
2000-10-31 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
code. Add Eric Chrisopher as maintainer of MN10300 port.
2000-10-12 Roger Sayle <roger@metaphorics.com>
* Make comma after string after icon/control optional.
2000-09-14 01:47:38 +00:00
2000-09-13 Anders Norlander <anorland@acc.umu.se>
* readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
* NEWS: Mention support for MIPS32.
2000-09-08 21:51:57 +00:00
2000-09-08 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2000-09-07 H.J. Lu <hjl@gnu.org>
* configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
* configure: Rebuild.
2000-09-06 Alexandre Oliva <aoliva@redhat.com>
* configure: Rebuilt with new libtool.m4.
2000-09-05 Nick Clifton <nickc@redhat.com>
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2000-09-04 Todd Vierling <tv@wasabisystems.com>
* strip.1: Fix stray '\' in -o formatting.
2000-09-02 Nick Clifton <nickc@redhat.com>
* configure.in: Increase version number to 2.10.91.
* configure: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* po/binutils.pot: Regenerate.
2000-08-31 Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.
2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2000-09-05 15:47:41 +00:00
* resrc.c (close_input_stream): Delete extraneous logic
2000-08-24 17:42:52 +00:00
2000-08-24 Hans-Peter Nilsson <hp@axis.com>
* NEWS: Mention support for CRIS.
2000-08-21 Nick Clifton <nickc@redhat.com>
* addr2line.c: Changed email address for Ulrich Lauther.
2000-08-17 Christopher C. Chimelis <chris@debian.org>
* objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2000-08-17 Nick Clifton <nickc@redhat.com>
* readelf.c (display_debug_pubnames): Only issue warning
message once. Terminate message with a new line.
(display_debug_aranges): Only display version 2 debug info.
2000-08-14 Todd Vierling <tv@wasabisystems.com>
* objcopy.c (strip_main): Silently accept -d as an alias for -g
for compatability with old BSD systems.
2000-08-14 Jason Eckhardt <jle@cygnus.com>
* NEWS: Mention i860 support.
2000-08-11 Carlo Wood <carlo@alinoe.com>
* addr2line.c (main): Add const to char *.
2000-08-11 Geoff Keating <geoffk@cygnus.com>
* ar.c (main): Don't crash if called with no arguments
or only '-X32_64' as an argument.
2000-09-03 18:30:51 +00:00
2000-08-08 DJ Delorie <dj@redhat.com>
* resrc.c: use "gcc -xc" instead of -xc-header
2000-08-05 Jason Eckhardt <jle@cygnus.com>
* readelf.c (elf/i860.h): Include.
(dump_relocations): Add recognition of i860 architecture.
(guess_is_rela): Add recognition of i860 architecture.
2000-08-03 17:37:01 +00:00
2000-08-03 Nick Clifton <nickc@cygnus.com>
* MAINTAINERS: Add information about CGEN maintainers.
2000-07-26 Geoff Keating <geoffk@cygnus.com>
* nm.c (main): Ignore '-X32_64' as an option.
* ar.c (main): Likewise.
* binutils.texi (nm): Document new option.
(ar): Likewise.
2000-07-23 08:19:25 +00:00
2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* rdcoff.c (external_coff_symbol_p): K&R-ise.
2000-07-20 H.J. Lu <hjl@gnu.org>
* binutils.texi: Put back "@end table" deleted by
accident.
2000-07-05 Kenneth Block <krblock@computer.org>
* nm.c: Add optional style to demangle switch.
* objdump.c: Add optional style to demangle switch.
* addr2line.c: Add optional style to demangle switch.
* binutils.texi: Document optional style to demangle
switch.
2000-07-20 Hans-Peter Nilsson <hp@axis.com>
* MAINTAINERS: Add self as CRIS port maintainer.
* readelf.c: Include elf/cris.h.
(guess_is_rela): Handle EM_CRIS.
(dump_relocations): Ditto.
(get_machine_name): Ditto.
* Makefile.am: Rebuild dependencies.
* Makefile.in: Regenerate.
* po/binutils.pot: Regenerate.
2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Change "AUXILARY" to
"AUXILIARY".
(process_dynamic_segment): Print out strings for DT_CONFIG,
DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2000-07-19 Mark Kettenis <kettenis@gnu.org>
* nm.c (usage): 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-19 H.J. Lu <hjl@gnu.org>
* readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
to DF_1_NODEFLIB.
2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
DT_FEATURE.
(process_dynamic_segment): Likewise.
* readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
(process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
DF_1_NODUMP and DF_1_CONLFAT.
2000-07-18 18:24:21 +00:00
2000-07-18 Nick Clifton <nickc@cygnus.com>
* binutils.texi (readelf): Fix spelling typo.
2000-07-11 Mark Kettenis <kettenis@gnu.org>
* objdump.c (usage): Make output of `objdump --help' more
consistent with the rest of the GNU world. Add a line describing
the purpose of the program.
2000-07-10 14:51:04 +00:00
2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
* stabs.c (parse_stab_range_type): Cast to proper type to fix
warning.
2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
* readelf.c (get_dynamic_data): Add casts and use unsigned chars
to fix warnings.
(process_symbol_table): Ditto.
(procesS_extended_line_op): Ditto.
(display_debug_lines): Ditto.
(display_debug_pubnames): Ditto.
(read_and_display_attr): Ditto.
2000-07-09 Nick Clifton <nickc@cygnus.com>
* MAINTAINERS: Add several more port specific maintainers.
2000-07-05 20:11:22 +00:00
2000-07-05 Nick Clifton <nickc@cygnus.com>
* MAINTAINERS: Add blanket write privs for Michael Meissner.
2000-07-05 19:28:06 +00:00
2000-06-05 DJ Delorie <dj@redhat.com>
2000-07-05 20:11:22 +00:00
* MAINTAINERS: New.
2000-07-05 19:28:06 +00:00
2000-07-01 Eric Fifer <EFifer@sanwaint.com>
* dllwrap.c: Changed mistaken dyn_string_append() calls
to dyn_string_append_cstr().
2000-07-01 10:00:05 +00:00
2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
* stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
struct debug_type stores size in bytes.
2000-07-01 Alan Modra <alan@linuxcare.com.au>
* Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
(CLEANFILES): Add DEPA.
* Makefile.in: Regenerate.
2000-06-26 23:15:58 +00:00
2000-06-27 Alan Modra <alan@linuxcare.com.au>
* ar.c: Revert incorrect 2000-06-25 patch.
* bucomm.c: Likewise.
2000-06-25 16:39:45 +00:00
2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
* rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
(external_coff_symbol_p): New function.
(parse_coff): Use it.
2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
* ar.c (normalize): Advance past both characters in a DOS based
<letter>: filepath prefix.
(main): Likewise.
* bucomm.c (make_tempname): Likewise.
2000-06-24 19:53:12 +00:00
2000-06-24 Nick Clifton <nickc@cygnus.com>
* objdump.c (usage): Fix description of --stabs switch.
2000-06-22 Alan Modra <alan@linuxcare.com.au>
* Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
find one.
* Makefile.in: Regenerate.
2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
* ar.c (normalize): Correct pointer comparison when checking for
backslashes.
(main): Likewise.
* bucomm.c (make_tempname): Likewise.
* ieee.c (ieee_start_compilation_unit): Correct pointer comparison
and search for backslashes in the original pathname.
(ieee_add_bb11): Likewise.
2000-06-19 01:09:55 +00:00
2000-06-18 Nick Clifton <nickc@redhat.com>
* ar.c (print_contents): Improve verbose message.
2000-06-15 H.J. Lu <hjl@gnu.org>
* dyn-string.c: Removed. Not needed with dyn-string.c in
libiberty.
* dyn-string.h: Likewise.
* Makefile.am: Remove references to dyn-string.c and
dyn-string.h. Rebuild dependency.
* Makefile.in: Rebuild.
2000-06-15 H.J. Lu <hjl@gnu.org>
* binutils.texi: Put a warning on copying relocatable object
files between two different formats.
2000-06-13 DJ Delorie <dj@cygnus.com>
* rcparse.y (control): ICON controls take an id as the first
parameter, not an optional string. Also, call new convenience
function that takes res_id's.
* resrc.c (define_control): missing text means zero-length string,
not zero ID.
(define_icon_control): New.
* windres.h: declare define_icon_control.
2000-06-13 H.J. Lu <hjl@gnu.org>
* configure: Regenerate.
2000-06-08 David O'Brien <obrien@FreeBSD.org>
* configure.in (VERSION): Update to show this is the CVS mainline.
2000-06-02 David O'Brien <obrien@FreeBSD.org>
* strings.c (isgraphic): Interpret <TAB> as a printable character,
analogous to <SPACE>.
2000-05-30 07:47:56 +00:00
2000-05-30 Alan Modra <alan@linuxcare.com.au>
* objdump.c (display_target_list): Use bfd_close_all_done, not
bfd_close to fix crash caused by 2000-05-24 change.
2000-05-25 DJ Delorie <dj@cygnus.com>
* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2000-05-26 14:14:21 +00:00
2000-05-26 Alan Modra <alan@linuxcare.com.au>
* Makefile.am: Update dependencies with "make dep-am"
* Makefile.in: Regenerate.
2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
* ar.c: Include filenames.h.
(normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
and drive letters in file names.
(main): Support backslashes and drive letters in argv[0]. Drop
the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
FILENAME_CMP instead of strcmp to compare file names.
(open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
DJGPP v2.
(do_quick_append) [__GO32__]: Ditto.
(get_pos_bfd, delete_members, move_members, replace_members):
Compare file names with FILENAME_CMP.
* bucomm.c: Include filenames.h.
(make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
forward/backward slashes and drive letters in file names.
* ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
mixed forward/backward slashes and drive letters in file names.
* strings.c (O_BINARY, setmode, SET_BINARY): Define.
(main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
mode.
* objcopy.c: Include filenames.h.
(main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
before comparing to "strip".
Use FILENAME_CMP to compare file names.
* arsup.c: Include filenames.h.
(map_over_list, ar_delete, ar_replace, ar_extract): Use
FILENAME_CMP to compare file names.
(ar_open): Prepend "tmp-" instead of appending "-tmp", to create
the temporary file name.
* configure.in: Check for setmode.
* configure: Regenerate.
2000-05-24 Alan Modra <alan@linuxcare.com.au>
* objdump.c (display_target_list): Close the bfd.
(display_info_table): Likewise.
2000-05-14 H.J. Lu (hjl@gnu.org)
* objcopy.c (filter_symbols): Don't strip global symbols in
relocatable object files.
2000-05-14 Alan Modra <alan@linuxcare.com.au>
* size.c (usage): Associate short options with corresponding long
option to give a clue as to their function.
2000-05-14 Philippe De Muyter <phdm@macqel.be>
* size.c (main): Accept and ignore `-f' option.
2000-05-13 Alan Modra <alan@linuxcare.com.au>
* bucomm.h (gettext, dgettext, dcgettext, textdomain,
bindtextdomain): Replace defines with those from intl/libgettext.h
to quieten gcc warnings.
2000-05-12 H.J. Lu <hjl@gnu.org>
* nlmconv.c (temp_filename): Removed.
* nlmconv.c (link_inputs): Use make_temp_file () instead of
choose_temp_base ().
* objdump.c (display_target_list): Likewise.
(display_info_table): Likewise.
2000-05-08 Alan Modra <alan@linuxcare.com.au>
* objcopy.c (setup_section): Add const and gettext calls for err.
2000-05-02 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
and ELFOSABI_OPENBSD.
2000-05-02 02:29:17 +00:00
2000-05-02 Kazu Hirata <kazu@hxi.com>
* coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
* srconv.c: Likewise.
* sysdump.c: Likewise.
2001-11-12 16:17:39 +00:00
2000-04-23 Denis Chertykov <denisc@overta.ru>
* readelf.c (guess_is_rela): AVR uses RELA relocations.
(get_machine_name): machine name for EM_AVR added.
2001-11-12 16:17:39 +00:00
2000-04-21 Richard Henderson <rth@cygnus.com>
David Mosberger <davidm@hpl.hp.com>
2000-04-21 20:22:24 +00:00
* Makefile.am (readelf.o): Add elf/ia64.h.
* Makefile.in: Rebuild.
* readelf.c: Include elf/ia64.h.
(guess_is_rela, dump_relocations): Handle EM_IA_64.
2000-04-17 Timothy Wall <twall@cygnus.com>
* objdump.c (disassemble_data): Set octets per byte *after*
resolving arch/mach for binary files.
2000-04-14 04:14:25 +00:00
2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* arlex.l: Add directives to increase lex buffer size.
* objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
already included by bucomm.h.
2000-04-14 04:14:25 +00:00
2000-04-10 17:13:07 +00:00
2000-04-10 Philippe De Muyter <phdm@macqel.be>
* readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2000-04-10 17:13:07 +00:00
`strftime' since strftime is not available on all systems.
(process_mips_specific): Ditto.
2001-11-12 16:17:39 +00:00
2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
--enable-build-warnings option.
* Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
* Makefile.in, configure: Re-generate.
2000-04-06 Alan Modra <alan@linuxcare.com.au>
* addr2line.c: Update copyright.
* objcopy.1: Likewise, and title.
* strings.1: Likewise.
* version.c (print_version): Add 2000.
* rddbg.c (read_section_stabs_debugging_info): Don't use
bfd_size_type for strx to avoid printf problems if BFD64.
* bucomm.c: (report): Remove `static'.
Move inclusion of stdarg.h/vararg.h from here.
* bucomm.h: To here.
(CONST): Change all occurences to const.
(report): Declare it.
(bfd_fatal): Add ATTRIBUTE_NORETURN.
(fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
(non_fatal): Add ATTRIBUTE_PRINTF_1.
* ar.c (main): Use fatal or non_fatal instead of fprintf.
Correct a typo in an error message.
(do_quick_append): Use non_fatal instead of fprintf.
(move_members): Use fatal instead of fprintf, exit.
* coffdump.c (main): Same here.
* dlltool.c (display): Delete.
(warn): Delete.
(inform): Use `report' instead of `display'.
(rvaafter): Remove trailing \n from fatal error msg.
(rvabefore): Ditto.
(asm_prefix): Ditto.
(yyerror): Replace `warn' with `non_fatal', and remove \n.
(def_name): Likewise.
(run): Likewise.
(scan_all_symbols): Likewise.
(gen_lib_file): Likewise.
(def_library): Likewise. Remove extra program_name too.
(run): Remove \n from inform strings.
(scan_drectve_symbols): Likewise.
(add_excludes): Likewise.
(scan_open_obj_file): Likewise.
(gen_exp_file): Likewise.
(gen_lib_file): Likewise.
(process_duplicates): Likewise.
* Makefile.am (dllwrap_SOURCES): Add version.c.
* dllwrap.c (program_version): Delete.
(print_version): Delete.
(display): Always print trailing \n.
(warn): New.
(delete_temp_files): Use warn instead of fprintf. Use gettext.
(run): Here too.
(main): And here.
(usage): gettext'ify.
(long_options): Add missing initialisers.
* nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
(select_output_format): Likewise.
(powerpc_mangle_relocs): Likewise.
(link_inputs): Likewise.
* nm.c (set_print_radix): Use fatal instead of fprintf, exit.
(set_output_format): Likewise.
(main): Use non_fatal instead of fprintf.
(display_rel_file): Likewise.
* objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
(slurp_dynamic_symtab): Same here.
(disassemble_data): And here.
(read_section_stabs): And here.
(read_section_stabs): And here.
(dump_bfd): And here.
(main): And here.
(objdump_sprintf): Use fatal instead of fprintf, exit.
(disassemble_data): Same here.
* rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
(parse_coff_struct_type): Same here.
(parse_coff_enum_type): And here.
(parse_coff): And here.
* rddbg.c (read_debugging_info): And here.
* size.c (main): And here.
* windres.c (format_from_name): And here.
* wrstabs.c (stab_write_symbol): Here too.
(write_stabs_in_sections_debugging_info): And here.
(stab_int_type): And here.
(stab_struct_field): And here.
(stab_typdef): And here.
* rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
* srconv.c (main): Same here.
* strings.c (main): And here.
(integer_arg): And here.
* sysdump.c (main): And here.
2000-04-06 Timothy Wall <twall@cygnus.com>
* objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
* readelf.c (decode_location_expression): Loop through multiple
operations.
(read_and_display_attr): Pass in length.
* readelf.c (read_and_display_attr): Add CU offset to references.
(display_debug_info): Pass it in.
2000-04-06 Nick Clifton <nickc@cygnus.com>
* readelf.c (decode_ARM_machine_flags): New function.
(get_machine_flags): Call decode_ARM_machine_flags for ARM
targets.
2000-04-06 23:21:50 +00:00
(get_machine_name): Catch EM_AVR
2000-04-05 03:43:56 +00:00
2000-04-05 Alan Modra <alan@linuxcare.com.au>
* binutils.texi: Remove optional `=' from long options that have
an `=' in the argument.
* objcopy.1: Here too. Remove extra space on discard-all.
* binutils.texi (objcopy): Mention --redefine-sym.
* objcopy.1: Here too.
* NEWS: And here.
* objcopy.c (parse_flags): Split off flag names from error message
gettext as they are not translated.
(copy_main): Similarly split off option name for --add-section,
--set-section-flags, --change-section-vma, --change-section-lma
error messages.
Some white space changes.
from Matthew Benjamin <matt@linuxbox.nu>
* objcopy.c (struct redefine_node): New.
(redefine_sym_list): New.
(redefine_list_append): New.
(lookup_sym_redefinition): New.
(OPTION_REDEFINE_SYM): New.
(copy_options): Add --redefine-sym option.
(copy_usage): Mention it.
(filter_symbols): Rename symbols on redefine_sym_list.
(copy_object): Call filter_symbols if redefine_sym_list != NULL.
(copy_main): Handle OPTION_REDEFINE_SYM.
2000-04-04 H.J. Lu <hjl@gnu.org>
* readelf.c (process_symbol_table): Correctly read in symbol
versioning information.
2000-04-04 Alan Modra <alan@linuxcare.com.au>
* po/binutils.pot: Regenerate.
* addr2line.c (usage): Restore translated part of bug string.
* 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.
* readelf.c (usage): Likewise.
* size.c (usage): Likewise.
* strings.c (usage): Likewise.
* windres.c (usage): Likewise.
* Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
(DEP): Quote when passing vars to sub-make. Add warning
message to end.
(DEP1): Rewrite for "gcc -MM".
(CLEANFILES): Add DEP2.
Update dependencies.
* Makefile.in: Regenerate.
2000-04-04 H.J. Lu <hjl@gnu.org>
* Makefile.am (GENERATED_HFILES): Add rcparse.h
(arparse.h): Depend on arparse.c
(defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2000-04-03 H.J. Lu (hjl@gnu.org)
* size.c (usage): Use REPORT_BUGS_TO.
2000-04-03 14:10:05 +00:00
2000-04-03 Alan Modra <alan@linuxcare.com.au>
* bucomm.h: #include "bin-bugs.h"
* addr2line.c (usage): Use REPORT_BUGS_TO.
* ar.c (usage): Likewise.
* nlmconv.c (show_usage): Likewise.
* nm.c (usage): Likewise.
(OPTION_TARGET): Define.
(long_options): Use OPTION_TARGET rather than 200.
(main): Likewise.
* objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2000-04-03 14:10:05 +00:00
(strip_usage): Likewise.
* objdump.c (usage): Likewise.
* readelf.c (usage): Likewise.
* strings.c (usage): Likewise.
* windres.c (usage): Likewise.
2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
* readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2000-03-27 Nick Clifton <nickc@cygnus.com>
* rddbg.c (read_section_stabs_debugging_info): Catch out of range
string offsets in corrupt stabs entries.
2000-04-03 14:10:05 +00:00
2000-03-27 Alan Modra <alan@linuxcare.com.au>
2000-03-27 08:39:14 +00:00
* readelf.c: Include elf/avr.h
(dump_relocations): Add EM_AVR case.
2000-03-09 Tim Waugh <twaugh@redhat.com>
* strings.1: Correct '-bytes' to '--bytes'.
2000-03-08 H.J. Lu <hjl@gnu.org>
* Makefile.am (install-exec-local): Depend on
install-binPROGRAMS for parallel make.
* Makefile.in: Regenerated.
2000-02-27 Ian Lance Taylor <ian@zembu.com>
From Brad Lucier <lucier@math.purdue.edu>:
* readelf.c (process_dynamic_segment): Add cast to make sure
argument to %* is int.
2000-02-25 H.J. Lu <hjl@gnu.org>
* configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2000-02-24 Nick Clifton <nickc@cygnus.com>
* configure.in: Add arm-wince, mips-pe and sh-pe targets.
* configure: Regenerate.
* dlltool.c: Add support for sh-pe and mips-pe targets.
* rescoff.c: Add support for sh-pe and mips-pe targets.
2000-02-23 23:19:46 +00:00
2000-02-23 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2000-02-22 19:56:41 +00:00
2000-02-22 Nick Clifton <nickc@cygnus.com>
* readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2000-02-22 Ian Lance Taylor <ian@zembu.com>
From Brad Lucier <lucier@math.purdue.edu>:
* readelf.c (process_version_sections): Add casts to make sure
argument to %* is an int.
(process_mips_specific): Add casts to make printf arguments match
format.
2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
* objdump.c (dump_section_header): Change `opb' to unsigned.
(find_symbol_for_address): Same here.
(disassemble_data): And here. Change `addr_offset',
`stop_offset', `nextstop_offset' to unsigned long.
(dump_data): Change opb to unsigned.
2000-02-18 Frank Ch. Eigler <fche@redhat.com>
* resrc.c: Remove unmatched #if for cygwin.
2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
* binutils.texi: Document the change of flavor name from atpcs-special
to special-atpcs to prevent name conflict in gdb.
2000-02-08 Timothy Wall <twall@redhat.com>
* objdump.c (show_line): Fix bug preventing printing of the very
first line (line zero) of a file when interlisting source and
assembly. Added option to print entire context from start of file
when the first line from that file is encountered.
2000-02-03 18:12:55 +00:00
2000-02-03 Timothy Wall <twall@redhat.com>
* objdump.c (dump_section_header, find_symbol_for_address,
2000-02-03 18:12:55 +00:00
show_line, disassemble_bytes, disassemble_data, dump_data):
distinguish between octets and bytes.
2000-01-28 12:38:22 +00:00
2000-01-27 Thomas de Lellis <tdel@windriver.com>
* nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
check to unresolved symbols.
(print_symbol_info_sysv): Ditto.
(print_symbol_info_posix): Ditto.
* binutils.texi: Document new 'V' symclass flag for nm.
2000-01-27 Nick Clifton <nickc@redhat.com>
* binutils.texi (objdump): Document new ARM specific
disassembler options.
* objdump.c (usage): Call disassembler_usage().
2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
* readelf.c (get_dynamic_flags): Return buff.
(process_dynamic_segment): Don't pass error strings to printf
as format arg.
(read_and_display_attr): Use lx and ld to print longs.
(process_corefile_note_segment): Cast bfd_vma to unsigned long
before printing.
Update copyright.
2000-01-17 18:09:34 +00:00
2000-01-17 Nick Clifton <nickc@cygnus.com>
* readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
* debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
false.
(debug_tag_type): Here too.
* ieee.c (ieee_builtin_type): And here.
* stabs.c (parse_stab_type, parse_stab_array_type): And here.
2000-01-13 20:13:35 +00:00
2000-01-13 Nick Clifton <nickc@cygnus.com>
* readelf.c (get_machine_name): Change EM_S370 to return "IBM
System/370".
2000-01-11 Nick Clifton <nickc@cygnus.com>
* readelf.c (get_dynamic_type): Remove DT_ENCODING.
2000-01-10 Nick Clifton <nickc@cygnus.com>
* readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
* windres.c (long_options): Add --use-temp-file and
--no-use-temp-file options.
(usage): Document.
(main): Handle.
* windres.h: Update read_rc_file prototype.
* resrc.c (cpp_temp_file): New static variable.
(istream_type): New static variable.
(close_pipe): Delete function.
(run_cmd): New static function.
(open_input_stream): New static function.
(close_input_stream): New static function.
(look_for_default): Handle DOS directory separator. Use
open_input_stream instead of popen.
(read_rc_file): Likewise.
* binutils.texi: Document --use-temp-file, --no-use-temp-file
options.
2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (create_compat_implib): New variable.
(gen_exp_file): Use.
(make_one_lib_file): Use.
(long_options): Add --compat-implib option.
(usage): Handle.
(main): Handle.
* dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
(main): Use. Don't look for "32" in cygwin and mingw target names.
2000-01-03 Nick Clifton <nickc@cygnus.com>
* binutils.texi: Document new, ARM specific disassembler
command line switch "-M force-thumb".
1999-05-03 07:29:11 +00:00
2001-01-11 19:01:42 +00:00
For older changes see ChangeLog-9899
1999-05-03 07:29:11 +00:00
Local Variables:
mode: change-log
left-margin: 8
fill-column: 74
version-control: never
End: