2011-05-03 16:33:42 +08:00
|
|
|
|
2011-05-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Add myself as DWARF2 maintainer.
|
|
|
|
|
|
2011-05-02 14:04:11 +08:00
|
|
|
|
2011-05-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/12720
|
|
|
|
|
Revert the following change
|
|
|
|
|
Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
* ar.c (move_members): Plug memory leak.
|
|
|
|
|
(delete_members): Plug memory leak.
|
|
|
|
|
|
2011-04-29 01:23:17 +08:00
|
|
|
|
2011-04-28 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add note about --dwarf-depth, --dwarf-start, and
|
|
|
|
|
dwarf-mode.el.
|
|
|
|
|
* objdump.c (suppress_bfd_header): New global.
|
|
|
|
|
(usage): Update.
|
|
|
|
|
(OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
|
|
|
|
|
(options): Add dwarf-depth and dwarf-start entries.
|
|
|
|
|
(dump_bfd): Use suppress_bfd_header.
|
|
|
|
|
(main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
|
|
|
|
|
* doc/binutils.texi (objcopy): Document --dwarf-depth and
|
|
|
|
|
--dwarf-start.
|
|
|
|
|
(readelf): Likewise.
|
|
|
|
|
* dwarf-mode.el: New file.
|
|
|
|
|
* dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
|
|
|
|
|
(read_and_display_attr_value): Also check debug_info_p.
|
|
|
|
|
(process_debug_info): Handle dwarf_start_die and
|
|
|
|
|
dwarf_cutoff_level.
|
|
|
|
|
* dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
|
|
|
|
|
* readelf.c (usage): Update.
|
|
|
|
|
(OPTION_DWARF_DEPTH): New macro.
|
|
|
|
|
(OPTION_DWARF_START): Likewise.
|
|
|
|
|
(options): Add dwarf-depth and dwarf-start entries.
|
|
|
|
|
(parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
|
|
|
|
|
|
2011-04-28 15:27:30 +08:00
|
|
|
|
2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (display_gdb_index): Support version 5, warn on version 4.
|
|
|
|
|
|
2011-04-27 20:09:48 +08:00
|
|
|
|
2011-04-27 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (process_extended_line_op): Handle
|
|
|
|
|
DW_LNE_HP_source_file_correlation.
|
|
|
|
|
|
2011-04-27 18:02:27 +08:00
|
|
|
|
2011-04-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/da.po: Updated Danish translation.
|
|
|
|
|
|
2011-04-26 21:17:20 +08:00
|
|
|
|
2011-04-21 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_stapsdt_note): New function.
|
|
|
|
|
(process_note): Use it.
|
|
|
|
|
|
2011-04-26 21:09:10 +08:00
|
|
|
|
2011-04-21 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_stapsdt_note_type): New function.
|
|
|
|
|
(process_note): Recognize "stapsdt" notes.
|
|
|
|
|
|
2011-04-26 21:07:47 +08:00
|
|
|
|
2011-04-21 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_corefile_note_segment): Change header field
|
|
|
|
|
widths.
|
|
|
|
|
(process_note): Change field widths.
|
|
|
|
|
|
2011-04-25 22:53:27 +08:00
|
|
|
|
2011-04-21 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_gnu_note): New function.
|
|
|
|
|
(process_note): Use it.
|
|
|
|
|
|
2011-04-22 10:45:24 +08:00
|
|
|
|
2011-04-21 Jie Zhang <jzhang918@gmail.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my email address.
|
|
|
|
|
|
2011-04-13 20:02:36 +08:00
|
|
|
|
2011-04-11 Kai Tietz <ktietz@redhat.com>
|
2011-04-13 15:50:15 +08:00
|
|
|
|
|
|
|
|
|
* windres.c (usage): Add new --preprocessor-arg option.
|
|
|
|
|
(option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
|
|
|
|
|
(option long_options): Add preprocessor-arg option.
|
|
|
|
|
(main): Handle it.
|
|
|
|
|
* doc/binutils.texi: Add documentation for --preprocessor-arg
|
|
|
|
|
option.
|
|
|
|
|
* NEWS: Add line about new --preprocessor-arg option for windres.
|
|
|
|
|
|
2011-04-08 23:28:47 +08:00
|
|
|
|
2011-04-08 John Marino <binutils@marino.st>
|
|
|
|
|
|
|
|
|
|
* arlex.l: Prevent redefinition of YY_NO_UNPUT.
|
|
|
|
|
* syslex.l: Likewise.
|
|
|
|
|
|
2011-04-07 19:40:12 +08:00
|
|
|
|
2011-04-07 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (arm_section_get_word): Handle C6000 relocations.
|
|
|
|
|
(decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
|
|
|
|
|
decode_tic6x_unwind_bytecode, expand_prel31): New functions.
|
|
|
|
|
(decode_arm_unwind): Split out common code from ARM specific bits.
|
|
|
|
|
(dump_arm_unwind): Use expand_prel31.
|
|
|
|
|
(arm_process_unwind): Handle SHT_C6000_UNWIND sections.
|
|
|
|
|
(process_unwind): Add SHT_C6000_UNWIND.
|
|
|
|
|
|
bfd:
* config.bfd (thumb-*-oabi): Don't handle in list of obsolete
targets.
(strongarm*, thumb*, xscale*): Remove architectures.
(strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe*,
thumb-*-pe*, strongarm-*-elf, strongarm-*-coff, xscale-*-elf,
xscale-*-coff): Remove targets.
binutils:
* configure.in (thumb-*-pe*): Remove.
* configure: Regenerate.
binutils/testsuite:
* binutils-all/objcopy.exp (*arm*-*-coff): Change to arm*-*-coff.
(xscale-*-coff, thumb*-*-coff, thumb*-*-pe): Don't handle.
gas:
* configure.tgt (strongarm*be, strongarm*b, strongarm*,
xscale*be|xscale*b, xscale*): Remove architectures.
(thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
gas/testsuite:
* gas/all/gas.exp (*arm*-*-coff): Change to arm*-*-coff.
(thumb*-*-coff, thumb*-*-pe*): Don;t handle.
* gas/arm/arm.exp (*arm*-*-*): Change to arm*-*-*.
(*xscale*-*-*): Don't handle.
* gas/cfi/cfi.exp (xscale*-*): Don't handle.
* gas/elf/elf.exp (*arm*-*-*): Change to arm*-*-*.
(xscale*-*-*): Don't handle.
ld:
* configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
xscale-*-coff, xscale-*-elf): Remove targets.
ld/testsuite:
* ld-selective/selective.exp (xscale-*-*): Don't handle.
* ld-srec/srec.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't
handle.
(*arm*-*-*): Change to arm*-*-*.
(strongarm*-*-coff, xscale*-*-coff, thumb-*-coff*, thumb-*-pe*,
thumb-*-elf*, strongarm*-*-*, thumb-*-*): Remove xfails.
* ld-undefined/undefined.exp (thumb*-*-pe*, thumb*-*-pe*): Remove
commented-out xfails.
(thumb-elf): Remove reference in comment.
* lib/ld-lib.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't
handle.
2011-04-07 01:09:56 +08:00
|
|
|
|
2011-04-06 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.in (thumb-*-pe*): Remove.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2011-04-06 04:42:54 +08:00
|
|
|
|
2011-04-05 Sterling Augustine <augustine.sterling@gmail.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my email address.
|
|
|
|
|
|
2011-04-04 09:35:59 +08:00
|
|
|
|
2011-04-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/12632
|
|
|
|
|
* objcopy.c (copy_unknown_object): Make the archive element
|
|
|
|
|
readable.
|
|
|
|
|
|
2011-04-04 08:34:26 +08:00
|
|
|
|
2011-04-03 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
|
|
|
|
|
accurately, rather than how they are represented internally.
|
|
|
|
|
|
2011-03-31 22:15:31 +08:00
|
|
|
|
2011-03-31 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* makefile.vms (readelf.exe): New target.
|
|
|
|
|
|
2011-03-31 19:08:41 +08:00
|
|
|
|
2011-03-31 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
|
|
|
|
|
|
include/elf/
* tic6x.h (R_C6000_JUMP_SPLOT, R_C6000_EHTYPE,
R_C6000_PCR_H16, R_C6000_PCR_L16): New relocs.
(SHN_TIC6X_SCOMMON): Define.
bfd/
* elf32-tic6x.h (struct elf32_tic6x_params): New.
(elf32_tic6x_setup): Declare.
* elf32-tic6x.c: Include <limits.h>.
(ELF_DYNAMIC_LINKER, DEFAULT_STACK_SIZE, PLT_ENTRY_SIZE): Define.
(struct elf32_tic6x_link_hash_table, struct elf32_link_hash_entry):
New structures.
(elf32_tic6x_link_hash_table, is_tic6x_elf): New macros.
(tic6x_elf_scom_section, tic6x_elf_scom_symbol,
tic6x_elf_scom_symbol_ptr): New static variables.
(elf32_tic6x_howto_table, elf32_tic6x_howto_table_rel,
elf32_tic6x_reloc_map): Add R_C6000_JUMP_SLOT, R_C6000_EHTYPE,
R_C6000_PCR_H16 and R_C6000_PCR_L16.
(elf32_tic6x_link_hash_newfunc, elf32_tic6x_link_hash_table_create,
elf32_tic6x_link_hash_table_free, elf32_tic6x_setup,
elf32_tic6x_using_dsbt, elf32_tic6x_install_rela,
elf32_tic6x_create_dynamic_sections, elf32_tic6x_make_got_dynreloc,
elf32_tic6x_finish_dynamic_symbol, elf32_tic6x_gc_sweep_hook,
elf32_tic6x_adjust_dynamic_symbol): New static functions.
(elf32_tic6x_relocate_section): For R_C6000_PCR_S21, convert branches
to weak symbols as required by the ABI.
Handle GOT and DSBT_INDEX relocs, and copy relocs to the output file
as needed when generating DSBT output.
(elf32_tic6x_check_relocs, elf32_tic6x_add_symbol_hook,
elf32_tic6x_symbol_processing, elf32_tic6x_section_from_bfd_section,
elf32_tic6x_allocate_dynrelocs, elf32_tic6x_size_dynamic_sections,
elf32_tic6x_always_size_sections, elf32_tic6x_modify_program_headers,
elf32_tic6x_finish_dynamic_sections, elf32_tic6x_plt_sym_val,
elf32_tic6x_copy_private_data, elf32_tic6x_link_omit_section_dynsym):
New static functions.
(ELF_MAXPAGESIZE): Define to 0x1000.
(bfd_elf32_bfd_copy_private_bfd_data,
bfd_elf32_bfd_link_hash_table_create,
bfd_elf32_bfd_link_hash_table_free, elf_backend_can_refcount,
elf_backend_want_got_plt, elf_backend_want_dynbss,
elf_backend_plt_readonly, elf_backend_got_header_size,
elf_backend_gc_sweep_hook, elf_backend_modify_program_headers,
elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol,
elf_backend_check_relocs, elf_backend_add_symbol_hook,
elf_backend_symbol_processing, elf_backend_link_output_symbol_hook,
elf_backend_section_from_bfd_section,
elf_backend_finish_dynamic_symbol, elf_backend_always_size_sections,
elf32_tic6x_size_dynamic_sections, elf_backend_finish_dynamic_sections,
elf_backend_omit_section_dynsym, elf_backend_plt_sym_val): Define.
* bfd/reloc.c (BFD_RELOC_C6000_JUMP_SLOT, BFD_RELOC_C6000_EHTYPE,
BFD_RELOC_C6000_PCR_H16, BFD_RELOC_C6000_PCR_S16): Add.
* bfd/bfd-in2.h: Regenerate.
* bfd/libbfd.h: Regenerate.
* config.bfd: Accept tic6x-*-* instead of tic6x-*-elf.
gas/
* config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
static variables.
(md_begin): Initialize them.
(s_tic6x_scomm): New static function.
(md_pseudo_table): Add "scomm".
(tc_gen_reloc): Really undo all adjustments made by
bfd_install_relocation.
* doc/c-tic6x.texi: Document the .scomm directive.
gas/testsuite/
* gas/tic6x/scomm-directive-1.s: New test.
* gas/tic6x/scomm-directive-1.d: New test.
* gas/tic6x/scomm-directive-2.s: New test.
* gas/tic6x/scomm-directive-2.d: New test.
* gas/tic6x/scomm-directive-3.s: New test.
* gas/tic6x/scomm-directive-3.d: New test.
* gas/tic6x/scomm-directive-4.s: New test.
* gas/tic6x/scomm-directive-4.d: New test.
* gas/tic6x/scomm-directive-5.s: New test.
* gas/tic6x/scomm-directive-5.d: New test.
* gas/tic6x/scomm-directive-6.s: New test.
* gas/tic6x/scomm-directive-6.d: New test.
* gas/tic6x/scomm-directive-7.s: New test.
* gas/tic6x/scomm-directive-7.d: New test.
* gas/tic6x/scomm-directive-8.s: New test.
* gas/tic6x/scomm-directive-8.d: New test.
ld/
* emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
GENERATE_SHLIB_SCRIPT): New defines.
(TEXT_START_ADDR): Define differently depending on target.
(.got): Redefine to include "*(.dsbt)".
(SDATA_START_SYMBOLS): Remove, replace with
(OTHER_GOT_SYMBOLS): New.
(OTHER_BSS_SECTIONS): Define only for ELF targets.
* emultempl/tic6xdsbt.em: New file.
* gen-doc.texi: Set C6X.
* ld.texinfo: Likewise.
(Options specific to C6X uClinux targets): New section.
binutils/
* readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
(dump_relocations): Likewise.
binutils/testsuite/
* lib/binutils-common.exp (is_elf_format): Accept tic6x*-*-uclinux*.
ld/testsuite/
* ld-scripts/crossref.exp: Add CFLAGS for tic6x*-*-*.
* ld-elf/sec-to-seg.exp: Remove tic6x from list of targets defining
pagesize to 1.
* ld-tic6x/tic6x.exp: Add support for DSBT shared library/executable
linking tests.
* ld-tic6x/dsbt.ld: New linker script.
* ld-tic6x/dsbt-be.ld: New linker script.
* ld-tic6x/dsbt-overflow.ld: New linker script.
* ld-tic6x/dsbt-inrange.ld: New linker script.
* ld-tic6x/shlib-1.s: New test.
* ld-tic6x/shlib-2.s: New test.
* ld-tic6x/shlib-app-1r.s: New test.
* ld-tic6x/shlib-app-1.s: New test.
* ld-tic6x/shlib-1.sd: New test.
* ld-tic6x/shlib-1.dd: New test.
* ld-tic6x/shlib-app-1.rd: New test.
* ld-tic6x/shlib-app-1rb.rd: New test.
* ld-tic6x/shlib-app-1.sd: New test.
* ld-tic6x/static-app-1rb.od: New test.
* ld-tic6x/shlib-app-1.dd: New test.
* ld-tic6x/shlib-app-1rb.sd: New test.
* ld-tic6x/static-app-1b.od: New test.
* ld-tic6x/static-app-1r.od: New test.
* ld-tic6x/shlib-1rb.rd: New test.
* ld-tic6x/shlib-app-1rb.dd: New test.
* ld-tic6x/shlib-1rb.sd: New test.
* ld-tic6x/shlib-1rb.dd: New test.
* ld-tic6x/shlib-app-1b.od: New test.
* ld-tic6x/tic6x.exp: New test.
* ld-tic6x/static-app-1rb.rd: New test.
* ld-tic6x/shlib-app-1r.od: New test.
* ld-tic6x/static-app-1.od: New test.
* ld-tic6x/static-app-1b.rd: New test.
* ld-tic6x/static-app-1r.rd: New test.
* ld-tic6x/static-app-1rb.sd: New test.
* ld-tic6x/static-app-1b.sd: New test.
* ld-tic6x/static-app-1rb.dd: New test.
* ld-tic6x/static-app-1r.sd: New test.
* ld-tic6x/static-app-1b.dd: New test.
* ld-tic6x/shlib-1b.rd: New test.
* ld-tic6x/static-app-1r.dd: New test.
* ld-tic6x/shlib-app-1b.rd: New test.
* ld-tic6x/shlib-1r.rd: New test.
* ld-tic6x/shlib-app-1r.rd: New test.
* ld-tic6x/shlib-1b.sd: New test.
* ld-tic6x/static-app-1.rd: New test.
* ld-tic6x/shlib-app-1b.sd: New test.
* ld-tic6x/shlib-1r.sd: New test.
* ld-tic6x/shlib-1b.dd: New test.
* ld-tic6x/shlib-app-1r.sd: New test.
* ld-tic6x/shlib-app-1b.dd: New test.
* ld-tic6x/shlib-1r.dd: New test.
* ld-tic6x/static-app-1.sd: New test.
* ld-tic6x/shlib-app-1r.dd: New test.
* ld-tic6x/static-app-1.dd: New test.
* ld-tic6x/shlib-noindex.rd: New test.
* ld-tic6x/shlib-noindex.dd: New test.
* ld-tic6x/shlib-noindex.sd: New test.
* ld-tic6x/got-reloc-local-1.s: New test.
* ld-tic6x/got-reloc-local-2.s: New test.
* ld-tic6x/got-reloc-local-r.d: New test.
* ld-tic6x/got-reloc-global.s: New test.
* ld-tic6x/got-reloc-global-addend-1.d: New test.
* ld-tic6x/got-reloc-global-addend-1.s: New test.
* ld-tic6x/got-reloc-global-addend-2.d: New test.
* ld-tic6x/got-reloc-inrange.d: New test.
* ld-tic6x/got-reloc-overflow.d: New test.
* ld-tic6x/got-reloc-global-addend-2.s: New test.
* ld-tic6x/dsbt-index-error.d: New test.
* ld-tic6x/dsbt-index.d: New test.
* ld-tic6x/dsbt-index.s: New test.
* ld-tic6x/shlib-app-1.od: New test.
* ld-tic6x/shlib-app-1rb.od: New test.
* ld-tic6x/shlib-1.rd: New test.
* ld-tic6x/weak.d: New test.
* ld-tic6x/weak-be.d: New test.
* ld-tic6x/weak.s: New test.
* ld-tic6x/weak-data.d: New test.
* ld-tic6x/common.d: New test.
* ld-tic6x/common.ld: New test.
* ld-tic6x/common.s: New test.
2011-03-31 16:58:28 +08:00
|
|
|
|
2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
|
|
|
|
|
(dump_relocations): Likewise.
|
|
|
|
|
|
binutils/
2011-03-31 Tristan Gingold <gingold@adacore.com>
* readelf.c (get_ia64_vms_note_type): New function.
(print_ia64_vms_note): Ditto.
(process_note): Recognize VMS/ia64 specific notes.
Display them.
(process_corefile_note_segment): Decode VMS notes.
include/elf
2011-03-31 Tristan Gingold <gingold@adacore.com>
* ia64.h (Elf64_External_VMS_Note): New struct.
(NT_VMS_MHD, NT_VMS_LNM, NT_VMS_SRC, NT_VMS_TITLE, NT_VMS_EIDC,
NT_VMS_FPMODE, NT_VMS_LINKTIME, NT_VMS_IMGNAM, NT_VMS_IMGID
NT_VMS_LINKID, NT_VMS_IMGBID, NT_VMS_GSTNAM, NT_VMS_ORIG_DYN)
NT_VMS_PATCHTIME) New macros.
2011-03-31 15:49:45 +08:00
|
|
|
|
2011-03-31 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_ia64_vms_note_type): New function.
|
|
|
|
|
(print_ia64_vms_note): Ditto.
|
|
|
|
|
(process_note): Recognize VMS/ia64 specific notes.
|
|
|
|
|
Display them.
|
|
|
|
|
(process_corefile_note_segment): Decode VMS notes.
|
|
|
|
|
|
2011-03-31 00:09:40 +08:00
|
|
|
|
2011-03-30 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* addr2line.c (translate_addresses): Sign extend the pc
|
|
|
|
|
if sign_extend_vma is enabled.
|
|
|
|
|
|
2011-03-30 23:37:48 +08:00
|
|
|
|
2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_gnu_liblist): Stop memory leak.
|
|
|
|
|
|
2011-03-29 10:06:53 +08:00
|
|
|
|
2011-03-29 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* coffdump.c: Include bfd_stdint.h
|
|
|
|
|
|
2011-03-28 23:24:02 +08:00
|
|
|
|
2011-03-28 Pierre Muller <muller@ics.u-strasbg.fr>
|
|
|
|
|
|
|
|
|
|
* coffdump.c (coff_dump): Correct spelling error.
|
|
|
|
|
(show_usage): Replace SYSROFF by COFF.
|
|
|
|
|
|
2011-03-28 19:58:18 +08:00
|
|
|
|
2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
|
|
|
|
|
|
|
|
|
* coffdump.c (dump_coff_scope): Use double typecast for pointer P
|
|
|
|
|
to allow compilation for all targets.
|
|
|
|
|
|
2011-03-26 01:54:57 +08:00
|
|
|
|
2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (process_debug_info): Use offset_size to determine
|
|
|
|
|
the bit-size of the computation unit's offset.
|
2011-03-26 02:01:58 +08:00
|
|
|
|
(decode_location_expression): Use dwarf_vmatoa function to display
|
|
|
|
|
DW_OP_addr OP.
|
|
|
|
|
(process_debug_info): Use dwarf_vma type for local variables
|
|
|
|
|
length and type_offset.
|
2011-03-26 01:54:57 +08:00
|
|
|
|
|
2011-03-26 01:09:08 +08:00
|
|
|
|
2011-03-25 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* strings.c (print_strings): Plug memory leak.
|
2011-03-26 01:14:02 +08:00
|
|
|
|
* ar.c (move_members): Plug memory leak.
|
2011-03-26 01:17:03 +08:00
|
|
|
|
(delete_members): Plug memory leak.
|
2011-03-26 01:18:54 +08:00
|
|
|
|
(write_archive): Plug memory leak.
|
2011-03-26 01:22:15 +08:00
|
|
|
|
* ieee.c (ieee_add_bb11): Plug memory leak.
|
|
|
|
|
(ieee_function_type): Likewise.
|
|
|
|
|
(ieee_class_baseclass): Likewise.
|
2011-03-26 01:24:28 +08:00
|
|
|
|
* prdbg.c (pr_function_type): Close memory leaks.
|
|
|
|
|
(pr_method_type): Likewise.
|
|
|
|
|
(tg_class_static_member): Likewise.
|
|
|
|
|
(tg_class_method_variant): Likewise.
|
|
|
|
|
(tg_class_static_method_variant): Likewise.
|
2011-03-26 01:46:07 +08:00
|
|
|
|
* stabs.c (parse_stab_enum_type): Fix memory leaks.
|
2011-03-26 01:49:32 +08:00
|
|
|
|
(parse_stab_struct_type): Likewise.
|
|
|
|
|
(parse_stab_struct_fields): Likewise.
|
|
|
|
|
(parse_stab_one_struct_field): Likewise.
|
|
|
|
|
(parse_stab_members): Likewise.
|
|
|
|
|
(stab_demangle_qualified): Likewise.
|
|
|
|
|
* objdump.c (dump_reloc_set): Free malloced memory.
|
2011-03-26 01:51:10 +08:00
|
|
|
|
* bucomm.c (make_tempname): Stop memory leak.
|
2011-03-26 01:09:08 +08:00
|
|
|
|
|
2011-03-25 23:15:52 +08:00
|
|
|
|
2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
|
|
|
|
|
|
|
|
|
Replace bfd_vma type and analog types by dwarf_vma and analogs.
|
|
|
|
|
Use dwarf specific print functions to display these type values.
|
|
|
|
|
* dwarf.h (dwarf_signed_vma): New type;
|
|
|
|
|
(DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
|
|
|
|
|
(DWARF2_External_PubNames): Likewise.
|
|
|
|
|
(DWARF2_External_CompUnit): Likewise.
|
|
|
|
|
(DWARF2_External_ARange): Likewise.
|
|
|
|
|
(read_leb128): Change return type to dwarf_vma.
|
|
|
|
|
* dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
|
|
|
|
|
check byte_size values.
|
|
|
|
|
(dwarf_vmatoa): Change parameter type to dwarf_vma.
|
|
|
|
|
(dwarf_svmatoa): New static function.
|
|
|
|
|
(read_leb128): Change return type to dwarf_vma.
|
|
|
|
|
(read_sleb128): New static function.
|
|
|
|
|
(struct State_Machine_Registers): Change address field type to
|
|
|
|
|
dwarf_vma.
|
|
|
|
|
(process_extended_line_op): Adapt to type changes.
|
|
|
|
|
(fetch_indirect_string): Likewise.
|
|
|
|
|
(idisplay_block): Likewise.
|
|
|
|
|
(decode_location_expression): Likewise.
|
|
|
|
|
(read_and_display_attr_value): Likewise.
|
|
|
|
|
(process_debug_info): Likewise.
|
|
|
|
|
(display_debug_lines_raw): Likewise.
|
|
|
|
|
(display_debug_lines_decoded): Likewise.
|
|
|
|
|
(SLEB macro): Use new read_sleb128 function.
|
|
|
|
|
|
2011-03-17 20:56:35 +08:00
|
|
|
|
2011-03-17 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 12590
|
|
|
|
|
* ar.c (ranlib_main): Init arg_index properly.
|
|
|
|
|
(usage): Describe --target.
|
|
|
|
|
|
2011-03-16 21:00:10 +08:00
|
|
|
|
2011-03-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
|
|
|
|
|
(read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
|
|
|
|
|
DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
|
|
|
|
|
(get_AT_name): Handle DW_AT_GNU_call_site_value,
|
|
|
|
|
DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
|
|
|
|
|
DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
|
|
|
|
|
DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
|
|
|
|
|
DW_AT_GNU_all_source_call_sites.
|
|
|
|
|
(decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
|
|
|
|
|
handling.
|
|
|
|
|
|
|
|
|
|
2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
|
|
|
|
|
(decode_location_expression): Handle DW_OP_GNU_entry_value.
|
|
|
|
|
(read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
|
|
|
|
|
(get_AT_name): Likewise.
|
|
|
|
|
|
2011-03-15 01:37:53 +08:00
|
|
|
|
2011-03-14 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-15 04:51:59 +08:00
|
|
|
|
* objcopy.c (set_pe_subsystem): Free subsystem.
|
|
|
|
|
|
2011-03-15 03:05:39 +08:00
|
|
|
|
* wrstabs.c (stab_start_struct_type): Close memory leak.
|
|
|
|
|
|
2011-03-15 01:48:31 +08:00
|
|
|
|
* readelf.c (process_version_sections): Free symbols.
|
|
|
|
|
|
2011-03-15 01:37:53 +08:00
|
|
|
|
* nm.c (display_rel_file): Free symsizes.
|
|
|
|
|
|
2011-03-10 18:23:37 +08:00
|
|
|
|
2011-03-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_name): Update EM_V850 entry.
|
|
|
|
|
|
2011-03-03 17:38:37 +08:00
|
|
|
|
2011-03-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* objdump.c (usage): Fix single typo.
|
|
|
|
|
* po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
|
|
|
|
|
po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
|
|
|
|
|
|
2011-03-01 08:02:32 +08:00
|
|
|
|
2011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/12523
|
|
|
|
|
* readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
|
|
|
|
|
|
2011-03-01 02:32:52 +08:00
|
|
|
|
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* debug.c (debug_start_source): Use filename_(n)cmp.
|
|
|
|
|
* ieee.c (ieee_finish_compilation_unit): Likewise.
|
|
|
|
|
(ieee_lineno): Likewise.
|
|
|
|
|
* nlmconv.c (main): Likewise.
|
|
|
|
|
* objcopy.c (strip_main): Likewise.
|
|
|
|
|
(copy_main): Likewise.
|
|
|
|
|
* objdump.c (show_line): Likewise.
|
|
|
|
|
(dump_reloc_set): Likewise.
|
|
|
|
|
* srconv.c (main): Likewise.
|
|
|
|
|
* wrstabs.c (stab_lineno): Likewise.
|
|
|
|
|
|
2011-02-24 19:57:26 +08:00
|
|
|
|
2011-02-24 Zachary T Welch <zwelch@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (decode_arm_unwind): Implement decoding of remaining
|
|
|
|
|
ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
|
|
|
|
|
|
ChangeLog include/
2011-02-23 Kai Tietz <kai.tietz@onevision.com>
* dwarf2.h (_ELF_DWARF2_H): Renamed to
_DWARF2_H.
(DWARF2_External_LineInfo, DWARF2_Internal_LineInfo,
DWARF2_External_PubNames, DWARF2_Internal_PubNames,
DWARF2_External_CompUnit, DWARF2_Internal_CompUnit,
DWARF2_External_ARange, DWARF2_Internal_ARange): Removed.
ChangeLog binutils/
2011-02-23 Kai Tietz <kai.tietz@onevision.com>
* dwarf.c (read_leb128): Use bfd_vma instead of
long type.
(dwarf_vmatoa): New helper routine.
(process_extended_line_op): Use for adr bfd_vma
type and print those typed values via BFD_VMA_FMT
or via dwarf_vmatoa for localized prints.
(fetch_indirect_string): Adjust offset's type.
(decode_location_expression): Adjust argument types
and uvalue type.
(read_and_display_attr_value): Likewise.
(read_and_display_attr): Likewise.
(decode_location_expression): Adjust printf format.
(process_debug_info): Likewise.
(display_debug_lines_raw): Likewise.
(display_debug_lines_decoded): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_loc): Likewise.
(display_debug_aranges): Likewise.
* dwarf.h (DWARF2_External_LineInfo,
DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
DWARF2_Internal_CompUnit, DWARF2_External_ARange,
DWARF2_Internal_ARange): Added..
(read_leb128): Adjust return type.
2011-02-23 16:52:34 +08:00
|
|
|
|
2011-02-23 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (read_leb128): Use bfd_vma instead of
|
|
|
|
|
long type.
|
|
|
|
|
(dwarf_vmatoa): New helper routine.
|
|
|
|
|
(process_extended_line_op): Use for adr bfd_vma
|
|
|
|
|
type and print those typed values via BFD_VMA_FMT
|
|
|
|
|
or via dwarf_vmatoa for localized prints.
|
|
|
|
|
(fetch_indirect_string): Adjust offset's type.
|
|
|
|
|
(decode_location_expression): Adjust argument types
|
|
|
|
|
and uvalue type.
|
|
|
|
|
(read_and_display_attr_value): Likewise.
|
|
|
|
|
(read_and_display_attr): Likewise.
|
|
|
|
|
(decode_location_expression): Adjust printf format.
|
|
|
|
|
(process_debug_info): Likewise.
|
|
|
|
|
(display_debug_lines_raw): Likewise.
|
|
|
|
|
(display_debug_lines_decoded): Likewise.
|
|
|
|
|
(display_debug_pubnames): Likewise.
|
|
|
|
|
(display_debug_loc): Likewise.
|
|
|
|
|
(display_debug_aranges): Likewise.
|
|
|
|
|
* dwarf.h (DWARF2_External_LineInfo,
|
|
|
|
|
DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
|
|
|
|
|
DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
|
|
|
|
|
DWARF2_Internal_CompUnit, DWARF2_External_ARange,
|
|
|
|
|
DWARF2_Internal_ARange): Added..
|
|
|
|
|
(read_leb128): Adjust return type.
|
|
|
|
|
|
2011-02-14 05:00:14 +08:00
|
|
|
|
2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2011-02-08 17:40:05 +08:00
|
|
|
|
2011-02-08 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/12467
|
|
|
|
|
* readelf.c (process_program_headers): Issue a warning if there
|
|
|
|
|
are no program headers but the file header has a non-zero program
|
|
|
|
|
header offset.
|
|
|
|
|
(process_section_headers): Issue a warning if there are no section
|
|
|
|
|
headers but the file header has a non-zero section header offset.
|
|
|
|
|
(process_section_groups): Reword the no section message so that it
|
|
|
|
|
can be distinguished from the one issued by process_section_headers.
|
|
|
|
|
|
2011-01-26 18:27:46 +08:00
|
|
|
|
2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (display_gdb_index): Support version 4, warn on version 3.
|
|
|
|
|
|
2011-01-20 02:19:54 +08:00
|
|
|
|
2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_object): Free dynamic_section after use.
|
|
|
|
|
|
2011-01-19 01:43:56 +08:00
|
|
|
|
2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/12408
|
|
|
|
|
* readelf.c (process_archive): Free and reset dump_sects
|
|
|
|
|
after processing each archive member.
|
|
|
|
|
|
2011-01-11 18:46:55 +08:00
|
|
|
|
2011-01-11 Andreas Schwab <schwab@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_symbol): Handle symbol characters as unsigned.
|
|
|
|
|
Whitespace fixes.
|
|
|
|
|
|
2011-01-10 21:51:10 +08:00
|
|
|
|
2011-01-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/da.po: Updated Danish translation.
|
|
|
|
|
|
2011-01-06 19:34:28 +08:00
|
|
|
|
2011-01-06 Vladimir Siminov <sv@sw.ru>
|
|
|
|
|
|
|
|
|
|
* bucomm.c (get_file_size): Check for negative sizes and issue a
|
|
|
|
|
warning message if encountered.
|
|
|
|
|
|
2011-01-02 04:55:48 +08:00
|
|
|
|
2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* version.c (print_version): Update copyright to 2011.
|
|
|
|
|
|
2011-01-02 00:43:53 +08:00
|
|
|
|
For older changes see ChangeLog-2010
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|