X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2FChangeLog;h=ff79e20e7742c424fbe5f4a0a81d952c3fcaadda;hb=d8045f234d8865a7a7bfce71e81fcbeaf4098a7e;hp=a45b6e0157376ba4a9504ba7c9bc997c4d664cd4;hpb=961c521ff952676089e85d64d712fcd3d192e4e0;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a45b6e0157..268d75e1c4 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,394 +1,466 @@ -2008-05-01 Nick Clifton +2009-04-30 Nick Clifton - * readelf.c (print_symbol): Add code to display non-printing - characters. + * readelf.c (dump_relocations): Display a relocation against an + ifunc symbol as if it were a function invocation. + (get_symbol_type): Handle STT_GNU_IFUNC. -2008-04-30 John Heidemann +2009-04-29 Anthony Green - * doc/binutils.texi (strings): Add "unicode" to the documentation - of strings in order to make explicit that it supports this - feature. + * NEWS: Tweak verilog support description. -2008-04-30 Alan Modra +2009-04-29 Alan Modra + Denis Scherbakov - * readelf.c (process_program_headers): Correct section in segment - display. + * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table + read, and merge with 32-bit case. -2008-04-28 M Thomas - Nick Clifton +2009-04-27 Anthony Green - PR binutils/6449 - * objdump.c (slurp_file): Open the file in binary mode. - * ar.c: Remove conditional definition of O_BINARY. - * bin2.c: Likewise. - * rename.c: Likewise. - * strings.c: Likewise. - * sysdep.h: Add conditional definition of O_BINARY. + * NEWS: Mention verilog support added to bfd. -2008-04-23 Paolo Bonzini +2009-04-27 H.J. Lu - * aclocal.m4: Regenerate. - * configure: Regenerate. + * objcopy.c (copy_object): Copy pe_opthdr before changing PE + parameters. -2008-04-16 Jean-Yves Lefort - - PR binutils/6034 - * objcopy.c (stuct symlist): Rename to - is_specified_symbol_predicate_data. - (strip_specific_list): Rename to strip_specific_htab. - (strip_unneeded_list): Rename to strip_unneeded_htab. - (keep_specific_list): Rename to keep_specific_htab. - (localize_specific_list): Rename to localize_specific_htab. - (globalize_specific_list): Rename to globalize_specific_htab. - (keepglobal_specific_list): Rename to keepglobal_specific_htab. - (weaken_specific_list): Rename to weaken_specific_htab. - (eq_string): New function. - (create_symbol_htab): New function. - (create_symbol_htabs): New function. - (add_specific_symbol): Change to use hash tables. - (is_specified_symbol_predicate): New function. - (is_specified_symbol): Use hash table lookup. - (is_strip_section): Update to use new functions and hash tables. - (filter_symbols): Likewise. - (copy_object): Likewise. - (copy_section): Likewise. - (strip_main): Likewise. - (copy_main): Likewise. - (main): Likewise. +2009-04-24 Cary Coutant -2008-04-14 David S. Miller + * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator. + Add missing newlines to HP extensions. - * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION. +2009-04-17 H.J. Lu -2008-04-11 Torleif Sandnes + * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd. + * doc/binutils.texi: Likewise. - * dwarf.c (display_debug_lines): Rename to - display_debug_lines_raw. - (display_debug_lines_decoded): New function. Displays the - interpreted contents of a .debug_line section. - (display_debug_lines): New function: Selects either a raw dump or - a decoded dump (or both) as requested by the user. - * dwarf.h (do_debug_lines_decoded): New extern. - * readelf.c: Add support for -wL or --debug-dump=decodedline - option to display the decoded contents of a .debug_line section. - * doc/binutils.texi: Document the new option. - * NEWS: Mention the new feature. +2009-04-17 H.J. Lu -2008-04-08 Alan Modra + PR binutils/10074 + * objcopy.c: Include coff/i386.h and coff/pe.h. + (pe_file_alignment): New. + (pe_heap_commit): Likewise. + (pe_heap_reserve): Likewise. + (pe_image_base): Likewise. + (pe_section_alignment): Likewise. + (pe_stack_commit): Likewise. + (pe_stack_reserve): Likewise. + (pe_subsystem): Likewise. + (pe_major_subsystem_version): Likewise. + (pe_minor_subsystem_version): Likewise. + (set_pe_subsystem): Likewise. + (convert_efi_target): Likewise. + (command_line_switch): Add OPTION_FILE_ALIGNMENT, + OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT, + OPTION_STACK and OPTION_SUBSYSTEM. + (copy_options): Likewise. + (copy_usage): Add --file-alignment, --heap, --image-base, + --section-alignment, --stack and --subsystem. + (copy_object): Set up PE parameters. + (copy_main): Process Add OPTION_FILE_ALIGNMENT, + OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT, + OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to + PEI target. - * dwarf.c: Remove trailing whitespace throughout file. + * NEWS: Mention --file-alignment, --heap, --image-base, + --section-alignment, --stack and --subsystem command line + options for objcopy. -2008-04-04 Nick Clifton + * doc/binutils.texi: Document --file-alignment, --heap, + --image-base, --section-alignment, --stack and --subsystem + command line options for objcopy. - * po/sk.po: Updated Slovak translation. +2009-04-15 Anthony Green + + * MAINTAINERS: Add myself as Moxie port maintainer. + +2009-04-14 Dave Korn + + * objcopy.c (enum long_section_name_handling): New enum type. + (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES. + (copy_options[]): Add entry for --long-section-names option. + (copy_usage): Document it. + (set_long_section_mode): New subroutine. + (copy_file): Call it. + (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg. + * doc/binutils.texi: Update objcopy documentation with details + of new option. -2008-04-03 H.J. Lu +2009-04-01 Dave Korn - * dwarf.c (dwarf_regnames_i386): Add AVX registers. - (dwarf_regnames_x86_64): Likewise. + * dlltool.c (set_dll_name_from_def): Accept new second arg that + indicates if we are building DLL or EXE, and use it to add a + default suffix to the output filename when none is already present. + (def_name): Indicate we are building an EXE when calling it. + (def_library): Indicate we are building a DLL when calling it. -2008-03-27 Cary Coutant +2009-04-01 Jari Aalto - Add support for thin archives. - * ar.c (make_thin_archive): New global flag. - (map_over_members): Deal with full pathnames in thin archives. - (usage, main): Add 'T' option for building thin archives. - (replace_members): Pass thin archive flag to ar_emul_append. - * arsup.c (ar_open): Initialize new flag. - * binemul.c (ar_emul_append): Add new parameter for - flattening nested archives. - (do_ar_emul_default_append): New function. - (ar_emul_default_append): Factored out recursive code. - * binutils/binemul.h (ar_emul_default_append): Add new parameter. - (struct bin_emulation_xfer_struct): New parameter for ar_append. - * dlltool.c (gen_lib_file): Initialize thin archive flag. - * emul_aix.c (ar_emul_aix_internal): Add new flatten - parameter, currently unimplemented. - All callers changed. - * objcopy.c (copy_archive): Preserve thin archive flag. - * doc/binutils.texi: Update ar documentation. - * NEWS: Mention the new feature. + PR 9972 + * doc/binutils.texi (strings): Document the -V alias for the + --version option. + * strings.c (usage): Likewise. -2008-03-20 H.J. Lu +2009-03-31 Nick Clifton - * readelf.c (process_mips_specific): Declare addr_size as int. + PR 9992 + * configure.in: Import Solaris specific largefile test from + bfd/configure.in. + * configure: Regenerate. + +2009-03-30 Richard Sandiford -2008-03-20 Richard Sandiford + * MAINTAINERS: Add self. - * readelf.c (print_mips_got_entry): New function. - (process_mips_specific): Print GOT information. +2009-03-27 Nick Clifton -2008-03-17 Ralf Wildenhues + * dwarf.c (display_debug_ranges): Add the base address to the + displayed values for 'Begin' and 'End'. - * aclocal.m4: Regenerate. - * configure: Likewise. - * Makefile.in: Likewise. - * doc/Makefile.in: Likewise. +2009-03-25 Ryan Mansfield -2008-03-16 Brian Dessent + * readelf.c (process_file_header): Don't report a corrupt string + table index if it is zero. - * rcparse.y (resid): Allow control text to span multiple lines. +2009-03-19 H.J. Lu + + * dwarf.c (dwarf_regnames): Moved before frame_need_space. + (dwarf_regnames_count): Likewise. + (frame_need_space): Return int. + (display_debug_frames): Check invalid registers. -2008-03-13 Alan Modra +2009-03-19 H.J. Lu - * readelf.c: Use %u throughout when printing sh_link or sh_info, - %lu when printing sh_addralign. - (process_version_sections): Use identical formats when printing - all offset and sh_link fields. + * readelf.c (debug_apply_relocations): Check relocations + against STT_SECTION symbol. -2008-03-13 Alan Modra +2009-03-18 H.J. Lu + * readelf.c (debug_apply_relocations): Allow relocations + against function symbols. + +2009-03-18 Alan Modra + + * sysdep.h: Include alloca-conf.h instead of config.h and remove + existing #if's handling alloca. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * configure: Regenerate. -2008-03-12 Alan Modra +2009-03-14 Richard Sandiford - PR 5900 - * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete. - Remove use throughout file. - (SECTION_HEADER): Likewise. - (dump_relocations): Don't adjust st_shndx for reserved range. - (process_file_header): Mask SHN_XINDEX to values seen in external - elf structs. Simplify valid section index tests. - (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX. - Map reserved st_shndx to internal form. - (process_section_groups): Test that group symbol st_shndx is in - range, not just non-zero. Delete reserved range check. - (get_symbol_index_type): Mask "type" to 16 bits when printing PRC, - OS or RSV. + * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. + * configure.in: Likewise. + * configure: Regenerate. -2008-03-09 Paul Brook +2009-03-13 H.J. Lu - * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16". + PR binutils/9945 + * objcopy.c (copy_object): Clear HAS_RELOC when stripping all. -2008-03-03 James E. Wilson +2009-03-11 Chris Demetriou - * MAINTAINERS: Update my email address. + * ar.c (deterministic): New global variable. + (main): Recognize new 'D' option, which enables 'deterministic mode'. + (usage): Document new 'D' option. + (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's + flags if deterministic mode was requested. + * doc/binutils.texi (ar): Document deterministic mode ('D' option). -2008-03-03 Nick Clifton +2009-03-09 H.J. Lu - * dwarf.c (decode_location_expression): Handle - DW_OP_PGI_omp_thread_num. + PR binutils/9933 + * objcopy.c (filter_symbols): Properly handle common symbols + in relocatable file. -2008-03-01 Alan Modra +2009-03-06 Nick Clifton - * objdump.c (objdump_print_addr): Initialise "sym". + * po/es.po: Updated Spanish translation. -2008-02-27 Justin Pryzby - Nick Clifton +2009-03-05 Nick Clifton - * ar.c (usage): Mention -t command line switch. - * doc/binutils.texi (ranlib): Document -t command line switch. + * objdump.c (disassemble_section): If the computed next offset is + not beyond the current offset then just continue to the end. -2008-02-26 Nick Clifton +2009-03-04 Tristan Gingold - * objdump.c (objdump_print_addr): If displaying file offsets, show - the offset even if there are no symbols available. - (dump_section): Display nothing if none of the section is going to - be dumped. Display the file offset, if requested, of the location - from where the dump starts. - * doc/binutils.texi (objdump): Mention that dumping via the -s - switch is also affected by the -F option. + * MAINTAINERS: Add myself as VMS maintainer. -2008-02-26 Nick Clifton +2009-03-03 Nick Clifton - Re-apply this patch which was accidentally deleted: - 2006-05-16 Carlos O'Donell + * readelf.c: Update formatting. - * doc/binutils.texi: Use "Binutils Index" for index name. +2009-03-03 Alan Modra -2008-02-22 Nick Clifton + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. - * objdump.c (display_file_offsets): New variable. - (long_options): Add -F/--file-offsets. - (objdump_print_addr_with_sym): If displaying file offsets, print - the offset of the given address. - (disassemble_bytes): If displaying file offsets, tell the user how - many zeroes are skipped and the file offset of the point where - dumping resumes. - (disassemble_section): Only display the name of the section if - data is going to be dumped from it. - (main): Handle new option. Produce error messages if the start or - stop addresses do not make sense. - * doc/binutils.texi: Document the new feature. - * NEWS: Mention the new feature. +2009-03-03 Alan Modra -2008-02-15 Chu Li - Nick Clifton + * objdump.c (disassemble_section): Mask address before sign extending. - PR binutils/5713 - * strings.c (integer_arg): Delete function. - (string_min): Initialise to 4. - (main): Use strtoul to parse integer arguments. - Move check for an invalid string length to after all the arguments - have been parsed. - (usage): Use indentation to indicate that - is a another form - of the --bytes= command line option. +2009-03-02 Sebastian Biallas -2008-02-12 Nick Clifton + * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type. + (parse_ieee_bb): Set the filename if it has not already been + discovered. - * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to - the argument. - (scan_obj_filename): Do not drop the const qualifier when calling - mcore_elf_cache_filename. - (struct fname_cache): Add const qualifier to filename field. +2009-03-02 Cary Coutant -2008-02-08 H.J. Lu + * readelf.c (adjust_relative_path): New function. + (struct archive_info): New type. + (setup_archive): New function. + (release_archive): New function. + (setup_nested_archive): New function. + (get_archive_member_name): New function. + (get_archive_member_name_at): New function. + (make_qualified_name): New function. + (process_archive): Factor out code for reading archive index and + long filename table to setup_archive. Add support for thin archives. - PR binutils/5713 - * strings.c (main): Set string_min to 4 if it is <= 0. +2009-03-02 Nick Clifton -2008-02-07 Alan Modra + * po/sk.po: Updated Slovak translation. - * objdump.c (main): Don't pass unadorned NULL to concat. +2009-03-01 Ralf Wildenhues -2008-02-04 H.J. Lu + * configure: Regenerate. - PR 5715 - * configure: Regenerated. +2009-02-23 Cary Coutant -2008-02-03 Adam Nemet + * objdump.c (load_specific_debug_section): New function, from + load_debug_section. + (load_debug_section): Use load_specific_debug_section. + (dump_dwarf_section): Likewise. - * readelf.c (get_machine_flags): Handle Octeon. +2009-02-23 Cary Coutant -2008-01-30 Tristan Gingold + * readelf.c (parse_args): Select all sections explicitly for -w. - * readelf.c (dump_relocations): Decode OpenVMS-specific sections. - (get_ia64_dynamic_type): Decode OpenVMS-specific tags. - (get_dynamic_type): Handle IA64-specific tags. - (get_ia64_section_type_name): Handle OpenVMS-specific sections. - (get_section_type_name): Handle OS-specific sections (and - particularly IA64 OpenVMS one). - (get_elf_section_flags): Makes flags static. Add entries for IA64 and - decode them. +2009-02-09 Kai Tietz -2008-01-29 Nick Clifton + * windres.c (set_endianess): Copy name without leading '-'. - * dwarf.c (print_dwarf_vma): New function. Display the value of a - dwarf_vma type at a specified precision. Use mingw field type - specifier if necessary. - (display_debug_loc): Use dwarf_vma type for begin and end values. - Use print_dwarf_vma to display their values. Use byte_get_signed - in order to correctly detect the -1 escape value. - (display_debug_aranges): Likewise. - (display_debug_ranges): Likewise. +2009-02-09 Tristan Gingold -2008-01-29 Alan Modra + * NEWS: Mention feature match between objdump and readelf for dumping + dwarf info. - * dwarf.c (display_debug_loc): Correct test for base address - entry when 64-bit host dumping 32-bit object. + * doc/binutils.texi (objdump): Document -W/--dwarf improvments to + objdump. -2008-01-29 Alan Modra + * objdump.c (usage): Update documentation for -W/--dwarf. + (enum option_values): Add OPTION_DWARF. + (long_options): --dwarf can accept arguments. + (dump_dwarf_section): Also check enabled field. + (main): Option -W can accept arguments, code moved to + dwarf.c and call dwarf_select_sections_all instead. + * readelf.c (process_section_headers): Remove do_debug_lines_decoded. + (parse_args): Move code to... + * dwarf.c (dwarf_select_sections_by_letters, + dwarf_select_sections_by_names): : ...here (new functions). + (do_debug_lines_decoded): Remove and replaced by ... + (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros. + (display_debug_lines): Adjust for previous change. + (dwarf_select_sections_all): New function. + (debug_displays): Add initializer for enabled field. + * dwarf.h (do_debug_lines_decoded): Remove. + Add prototypes for the new functions. + (struct dwarf_section_display): Add enabled field. - * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU. +2009-02-06 Nick Clifton -2008-01-28 Nick Clifton + * po/vi.po: Updated Vietnamese translation. - PR binutils/5529 - * rclex.c (yylex): Also allow the hypen character. +2009-02-03 Sandip Matte -2008-01-28 H.J. Lu + * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR. - * dwarf.c: Include "elf/common.h". - (eh_addr_size): Changed to int. - (dwarf_regnames_i386): New. - (dwarf_regnames_x86_64): Likewise. - (dwarf_regnames): Likewise. - (dwarf_regnames_count): Likewise. - (init_dwarf_regnames): Likewise. - (regname): Likewise. - (frame_display_row): Properly support different address size. - Call regname to get register name. - (display_debug_frames): Call regname to get register name. - Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register - instead of DW_CFA_def_cfa_reg. +2009-02-03 H.J. Lu - * dwarf.h (init_dwarf_regnames): New. + * NEWS: Move --as-needed change to ... + * ../ld/NEWS: Here. - * objdump.c: Include "elf-bfd.h". - (dump_dwarf): Call init_dwarf_regnames on ELF input. +2009-02-03 Carlos O'Donell - * readelf.c (guess_is_rela): Change argument to int. - (parse_args): Remove the undocumented upper case options for - -wX. - (process_file_header): Call init_dwarf_regnames. + * configure.in: AC_SUBST pdfdir. + * Makefile.am: Add install-pdf, install-pdf-am, + and install-pdf-recursive targets. + * doc/Makefile.am: Define pdf__strip_dir. Add + install-pdf and install-pdf-am targets. + * po/Make-in: Add install-pdf target. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. -2008-01-25 DJ Delorie +2009-02-03 H.J. Lu - * readelf.c (process_section_headers): Add m16c handler. - (is_16bit_abs_reloc): Recognize R_M32C_16. + PR binutils/9784 + * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL. -2008-01-25 Kai Tietz + * doc/binutils.texi: Document --prefix=PREFIX and + --prefix-strip=LEVEL. - * prdbg.c: Correct formatter style use. - * readelf.c: Likewise. - * strings.c: Likewise. + * objdump.c: Include "filenames.h". + (prefix): New. + (prefix_strip): Likewise. + (prefix_length): Likewise. + (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL. + (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP. + (long_options): Likewise. + (show_line): Handle prefix and prefix_strip. + (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP. -2008-01-25 Nick Clifton + * readelf.c (PATH_MAX): Moved to ... + * sysdep.h: Here. - * po/ru.po: Updated Russian translation. +2009-01-31 Alan Modra -2008-01-17 H.J. Lu + * NEWS: Mention --as-needed change. - * MAINTAINERS: Update my email address. +2009-01-29 Alan Modra -2008-01-14 Nick Clifton + PR 9798 + * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename. + (bfd_get_archive_filename): Constify param. + * bucomm.h (bfd_get_archive_filename): Update prototype. + * objcopy.c (RETURN_NONFATAL): Delete. + (copy_unknown_object): Don't call bfd_get_archive_filename for + bfd_nonfatal_message filename, instead just pass bfd. + (copy_object): Likewise. + (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On + bfd_close errors, do not pass the bfd to bfd_nonfatal_message. + (setup_bfd_headers): Fix error message. - * dwarf.c (process_debug_info): Include the CU offset and corrupt - version value when reporting unrecognised DWARF version numbers. - (load_debug_info): Remember a failed attempt to load and parse the - .debug_info section and do not repeat such attempts. - (display_debug_lines): Check the return value from load_debug_info - and return whilst displaying a warning message if the load failed. - (display_debug_loc): Likewise. - (display_debug_ranges): Likewise. - (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries - when the .debug_info section could not be loaded/parsed. - (process_debug_info): Display the length of the compilation unit - in hex, so that it corresponds with the offsets that will follow. - Tell the user if the length was 32-bit or 64-bit. - If a DIE abbreviation could not be found, tell the user the offset - of the DIE. - (free_debug_memory): Do not attempt to free any entries in the - debug_information array if num_debug_info_entries is set to - DEBUG_INFO_UNAVAILABLE. +2009-01-27 Nick Clifton -2008-01-10 Andreas Schwab + PR 9774 + * objdump.c (disassemble_section): When the target uses signed + addresses make sure that we compute signed values. - * readelf.c (is_64bit_abs_reloc): Handle R_S390_64. +2009-01-27 Nick Clifton -2008-01-09 Jakub Zawadzki + * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS + maintainers. - PR binutils/55326 - * bucomm.c (list_supported_architectures): Free architecture list - after use. - * windres.c (set_endianess): Likewise. - * windmc.c (set_endianess): Likewise. +2009-01-26 Nick Clifton -2008-01-08 Kai Tietz + PR 9766 + * dlltool.c (xlate): When strip text after the @ sign, look for + the last one not the first one. - PR binutils/5529 - * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post - characters for name tokens. +2009-01-16 Alan Modra -2008-01-04 Greg McGary + * configure.in (commonbfdlib): Delete. + * configure: Regenerate. - * prdbg.c (print_vma): Print as long long, if host supports it. +2008-01-14 Charles Wilson + + Cleanup code related to --identify option. + + * binutils/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 + dll_name_list_node_type. + Added new typedefs dll_name_list_type, symname_search_data_type, + and identify_data_type. + (identify_append_dll_name_to_list): Renamed to... + (dll_name_list_append): ...here. Changed signature to accept list + argument rather than use global. + (identify_count_dll_name_list): Renamed to... + (dll_name_list_count): ...here. Changed signature to accept list + argument rather than use global. + (identify_print_dll_name_list): Renamed to... + (dll_name_list_print): ...here. Changed signature to accept list + argument rather than use global. + (identify_free_dll_name_list): Renamed to... + (dll_name_list_free_contents): ...here. + (dll_name_list_free): New function. + (dll_name_list_create): New function. + (identify_process_section_p): Changed signature to accept + ms_style_implib argument rather than use global. + (identify_member_contains_symname): Expect incoming void * data to + be symname_search_data_type. + (identify_dll_for_implib): Use new functions dll_name_list_create + and dll_name_list_free. Use new types symname_search_data_type + and identify_data_type to communicate with search routines. + (identify_search_section): Expect incoming void * data to be + identify_data_type. Use its contents rather than global + variables. + +2009-01-13 Charles Wilson + + Add --identify-strict option. Handle ms-style implibs: + + * dlltool.c (file scope): Added new globals identify_ms and + identify_strict. New typedef dll_name_list_type, and globals + identify_dll_name_list_head and identify_dll_name_list_tail. Added + new global identify_member_contains_symname_result. + (identify_append_dll_name_to_list): New function. + (identify_count_dll_name_list): New function. + (identify_print_dll_name_list): New function. + (identify_free_dll_name_list): New function. + (identify_search_archive): Changed signature to take function + pointer to operation to apply to each member, and data to pass on + to that function. + (identify_search_member): Changed signature to accept user data + from caller. + (identify_member_contains_symname): New function. + (identify_dll_for_implib): Rewrite. Now determines whether implib + is ms- or binutils- style, before searching sections for + dllname. Allows multiple dllnames. + (identify_process_section_p): Search alternate section for dllname + when implib is ms-style. + (identify_search_section): Add additional conditions to excludes + candidate sections from consideration. + (usage): Added --identify-strict. + (long_options): Added --identify-strict. + (main): Handle --identify-strict option. + * doc/binutils.texi: Document --identify-strict option. + * NEWS: Document --identify and --identify-strict options. + +2009-01-13 Alan Modra + + PR 7034 + * doc/binutils.texi (objdump -R): Note effect of -d or -D. + +2009-01-13 Alan Modra + + * objdump.c (disassemble_section): Don't assume non-instruction + data if object symbol at given address is in different section. + +2009-01-12 Kai Tietz + + * dlltool.c (create_for_pep): New. + (flush_page): Use create_for_pep instead of using + macro DLLTOOL_MX86_64 clause. + (generate_idata_ofile): Likewise. + (make_one_lib_file): Likewise. + (make_head): Likewise. + (make_tail): Likewise. + (main): Initialize create_for_pep. + +2009-01-08 Kai Tietz + + * dlltool.c (use_nul_prefixed_import_tables): New. + (make_head): Make prefix leading zero prefix element for + idata$4 and idata$5 dependent to new flag. + (usage): Add new option --use-nul-prefixed-import-tables. + (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. + (long_options): Add --use-nul-prefixed-import-tables. + (main): Likewise. + * doc/binutils.texi: Add new option documentation for + --use-nul-prefixed-import-tables. + * NEWS: Add new option. -2008-01-03 Nick Clifton +2009-01-06 Kai Tietz - * dwarf.c (read_and_display_attr_value): Prefix values that are - displayed in hexadecimal with 0x. - For the DW_AT_import attribute display the abbreviation number and - tag of the imported DIE. - (process_debug_info): Warn about lengths that reserved by the - DWARF3 specification. - Provide more information when corrupted DIEs are detected. - Warn if DIE corruption makes the sibling level negative. + * windres.c (set_endianess): Get architecture name + for internal target names like "pe-arm-wince-little". + (find_arch_match): New helper. + * ChangeLog: Reset it. + * ChangeLog-2008: Moved old ChangeLog. -For older changes see ChangeLog-2007 +For older changes see ChangeLog-2008 Local Variables: mode: change-log