PR 9798
[external/binutils.git] / binutils / ChangeLog
index 3012152..b61784e 100644 (file)
@@ -1,3 +1,105 @@
+2009-01-29  Alan Modra  <amodra@bigpond.net.au>
+
+       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.
+
+2009-01-27  Nick Clifton  <nickc@redhat.com>
+
+       PR 9774
+       * objdump.c (disassemble_section): When the target uses signed
+       addresses make sure that we compute signed values.
+
+2009-01-27  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
+       maintainers.
+
+2009-01-26  Nick Clifton  <nickc@redhat.com>
+
+       PR 9766
+       * dlltool.c (xlate): When strip text after the @ sign, look for
+       the last one not the first one.
+
+2009-01-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.in (commonbfdlib): Delete.
+       * configure: Regenerate.
+
+2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
+
+       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  <cygwin@cwilson.fastmail.fm>
+
+       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  <amodra@bigpond.net.au>
 
        PR 7034