summaryrefslogtreecommitdiff
path: root/binutils
Commit message (Collapse)AuthorAgeFilesLines
* PR 11225Nick Clifton2010-01-282-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-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-263-4/+9
| | | | | * Makefile.am (bin2c): Add libintl dependance and library. * Makefile.in: Regenerate.
* 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2010-01-212-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.
* binutils/:Ian Lance Taylor2010-01-208-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.
* * readelf.c (process_file_header): Handle e_phnum extension.Alan Modra2010-01-192-1/+14
|
* Remove duplicated entries.H.J. Lu2010-01-151-15/+0
|
* 2010-01-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-142-0/+7
| | | | | * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type and DW_AT_GNAT_descriptive_type.
* 2010-01-13 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-133-48/+9
| | | | | | * ar.c (main): Use lbasename. (normalize): Ditto. * objdump.c (update_source_path): Ditto.
* bfd/Tristan Gingold2010-01-122-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.
* Add --dyn-syms to readelfH.J. Lu2010-01-114-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.
* * NEWS: Mention addition of elfedit.Nick Clifton2010-01-112-0/+4
|
* * po/fi.po: Updated Finnish translation.Nick Clifton2010-01-112-1779/+2430
|
* Sync Libtool from GCC.Ralf Wildenhues2010-01-094-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.
* Change to "Copyright 2010".H.J. Lu2010-01-082-3/+8
|
* Add --input-type and --output-type to elfeditH.J. Lu2010-01-086-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.
* Fix a typoH.J. Lu2010-01-082-1/+5
| | | | | | 2010-01-08 H.J. Lu <hongjiu.lu@intel.com> * doc/binutils.texi: Fix a typo.
* Don't change input_elf_XXX if they are -1H.J. Lu2010-01-082-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-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-082-7/+5
| | | | * ar.c: Remove bfd_special_undocumented_glue prototype.
* Reformat elfedit.cH.J. Lu2010-01-072-2/+5
| | | | | | 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> * elfedit.c (update_elf_header): Reformat.
* Fix indent for --symbols in "readelf -h"H.J. Lu2010-01-072-1/+5
| | | | | | 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (usage): Fix indent for --symbols.
* 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2010-01-072-2/+7
| | | | * doc/binutils.texi: Replace -histogram with --histogram.
* Add elfeditH.J. Lu2010-01-0612-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-06 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-062-2/+7
| | | | | * nm.c (usage): Remove extra blanks. Update copyright.
* Update copyrightH.J. Lu2010-01-053-3/+9
| | | | | | | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> * objcopy.c: Update copyright. * readelf.c: Likewise.
* Remove "Warning: " from error messageH.J. Lu2010-01-052-1/+7
| | | | | | | | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> PR binutils/11130 * objcopy.c (copy_object): Remove "Warning: " from error message.
* PR 11128Nick Clifton2010-01-042-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.
* Updated Russian translation.Nick Clifton2010-01-042-1282/+1951
|
* Move 2009 binutils ChangeLog to ChangeLog-2009.H.J. Lu2010-01-012-1347/+1356
|
* * objcopy.c (add_redefine_syms_file): Avoid symbol bufferNick Clifton2009-12-312-3/+9
| | | | overrun.
* * MAINTAINERS: Update my email address.Alan Modra2009-12-212-4/+8
|
* include/elf/Ulrich Weigand2009-12-182-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.
* Add -Wshadow to the gcc command line options used when compiling the binutils.Nick Clifton2009-12-1125-573/+595
| | | | Fix up all warnings generated by the addition of this switch.
* 2009-12-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-104-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-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-094-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.
* * dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.Cary Coutant2009-12-082-3/+6
| | | | (debug_displays): Remove duplicate entry for debug_pubtypes.
* include/David Daney2009-12-032-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.
* PR binutils/11045Nick Clifton2009-12-036-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.
* PR binutils/11017Nick Clifton2009-12-022-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.
* * readelf.c (get_machine_name, get_osabi_name): Handle moreJoseph Myers2009-12-012-0/+60
| | | | allocated values.
* config:Joseph Myers2009-11-302-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.
* Fix typo: "Dimitry" should be "Dmitry"Nick Clifton2009-11-301-1/+1
|
* * readelf.c: Include xc16x.h.Nick Clifton2009-11-202-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.
* * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.Ben Elliston2009-11-203-8/+14
| | | | | (sysinfo.o): Likewise. * Makefile.in: Regenerate.
* binutils/Ben Elliston2009-11-193-1/+10
| | | | | | | * arlex.l: Enable noinput, nounput flex options. * syslex.l: Likewise. ld/ * ldlex.l: Enable nounput flex option.
* 2009-11-17 Paul Brook <paul@codesourcery.com>Paul Brook2009-11-172-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-16 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2009-11-163-91/+14
| | | | | | * windmc.c (set_endianess): Use bfd_get_target_info. * windres.c (set_endianess): Likewise. (find_arch_match): Removed.
* Updated Indonesian translation.Nick Clifton2009-11-112-904/+1146
|
* binutils/Jan Kratochvil2009-11-115-186/+23
| | | | | | | | | | | | * configure.in: Stop checking for fopen64 and stat64. * strings.c (file_off, file_open, statbuf, file_stat): Remove. (strings_file): Change file_off to file_ptr, file_open to fopen, statbuf to struct stat and file_stat to stat. (get_char): Change parameter type file_off * to file_ptr *. (print_strings): Change parameter and variable `start' type file_off to file_ptr. * configure: Regenerate. * config.in: Regenerate.
* bfd/Jan Kratochvil2009-11-114-43/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. binutils/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. gas/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. gdb/ * configure.ac: Call ACX_LARGEFILE. * aclocal.m4: Call m4_include for ../config/largefile.m4 and ../config/plugins.m4. * configure: Regenerate. * config.in: Regenerate. gprof/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. ld/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate.
* binutils/Jan Kratochvil2009-11-082-1/+5
| | | | * bucomm.c (get_file_size): Update comment for the error return value.