Add --identify-strict option. Handle ms-style implibs:
authorNick Clifton <nickc@redhat.com>
Tue, 13 Jan 2009 09:23:51 +0000 (09:23 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 13 Jan 2009 09:23:51 +0000 (09:23 +0000)
commit71c57c1668a60d27a82086f766e636a8b017e410
tree0ed7dd13f2410d1cacfb60ae7636fcd00b97d61f
parent840b96a7696ae6c1ffe1235da916d5151a58ea07
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.
binutils/ChangeLog
binutils/NEWS
binutils/dlltool.c
binutils/doc/binutils.texi