aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2004-01-13 * objcopy.c: Include elf-bfd.h.Jakub Jelinek2-1/+21
(is_strip_section): Don't strip debugging sections if STRIP_NONDEBUG. (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS. * objcopy.c (copy_section): Free relpp if relcount == 0.
2004-01-12Update copyright year.Ian Lance Taylor1-1/+1
2004-01-12 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.Ian Lance Taylor2-1/+310
(stab_demangle_argtypes): Likewise. (stab_demangle_v3_argtypes): New static function. (stab_demangle_v3_arg): New static function.
2004-01-12Fix typo in comment in previous deltaNick Clifton1-1/+1
2004-01-12Do not produce any output if the output file will be emptyNick Clifton2-44/+108
2004-01-07Fix initialisation of debug_line_pointer_sizes array so that it is done as ↵Nick Clifton2-172/+169
needed
2004-01-02 * objcopy.c (filter_bytes): Delete. Move code to..Alan Modra2-19/+19
(copy_section): ..here. Simplify size adjustment. Divide section lma by interleave.
2004-01-02Add Russian translationNick Clifton4-2/+4908
2004-01-02Split ChangeLog files.Alan Modra5-5268/+5294
2003-12-31 * MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.Daniel Jacobowitz2-1/+6
2003-12-29Update pointer_size patchNick Clifton2-51/+130
2003-12-23* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variablesMaciej W. Rozycki3-4/+76
to handle flags for tweaking. (copy_options): New options: impure, pure, readonly-text, writable-text. (copy_usage, copy_object, command_line_switch): Handle the new options. * doc/binutils.texi: Document the new options.
2003-12-22 * objdump.c (disassemble_bytes): Subtract rel_offset from printedJakub Jelinek2-2/+10
reloc address. (disassemble_section): Set rel_offset to section->vma instead of pinfo->buffer_vma.
2003-12-19Add support for m32r-linux target, including a RELA ABI and PIC.Nick Clifton2-1/+5
2003-12-11Add --only-keep-debug to the --help output.Nick Clifton2-0/+7
2003-12-06Fia x comment typo.Kazu Hirata1-1/+1
2003-12-06 * ChangeLog-9197: Fix comment typos.Kazu Hirata8-9/+9
* coffgrok.c: Likewise. * filemode.c: Likewise. * objcopy.c: Likewise. * objdump.c: Likewise. * prdbg.c: Likewise. * stabs.c: Likewise. * unwind-ia64.c: Likewise.
2003-12-04Do not copy the object if the output file's format cannot be set to that ofNick Clifton2-3/+19
the input file. If the input file's format is unknown, fail.
2003-12-03Add "msp" to list of expected architectures.Nick Clifton2-1/+5
2003-11-29 * cxxfilt.c (usage): Mention new -p/--no-params options.Ian Lance Taylor2-1/+6
2003-11-28 * Makefile.am (install-exec-local): Remove common term from stringAlan Modra5-100/+108
comparison. * Makefile.in: Regenerate. * doc/Makefile.am: Don't use $<. * doc/Makefile.in: Regenerate.
2003-11-27Ensure that we have write permission before overwriting a file.Nick Clifton2-6/+15
2003-11-26Add a comment describing the difference between readelf and objdump.Nick Clifton3-1/+31
2003-11-25 * doc/binutils.texi (dlltool): Document dlltool --temp-prefixDanny Smith3-2/+16
option. * dlltool.c (usage): Likewise.
2003-11-23 * cxxfilt.c (long_options): Add --no-params.Ian Lance Taylor3-1/+17
(main): Handle -p/--no-params. * doc/binutils.texi (c++filt): Document -p/--no-params.
2003-11-19 * objdump.c: Wrap long lines, init vars separately from decl.Alan Modra2-19/+47
(disassemble_section): Reset require_sec after call to find_symbol_for_address.
2003-11-14Add new field to disassemble_info structure: symbol_is_valid() and use it toNick Clifton2-53/+70
skip displaying arm elf mapping symbols in disassembly output.
2003-11-13Emit a warning when an archive is created (only shown with -v) in order toNick Clifton2-0/+7
confrom to POSIX specification.
2003-11-11Add new feature to objcopy/strip. The -w switch allows wildcards to be usedNick Clifton6-10/+97
in symbol names.
2003-11-11 * objdump.c: Revert rev 1.81 commit.Alan Modra2-57/+57
2003-11-10Remove "member" from verbose output of "-dv" in order to conform to POSIXNick Clifton3-54/+63
specification.
2003-11-10Expand and consolidate bug reporting details.Alan Modra2-1/+62
2003-11-07Use consistent error messages for missing files.Nick Clifton11-28/+108
Detect directories where an ordinary file is expected.
2003-11-06Fix 'the the' typoNick Clifton3-3/+8
2003-10-30Do not dump the contents of SHT_NOBITS sections - they have no file spaceNick Clifton2-1/+6
assigned to their contents.
2003-10-27 * readelf.c (dump_section): Don't display DEL characters.Alan Modra2-1/+5
2003-10-27 * ChangeLog: Fix typos.Kazu Hirata18-41/+62
* ChangeLog-9197: Likewise. * ChangeLog-9899: Likewise. * NEWS: Likewise. * ar.c: Fix comment typos. * arsup.c: Likewise. * coffgrok.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * dlltool.c: Likewise. * ieee.c: Likewise. * nm.c: Likewise. * objdump.c: Likewise. * prdbg.c: Likewise. * readelf.c: Likewise. * resrc.c: Likewise. * sysinfo.y: Likewise. * windres.c: Likewise.
2003-10-27Do not complain when copying a file format that does not support relocations.Nick Clifton2-4/+23
2003-10-21Set the machine number as well as the architecture when converting from aNick Clifton2-3/+13
binary file to another file type.
2003-10-202003-10-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* targets.c: Replace "struct sec" with "struct bfd_section" * syms.c, sparclynx.c, section.c, opncls.c: Ditto. * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. * aout-tic30.c, aout-target.h: * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. Index: binutils/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * coffgrok.h (coff_section): Replace 'struct sec" with "struct bfd_section". Index: gdb/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * symtab.c: Replace "struct sec" with "struct bfd_section". * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. Index: ld/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * pe-dll.c: Replace "struct sec" with "struct bfd_section". Index: sim/common/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * sim-base.h: Replace "struct sec" with "struct bfd_section".
2003-10-082003-10-06 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+5
* binutils-all/objdump.exp (cpu_expected): Add fr550.
2003-10-07bfd/Changelog:Nathan Sidwell2-50/+46
* libbfd-in.h (_bfd_link_section_stabs): Add string offset parameter. * cofflink.c (coff_link_add_symbols): Deal with split stab sections. * elflink.h (elf_link_add_object_symbols): Deal with split stab sections. * stabs.c (_bfd_link_section_stabs): Add string offset parameter. * libbfd.h: Regenerated. ld/ChangeLog: * ldwrite.c (unsplittable_name): New. (clone_section): Strip existing numeric suffix. Only truncate names for coff targets. (split_sections): Use unsplittable_name. binutils/ChangeLog: * objdump.c (read_section_stabs): Just read one section, return pointer to it. Add size parameter. (print_section_stabs): Add string offset parameter. Adjust. (struct stab_section_names): Add string offset member. (find_stabs_sections): Correct check for split section suffix, adjust read_section_stabs and print_section_stabs calls. (dump_stabs_section): Clear string_offset, free string table.
2003-10-02* resrc.c (define_icon): Fix storage of color attributes 'planes' and 'bitChristopher Faylor2-4/+19
count' in icon groups.
2003-09-30[ binutils/ChangeLog ]Chris Demetriou2-0/+6
2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14. [ gas/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14.
2003-09-30[ bfd/ChangeLog ]Chris Demetriou2-0/+5
2003-09-30 Chris Demetriou <cgd@broadcom.com> * archures.c (bfd_mach_mipsisa64r2): New define. * bfd-in2.h: Regenerate. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2. * cpu-mips.c (I_mipsisa64r2): New enum value. (arch_info_struct): Add entry for I_mipsisa64r2. * elfxx-mips.c (_bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2. (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case. (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2. [ binutils/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2. [ gas/Changelog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs. * configure: Regenerate. * config/tc-mips.c (imm2_expr): New variable. (md_assemble, mips16_ip): Initialize imm2_expr. (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2. (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands. (macro): Handle M_DEXT and M_DINS. (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands. (mips_ip): Likewise. (OPTION_MIPS64R2): New define. (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2). OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2. (md_parse_option): Handle OPTION_MIPS64R2. (s_mipsset): Handle setting "mips64r2" ISA. (mips_cpu_info_table): Add mips64r2. (md_show_usage): Document -mips64r2 option. * doc/as.texinfo: Docuemnt -mips64r2 option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips64r2.d: New file. * gas/mips/cp0sel-names-mips64r2.d: New file. * gas/mips/elf_arch_mips64r2.d: New file. * gas/mips/hwr-names-mips64r2.d: New file. * gas/mips/mips32r2-ill-fp64.l: New file. * gas/mips/mips32r2-ill-fp64.s: New file. * gas/mips/mips64r2-ill.l: New file. * gas/mips/mips64r2-ill.s: New file. * gas/mips/mips64r2.d: New file. * gas/mips/mips64r2.s: New file. * gas/mips/mips.exp: Define "mips64r2" arch, and run new tests. [ include/elf/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_64R2): New define. [ include/opcode/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document +E, +F, +G, +H, and +I operand types. Update documentation of I, +B and +C operand types. (INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines. (M_DEXT, M_DINS): New enum values. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ldmain.c (get_emulation): Ignore "-mips64r2". [ ld/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations with MIPS64r2. [ opcodes/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_arch_choices): Add entry for "mips64r2" (print_insn_args): Add handing for +E, +F, +G, and +H. * mips-opc.c (I65): New define for MIPS64r2. (mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins", "dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh", and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to be supported on MIPS64r2.
2003-09-302003-09-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu8-25/+70
* readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON. (get_symbol_index_type): Likewise. testsuites/ 2003-09-29 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/readelf.exp: Use is_elf_format. * binutils-all/readelf.h: Support IA64/ILP32. * binutils-all/readelf.s: Likewise. * binutils-all/readelf.ss: Likewise. * lib/utils-lib.exp (proc is_elf_format): Copy from ld testsuite. Add ia64-*-hpux*.
2003-09-252003-09-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* readelf.c (process_version_sections): Indent version names.
2003-09-15Fix C90 conversionAnthony Green2-5/+11
2003-09-14 * addr2line.c: Convert to ISO C90 prototypes, change PTR, removeAndreas Jaeger53-4389/+2379
unneeded (void *) casts. * ar.c: Likewise. * arlex.l: Likewise. * arparse.y: Likewise. * arsup.c: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * bucomm.h: Likewise. * budbg.h: Likewise. * budemang.c: Likewise. * budemang.h: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * cxxfilt.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * deflex.l: Likewise. * dlltool.c: Likewise. * dlltool.h: Likewise. * dllwrap.c: Likewise. * emul_aix.c: Likewise. * filemode.c: Likewise. * ieee.c: Likewise. * nlmconv.c: Likewise. * nlmconv.h: Likewise. * nlmheader.y: Likewise. * nm.c: Likewise. * prdbg.c: Likewise. * rclex.l: Likewise. * rcparse.y: Likewise. * rdcoff.c: Likewise. * rddbg.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * rescoff.c: Likewise. * resrc.c: Likewise. * size.c: Likewise. * srconv.c: Likewise. * stabs.c: Likewise. * strings.c: Likewise. * sysdump.c: Likewise. * sysinfo.y: Likewise. * syslex.l: Likewise. * unwind-ia64.c: Likewise. * unwind-ia64.h: Likewise. * version.c: Likewise. * windres.c: Likewise. * windres.h: Likewise. * winduni.c: Likewise. * wrstabs.c: Likewise.
2003-09-10* MAINTAINERS: Update my e-mail address.Jim Wilson2-2/+6