X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2FChangeLog;h=e7bc712729025c67c7e21a80417cbf49c95e3187;hb=8b31b6c4c83c17810ff8ccdbf88c209ba354f2d5;hp=d9c672ace105b9196a14d96d02b858563d3b5501;hpb=57f6e0bcfb8d97a6ab457c64a8801e3d4dcdf7ba;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d9c672ace1..e7bc712729 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,519 @@ +2009-09-11 Philippe De Muyter + + * obcopy.c (copy_object): New parameter `input_arch', architecture + of input file, if not specified in input file itself; all callers + updated; `binary_architecture' hack removed. + (copy_archive, copy_file): New parameter `input_arch', for + `copy_object' usage. + (copy_main): Accept `-B' (`--binary-architecture') option also + for any arch-less input ifile format, not only `binary'; remove + bfd_external_binary_architecture hack; instead, add `input_arch' + to calls to `copy_file'. + * windres.c, windmc.c : Obsolete and useless external references + to `bfd_external_binary_architecture' or `bfd_external_machine' + removed. + * doc/binutils.texi: Mention that -B parameter can be used for any + input file type which does not have its own architecture. + +2009-09-10 Martin Thuresson + + Update soruces to compile cleanly with -Wc++-compat: + + * addr2line.c (slurp_symtab): Fix casts. Introduce variable + minisyms to avoid aliasing varning. + * ar.c: Add casts. + (normalize): Use name del instead of delete. + (display_target_list,display_info_table): Change loop counter + variable a to int. + * bucomm.c: Add casts. + * debug.c: Update function to use new names. + (struct debug_baseclass): Rename member from virtual to + is_virtual. + (struct debug_type_s, struct debug_field_s, struct + debug_baseclass_s, struct debug_method_s, struct + debug_method_variant_s, struct debug_type_s): Rename struct from + avoid name collision. + * debug.h: Use new struct names. + * dwarf.c: Add casts. + (free_debug_memory): Change loop counter variable a to int. + * ieee.c: Add casts. + (enum ieee_var_kind): Move to top level. + (ieee_class_baseclass): Rename parameter virtual to is_virtual. + (ieee_class_method_var): Rename variable virtual to is_virtual. + * nm.c: Add casts. + * objcopy.c: Add casts. + (copy_archive): Rename variable delete to del. + * objdump.c: Add casts. + (dump_dwarf_section): Change loop counter variable i to int. + * prdbg.c: Add casts. + (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual + to is_virtual. + * readelf.c: Add casts. + (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to + top level. + * size.c: Add casts. + * stabs.c (parse_stab_type, parse_stab_range_type, + (parse_stab_cpp_abbrev): Rename parameter from typename to + type_name. + (parse_stab_baseclasses): Rename variable virtual to is_virtual. + * strings.c: Add casts. + * wrstabs.c (stab_class_baseclass): Rename parameter virtual to + is_virtual. + +2009-09-09 Nick Clifton + + PR 10478: + readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and + SHF_ORDERED. + (process_section_headers): Warn about out of range sh_link + values. When displaying detailed section header information + annote the SHN_BEFORE and SHN_AFTER values. + +2009-09-08 Alan Modra + + * dwarf.c (byte_get_little_endian): Handle size of 3. + (byte_get_big_endian): Likewise. + * readelf.c (byte_put_little_endian): Likewise. + (byte_put_big_endian): Likewise. + (is_24bit_abs_reloc): New function. + (is_none_reloc): Formatting. + (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa + reloc peculiarity. + +2009-09-07 Jan Kratochvil + + * readelf.c (is_none_reloc , is_none_reloc ): + New. + +2009-09-07 Jan Kratochvil + + * dwarf.c (process_debug_info): Support section padding abbrev codes. + +2009-09-07 Tristan Gingold + + * po/binutils.pot: Regenerate. + +2009-09-05 Jan Kratochvil + + * Makefile.am (sysdump.o): Depend on sysroff.c. + * Makefile.in: Regenerate. + +2009-09-05 Martin Thuresson + + * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class, + ieee_read_reference): Rename variables named class to cxxclass. + +2009-09-04 Tristan Gingold + + * BRANCHES: Add binutils-2_20-branch. + +2009-09-04 Tristan Gingold + + * NEWS: Add marker for 2.20. + +2009-09-04 Timo Kreuzer + + * dlltool.c (delayimp_name): Add new global variable + (usage, long_options, main): Add new option "-y" / "--output-delaylib" + (struct mac): Add fields how_dljtab_size, how_dljtab_roff1, + how_dljtab_roff2, how_dljtab, trampoline. + (i386_dljtab): Add binary stub for x86 delay import. + (i386_trampoline): Add text assembly stub for x86 delay import. + (mtable): Add delay import data for M386 and MX86 only. + (make_delay_head): New function. + (make_one_lib_file): New arg delay creates delay-load import stub. + (gen_lib_file): New arg delay likewise. + (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise. + (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import. + (make_tail): Convert hard TABS embedded in strings to "\t" escapes. + * NEWS: Mention new feature. Also fix whitespace. + * doc/binutils.texi: Updated dlltool documentation. + +2009-09-02 Tristan Gingold + + * configure.com: Do not copy makefile.vms-in to makefile.vms + * makefile.vms-in: Renamed to... + * makefile.vms: ... this usual name as it is not processed anymore. + Remove WRITE_DEBUG_OBJS (unused) and reorder object files for + objdump.exe. + +2009-09-01 Ralf Wildenhues + + * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o) + (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct + source file name for generated files which may be in $(srcdir). + * Makefile.in: Regenerate. + +2009-09-01 H.J. Lu + + * version.c (print_version): Change to "Copyright 2009". + +2009-09-01 Tristan Gingold + + * makefile.vms-in: Remove unused VERSION variable. Remove unused + dependencies. + * configure.com: Ported to Itanium VMS. Create build.com DCL script. + +2009-08-29 Martin Thuresson + + * nlmconv.c (main): Rename variable new to new_name. + +2009-08-28 H.J. Lu + + * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace + CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD. + (syslex.o): Likewise. + (sysinfo.o): Likewise. + (bin2c$(EXEEXT_FOR_BUILD)): Likewise. + * Makefile.in: Regenerated. + +2009-08-27 Dave Korn + + * doc/binutils.texi (--only-keep-debug): Relocate stray para here ... + (--subsystem): ... from here. + +2009-08-24 Cary Coutant + + * objdump.c (find_symbol_for_address): Avoid costly call to + bfd_octets_per_byte. + +2009-08-24 Ralf Wildenhues + + * Makefile.am (am__skiplex, am__skipyacc): New. + * Makefile.in: Regenerate. + +2009-08-23 Ralf Wildenhues + + * Makefile.am (syslex.o): Depend on sysinfo.h config.h. + * Makefile.in: Regenerate. + +2009-08-22 Ralf Wildenhues + + * Makefile.am (AM_CPPFLAGS): Renamed from ... + (INCLUDES): ... this. + (bin2c$(EXEEXT_FOR_BUILD): Adjust rule. + (installcheck-local): Renamed from ... + (installcheck): ... this. + * Makefile.in: Regenerate. + + * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and + foreign. + (MKDEP, CLEANFILES): Remove now-unneeded variables. + (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove. + (mkdep section): Remove. + (BUILT_SOURCES): New variable, list $(GENERATED_HFILES). + (EXTRA_ar_SOURCES): New, list $(CFILES). + (syslex.o): Depend on syslex.c. + (sysinfo.o): Depend on sysinfo.c. + (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h): + Remove dependencies, now tracked by automake. + (srconv.o): Depend on sysroff.c. + (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o) + (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o) + (rescoff.o, nlmconv.o): Rewrite using automake-style dependency + tracking rules; only list the dependency upon the primary source + file, but no included headers. + * Makefile.in: Regenerate. + + * Makefile.am (install-pdf, install-pdf-recursive, install-html) + (install-html-recursive): Remove. + * Makefile.in: Regenerate. + * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) + (html__strip_dir, install-html, install-html-am): Remove. + * doc/Makefile.in: Regenerate. + + * Makefile.in: Regenerate. + * aclocal.m4: Likewise. + * config.in: Likewise. + * configure: Likewise. + * doc/Makefile.in: Likewise. + +2009-08-17 Nick Clifton + + * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a + 32-bit absolute reloc for the purposes of processing debug + sections. + +2009-08-10 Daniel Gutson + + * readelf.c (get_arm_section_type_name): Added support for + new sections headers. + +2009-08-03 H.J. Lu + + PR binutils/10364 + * objcopy.c (strip_main): Check return from smart_rename. + (copy_main): Likewise. + +2009-07-27 Nick Clifton + + PR 10413 + * objdump.c (dump_section_header): Skip sections that we are + ignoring. + +2009-07-25 H.J. Lu + + * readelf.c (guess_is_rela): Handle EM_L1OM. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + (get_section_type_name): Likewise. + (get_elf_section_flags): Likewise. + (get_symbol_index_type): Likewise. + (is_32bit_abs_reloc): Likewise. + (is_32bit_pcrel_reloc): Likewise. + (is_64bit_abs_reloc): Likewise. + (is_64bit_pcrel_reloc): Likewise. + (is_none_reloc): Likewise. + +2009-07-23 Ulrich Drepper + + * readelf.c (get_symbol_binding): For Linux targeted files return + UNIQUE for symbols with the STB_GNU_UNIQUE binding. + * doc/binutils.texi: Document the meaning of the 'u' symbol + binding in the output of nm and objdump --syms. + +2009-07-20 H.J. Lu + + * NEWS: Mention --insn-width. + + * objdump.c (insn_width): New. + (usage): Display --insn-width. + (option_values): Add OPTION_INSN_WIDTH. + (long_options): Add --insn-width. + (disassemble_bytes): Handle insn_width. + (main): Handle OPTION_INSN_WIDTH. + + * doc/binutils.texi: Document --insn-width. + +2009-07-17 Nick Clifton + + * dwarf.c (display_debug_lines): If do_debug_lines has not been + set then default to displaying raw .debug_line section contents. + +2009-07-14 Jan Kratochvil + + Support unordered .debug_info references to .debug_ranges. + * dwarf.c (struct range_entry, range_entry_compar): New. + (display_debug_ranges): Remove variables last_offset, first, j, + seen_first_offset, use_debug_info and next. New variables + range_entries and range_entry_fill. Create the sorted copy + range_entries. Remove the FIXME error on detected unordered references. + * dwarf.h (debug_info ): New comment. + +2009-07-14 Nick Clifton + + PR 10380 + * README: Document use of LDFLAGS="--static". + +2009-07-10 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + +2009-07-10 Tom Tromey + + * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h. + * Makefile.in: Rebuild. + * dwarf.c: Include dwarf2.h, not elf/dwarf2.h. + +2009-07-06 Tristan Gingold + + * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf + sections. + * dwarf.h (struct dwarf_section_display): Remove eh_frame field. + * dwarf.c (debug_displays): Adjust for removed field. + +2009-07-03 Jakub Jelinek + + * dwarf.c (decode_location_expression): Handle DW_OP_stack_value + and DW_OP_implicit_value. + +2009-07-01 Nick Clifton + + PR 6714 + * rclex.c (handle_quotes): Do not complain about whitespace + separating quoted strings. + (rclex_string): Ignore whitespace when looking for a new opening + quote following a closing quote. + +2009-06-27 H.J. Lu + + PR binutils/10321 + * bucomm.c (get_file_size): Return -1 on error. + + * objcopy.c (copy_file): Report empty file. + +2009-06-23 Nick Clifton + + * dwarf.c (display_debug_lines_raw): Include the name of the + section in warning message. + (struct debug_display): Enable reloc processing for .debug_line + and .debug_ranges sections. + + * readelf.c: Add --relocated-dump command line option to dump the + relocated contents of a specified section. + (request_dump): New function. + (parse_args): Use it. + (dump_section_as_bytes): Add parameter to indicate whether the + contents should be relocated. + (target_specific_reloc_handling): Add code for a R_MN10300_16 + reloc found after a R_MN10300_SYM_DIFF reloc. + (debug_apply_relocations): Rename to apply_relocations. + (get_section_contents): New function. Replaces common code found + in dump_section_as_strings and dump_section_as_bytes. + * doc/binutils.texi: Document new command line option. + * NEWS: Mention the new feature. + +2009-06-22 Nick Clifton + + * readelf.c (target_specific_reloc_handling): New function: + Processes relocs in a target specific manner. + (debug_apply_relocations): Use the new function. + * dwarf.c (display_debug_loc): End the dump with a blank line. + (struct debug_display): Enable reloc processing for .debug_aranges + and .debug_loc sections. + +2009-06-19 Nick Clifton + + * ar.c (usage): Do not use #ifdef inside _("...). + * nm.c (usage): Likewise. + +2009-06-18 Nick Clifton + + PR 10288 + * objdump.c (disassemble_bytes): Set the + USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure + if the user has invoked the -m switch. + * doc/binutils.texi: Document the additional behaviour of + objdump's -m switch for ARM targets. + +2009-06-18 Dave Korn + + * configure.in: Merge cegcc and mingw32ce target name changes from + CeGCC project. + +2007-12-25 Pedro Alves + + * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets. + * configure: Regenerate. + +2009-06-15 Nick Clifton + + PR 10263 + * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in + the flags field of the disassemble_info structure if the -D switch + is in operation. + +2009-06-12 Homer Xing + + * NEWS: Mention new feature added to gprof. + +2009-06-12 John Reiser + + * readelf.c (process_symbol_table): Set gnubuckets to NULL after + freeing it and before returning. + +2009-06-12 Jakub Jelinek + + * readelf.c (process_symbol_table): Don't return early if + .hash/.gnu.hash is empty/unusable and not -D. + +2009-06-09 Tom Bramer + + PR 10165 + * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED + to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types. + +2009-06-04 Alan Modra + + * strings.c (main): Delay parsing of decimal digits. + +2009-06-04 Alan Modra + + * dep-in.sed: Don't use \n in replacement part of s command. + * Makefile.am (DEP1): LC_ALL for uniq. + Run "make dep-am". + * Makefile.in: Regenerate. + +2009-06-03 Tristan Gingold + + * MAINTAINERS: Add myself as Mach-O maintainer. + +2009-06-01 Alan Modra + + PR 10199 + * doc/binutils.texi (nm): Correct -S description. + +2009-05-28 Nick Clifton + + * po/da.po: Updated Danish translation. + +2009-05-28 Nick Clifton + + * readelf.c (display_debug_section): Do not display debug sections + with the NOBITS section type. + +2009-05-27 Rafael Avila de Espindola + + * aclocal.m4: Include ../config/plugins.m4. + * configure.in: Use AC_PLUGINS. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2009-05-27 Rafael Avila de Espindola + + * ar.c (main): Call bfd_plugin_set_program_name. + * nm.c (main): Call bfd_plugin_set_program_name. + +2009-05-27 Nathan Sidwell + + * sysdump.c (tab): Use puts rather than two printfs. + +2009-05-26 Nick Clifton + + * po/id.po: Updated Indonesian translation. + * po/binutils.pot: Updated template file. + +2009-05-26 Rafael Avila de Espindola + + * ar.c: Include plugin.h. + (main): Handle the --plugin option. + * nm.c: Include plugin.h. + (OPTION_PLUGIN): New. + (long_options): Add plugin. + (main): Handle OPTION_PLUGIN. + * NEWS: Mention the new feature. + * doc/binutils: Documement the new command line options. + * configure.in: Check for --enable-plugins. + * configure: Regenerate. + +2009-05-26 Alan Modra + + * dep-in.sed: Output one filename per line with all lines having + continuation backslash. Prefix first line with "A", following + lines with "B". + * Makefile.am (DEP): Don't use dep.sed here. + (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, + sort and uniq. + * Makefile.in: Regenerate. + +2009-05-25 Tristan Gingold + + * makefile.vms-in: Fix CFLAGS, add addr2line.exe target. + + * configure.com: Fix it: handle alloca and define TARGET in config.h. + +2009-05-22 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-05-12 Alan Modra + + * objcopy.c (set_long_section_mode): Check input_bfd is coff + before accessing coff specific fields of bfd. + 2009-05-09 Dave Korn * MAINTAINERS: Add myself as PE/COFF co-maintainer. @@ -374,7 +890,7 @@ Cleanup code related to --identify option. - * binutils/dlltool.c (file scope): Removed globals identify_ms, + * dlltool.c (file scope): Removed globals identify_ms, identify_member_contains_symname_result, identify_dll_name_list_head, and identify_dll_name_list_tail. Renamed existing typedef dll_name_list_type to