aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2010-02-02Add NT_386_XSTATE.H.J. Lu2-0/+6
bfd/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (elfcore_write_xstatereg): New. * elf.c (elfcore_grok_xstatereg): New. (elfcore_write_xstatereg): Likewise. (elfcore_grok_note): Handle NT_X86_XSTATE. (elfcore_write_register_note): Handle .reg-xstate section. binutils/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (get_note_type): Handle NT_X86_XSTATE. include/elf/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * common.h (NT_386_XSTATE): New.
2010-02-01 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when addingNathan Sidwell5-1/+29
sections. testsuite/ * binutils-all/note-1.d: New. * binutils-all/objcopy.exp: Add it.
2010-01-30binutils/testsuite/ChangeLog:Dave Korn8-7/+10
* binutils-all/windres/html.rc: Don't xfail x86_64-*-mingw*. * binutils-all/windres/lang.rc: Likewise. * binutils-all/windres/messagetable.rc: Likewise. * binutils-all/windres/strtab1.rc: Likewise. * binutils-all/windres/strtab2.rc: Likewise. * binutils-all/windres/version.rc: Likewise. * binutils-all/windres/version_cat.rc: Likewise.
2010-01-28 PR 11225Nick Clifton2-21/+93
* objdump.c (only): Replace with linked list. (only_size, only_used): Replace with only_list. (process_section_p): Set seen field on matches sections. (add_only): New function. (free_only_list): New function. (disassemble_section): Check only_list. (main): Use add_only and free_only_list. * gas/pe/aligncomm-c.d: Dump all sections. * ld-sh/refdbg-0-dso.d: Dump all sections.
2010-01-262010-01-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-4/+9
* Makefile.am (bin2c): Add libintl dependance and library. * Makefile.in: Regenerate.
2010-01-212010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2-0/+8
* readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * s390.h (EF_S390_HIGH_GPRS): Added macro definition. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/tc-s390.c (s390_elf_final_processing): New function. * config/tc-s390.h (elf_tc_final_processing): New macro definition. (s390_elf_final_processing): Added prototype. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function. (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
2010-01-20binutils/:Ian Lance Taylor8-23/+74
* objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work with non-ordinary files like /dev/null. binutils/testsuite/: * lib/utils-lib.exp (run_dump_test): Permit option values to use $srcdir to refer to the source directory. * binutils-all/add-section.d: New test. * binutils-all/add-empty-section.d: New test. * binutils-all/empty-file: New test input file. * binutils-all/objcopy.exp: Run new tests.
2010-01-19 * readelf.c (process_file_header): Handle e_phnum extension.Alan Modra2-1/+14
2010-01-15Remove duplicated entries.H.J. Lu1-15/+0
2010-01-142010-01-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+7
* dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type and DW_AT_GNAT_descriptive_type.
2010-01-132010-01-13 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-48/+9
* ar.c (main): Use lbasename. (normalize): Ditto. * objdump.c (update_source_path): Ditto.
2010-01-12bfd/Tristan Gingold2-1/+6
2010-01-12 Tristan Gingold <gingold@adacore.com> * makefile.vms (CFLAGS): Turns warnings into informational messages. binutils/ 2010-01-12 Tristan Gingold <gingold@adacore.com> * makefile.vms (CFLAGS): Turns warnings into informational messages.
2010-01-11Add --dyn-syms to readelfH.J. Lu4-11/+66
binutils/ 2010-01-11 H.J. Lu <hongjiu.lu@intel.com> PR ld/11146 * NEWS: Mention --dyn-syms for readelf. * readelf.c (do_dyn_syms): New. (OPTION_DYN_SYMS): Likewise. (options): Add "dyn-syms". (usage): Add --dyn-syms. (parse_args): Handle OPTION_DYN_SYMS. (process_symbol_table): Handle do_dyn_syms. (process_object): Likewise. (process_archive): Likewise. * doc/binutils.texi: Document --dyn-syms for readelf. Mention symbol hash tables for -D. ld/testsuite/ 2010-01-11 H.J. Lu <hongjiu.lu@intel.com> PR ld/11146 * ld-elf/dynsym1.d: New.
2010-01-11 * NEWS: Mention addition of elfedit.Nick Clifton2-0/+4
2010-01-11* po/fi.po: Updated Finnish translation.Nick Clifton2-1779/+2430
2010-01-09Sync Libtool from GCC.Ralf Wildenhues4-445/+573
/: * libtool.m4: Sync from git Libtool. * ltmain.sh: Likewise. * ltoptions.m4: Likewise. * ltversion.m4: Likewise. * lt~obsolete.m4: Likewise. sim/iq2000/: * configure: Regenerate. sim/d10v/: * configure: Regenerate. sim/m32r/: * configure: Regenerate. sim/frv/: * configure: Regenerate. sim/: * avr/configure: Regenerate. * cris/configure: Regenerate. * microblaze/configure: Regenerate. sim/h8300/: * configure: Regenerate. sim/mn10300/: * configure: Regenerate. sim/erc32/: * configure: Regenerate. sim/arm/: * configure: Regenerate. sim/m68hc11/: * configure: Regenerate. sim/lm32/: * configure: Regenerate. sim/sh64/: * configure: Regenerate. sim/v850/: * configure: Regenerate. sim/cr16/: * configure: Regenerate. sim/moxie/: * configure: Regenerate. sim/m32c/: * configure: Regenerate. sim/mips/: * configure: Regenerate. sim/mcore/: * configure: Regenerate. sim/sh/: * configure: Regenerate. gprof/: * Makefile.in: Regenerate. * configure: Regenerate. opcodes/: * Makefile.in: Regenerate. * configure: Regenerate. gas/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. ld/: * configure: Regenerate. gdb/testsuite/: * gdb.cell/configure: Regenerate. binutils/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. bfd/: * Makefile.in: Regenerate. * configure: Regenerate. bfd/doc/: * Makefile.in: Regenerate.
2010-01-08Change to "Copyright 2010".H.J. Lu2-3/+8
2010-01-08Add --input-type and --output-type to elfeditH.J. Lu6-14/+123
binutils/ 2010-01-08 H.J. Lu <hongjiu.lu@intel.com> * elfedit.c (input_elf_type): New. (output_elf_type): Likewise. (elf_type): Likewise. (update_elf_header): Support updating ELF file type. (command_line_switch): Add OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. (options): Likewise. (usage): Add --input-type and --output-type. (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check one of --output-mach and --output-type must be specified. * doc/binutils.texi: Document --input-type and --output-type for elfedit. binutils/testsuite/ 2010-01-08 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/elfedit-2.d: New. * binutils-all/elfedit.exp: Run elfedit-2.
2010-01-08Fix a typoH.J. Lu2-1/+5
2010-01-08 H.J. Lu <hongjiu.lu@intel.com> * doc/binutils.texi: Fix a typo.
2010-01-08Don't change input_elf_XXX if they are -1H.J. Lu2-14/+18
2010-01-08 H.J. Lu <hongjiu.lu@intel.com> * elfedit.c (update_elf_header): Don't change input_elf_class nor input_elf_machine if they are -1.
2010-01-082010-01-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-7/+5
* ar.c: Remove bfd_special_undocumented_glue prototype.
2010-01-07Reformat elfedit.cH.J. Lu2-2/+5
2010-01-07 H.J. Lu <hongjiu.lu@intel.com> * elfedit.c (update_elf_header): Reformat.
2010-01-07Fix indent for --symbols in "readelf -h"H.J. Lu2-1/+5
2010-01-07 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (usage): Fix indent for --symbols.
2010-01-072010-01-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* doc/binutils.texi: Replace -histogram with --histogram.
2010-01-06Add elfeditH.J. Lu12-11/+1309
binutils/ 2010-01-06 H.J. Lu <hongjiu.lu@intel.com> PR binutils/11131 * Makefile.am (ELFEDIT_PROG): New. (bin_PROGRAMS): Add $(ELFEDIT_PROG). (CFILES): Add elfedit.c. (elfedit_DEPENDENCIES): New. (elfedit_SOURCES): Likewise. (elfedit_LDADD): Likewise. * Makefile.in: Regenerated. * elfedit.c: New. * doc/binutils.texi: Document elfedit. * doc/Makefile.am (man_MANS): Add elfedit.1. (elfedit.1): New. * doc/Makefile.in: Regenerated. binutils/testsuite/ 2010-01-06 H.J. Lu <hongjiu.lu@intel.com> PR binutils/11131 * binutils-all/elfedit-1.d: New. * binutils-all/elfedit.exp: Likewise. * config/default.exp (ELFEDIT): New. Set if it doesn't exist. (ELFEDITFLAGS): Likewise. * lib/utils-lib.exp (run_dump_test): Support elfedit.
2010-01-062010-01-06 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+7
* nm.c (usage): Remove extra blanks. Update copyright.
2010-01-05Update copyrightH.J. Lu3-3/+9
2010-01-04 H.J. Lu <hongjiu.lu@intel.com> * objcopy.c: Update copyright. * readelf.c: Likewise.
2010-01-05Remove "Warning: " from error messageH.J. Lu2-1/+7
2010-01-04 H.J. Lu <hongjiu.lu@intel.com> PR binutils/11130 * objcopy.c (copy_object): Remove "Warning: " from error message.
2010-01-04 PR 11128Nick Clifton2-1/+11
* readelf.c (dump_section_as_strings): Use two separate invocations of printf() in order to work around bugs in the Solaris 8 implementation.
2010-01-04Updated Russian translation.Nick Clifton2-1282/+1951
2010-01-01Move 2009 binutils ChangeLog to ChangeLog-2009.H.J. Lu2-1347/+1356
2009-12-31 * objcopy.c (add_redefine_syms_file): Avoid symbol bufferNick Clifton2-3/+9
overrun.
2009-12-21 * MAINTAINERS: Update my email address.Alan Modra2-4/+8
2009-12-18include/elf/Ulrich Weigand2-0/+6
* common.h (NT_S390_HIGH_GPRS): Define. bfd/ * elf.c (elfcore_grok_s390_high_gprs): New function. (elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes. (elfcore_write_s390_high_gprs): New function. (elfcore_write_register_note): Call it. binutils/ * readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
2009-12-11Add -Wshadow to the gcc command line options used when compiling the binutils.Nick Clifton25-573/+595
Fix up all warnings generated by the addition of this switch.
2009-12-102009-12-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-40/+78
* addr2line.c (pretty_print): New variable. (long_options): Add an entry for -p/--pretty-print. (usage): Document -p/--pretty-print. (translate_addresses): Handle pretty_print. Reindent. (main): Handle option -p. * doc/binutils.texi (addr2line): Document -p/--pretty-print. * NEWS: Mention new feature.
2009-12-092009-12-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-3/+38
* addr2line.c (translate_addresses): Display addresses if option -a is used. (with_addresses): New variable. (long_options): Add option '-a'. (usage): Add usage for option '-a'. (main): Handle option '-a'. * doc/binutils.texi (addr2line): Document option '-a'. * NEWS: Mention new feature.
2009-12-08 * dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.Cary Coutant2-3/+6
(debug_displays): Remove duplicate entry for debug_pubtypes.
2009-12-03include/David Daney2-0/+6
2009-12-03 David Daney <ddaney@caviumnetworks.com> Adam Nemet <adambnemet@gmail.com> * elf/mips.h (E_MIPS_MACH_OCTEON2): New machine flag. binutils/ 2009-12-03 David Daney <ddaney@caviumnetworks.com> Adam Nemet <adambnemet@gmail.com> * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
2009-12-03 PR binutils/11045Nick Clifton6-15/+41
* dwarf.c (do_debug_pubtypes): New variable. (dwarf_select_sections_by_names): Handle .debug_pubtypes. (dwarf_select_sections_by_letters): Add 't' for .debug_pubtype. (dwarf_select_sections_all): Set do_debug_pubtypes. (debug_displays): Add support for .debug_pubtypes. * dwarf.h (do_debug_pubtypes): Export. * objdump.c (usage): Add -wt or --dwarf=pubtypes. * readelf.c (usage): Likewise. (process_section_headers): Enable debug display if do_debug_pubtypes is set. * doc/binutils.texi: Document -wt/--dwarf=pubtypes option.
2009-12-02 PR binutils/11017Nick Clifton2-6/+21
* dlltool.c (PAGE_SIZE): Delete. (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE. Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386. * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h * i386lh (COFF_PAGE_SIZE): Define. * x86_64.h (COFF_PAGE_SIZE): Define.
2009-12-01 * readelf.c (get_machine_name, get_osabi_name): Handle moreJoseph Myers2-0/+60
allocated values.
2009-11-30config:Joseph Myers2-14/+23
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET. bfd: * configure: Regenerate. binutils: * configure: Regenerate. gas: * configure: Regenerate. gdb: * configure: Regenerate. gprof: * configure: Regenerate. ld: * configure: Regenerate.
2009-11-30Fix typo: "Dimitry" should be "Dmitry"Nick Clifton1-1/+1
2009-11-20 * readelf.c: Include xc16x.h.Nick Clifton2-1/+24
(dump_relocations): Handle relocations for the xc16x target. (get_machine_name): Accept EM_C166 for xc16x targets. (is_32bit_abs_reloc): Add support for xc16c 32-bit absolute reloc. (is_16bit_abs_reloc): Add support for xc16c 16-bit absolute reloc. (is_none_reloc): Add support for xc16c null reloc.
2009-11-20 * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.Ben Elliston3-8/+14
(sysinfo.o): Likewise. * Makefile.in: Regenerate.
2009-11-19binutils/Ben Elliston3-1/+10
* arlex.l: Enable noinput, nounput flex options. * syslex.l: Likewise. ld/ * ldlex.l: Enable nounput flex option.
2009-11-172009-11-17 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+6
Daniel Jacobowitz <dan@codesourcery.com> gas/ * doc/c-arm.texi: Document .arch armv7e-m. * config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New. (insns): Put Thumb versions of v5TExP instructions into arm_ext_v5exp also. Move some Thumb variants from arm_ext_v6_notm to arm_ext_v6_dsp. (arm_archs): Add armv7e-m architecture. (aeabi_set_public_attributes): Handle -march=armv7e-m. gas/testsuite/ * gas/arm/attr-march-armv7em.d: New test. * gas/arm/arch7em-bad.d: New test. * gas/arm/arch7em-bad.l: New test. * gas/arm/arch7em.d: New test. * gas/arm/arch7em.s: New test. include/elf/ * arm.h (TAG_CPU_ARCH_V7E_M): Define. include/opcode/ * arm.h (ARM_EXT_V6_DSP): Define. (ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP. (ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define. binutils/ * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M. bfd/ * elf32-arm.c (using_thumb_only, arch_has_arm_nop, arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M. (tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test.
2009-11-162009-11-16 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-91/+14
* windmc.c (set_endianess): Use bfd_get_target_info. * windres.c (set_endianess): Likewise. (find_arch_match): Removed.
2009-11-11Updated Indonesian translation.Nick Clifton2-904/+1146