diff options
author | Nick Clifton <nickc@redhat.com> | 2009-01-13 09:23:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-01-13 09:23:51 +0000 |
commit | 71c57c1668a60d27a82086f766e636a8b017e410 (patch) | |
tree | 0ed7dd13f2410d1cacfb60ae7636fcd00b97d61f /binutils/mclex.c | |
parent | 840b96a7696ae6c1ffe1235da916d5151a58ea07 (diff) | |
download | gdb-71c57c1668a60d27a82086f766e636a8b017e410.zip gdb-71c57c1668a60d27a82086f766e636a8b017e410.tar.gz gdb-71c57c1668a60d27a82086f766e636a8b017e410.tar.bz2 |
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.
Diffstat (limited to 'binutils/mclex.c')
0 files changed, 0 insertions, 0 deletions