2012-03-14 Kai Tietz <ktietz@redhat.com>
authorKai Tietz <kai.tietz@onevision.com>
Wed, 14 Mar 2012 19:00:03 +0000 (19:00 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Wed, 14 Mar 2012 19:00:03 +0000 (19:00 +0000)
commitaeb1f0e80e1dea7b8a909d1add94d0200abb1197
treed1941c45be070489137543ece290ee4bad00808d
parentec82c18e8a89ebba8f141efa6b35c6571db6355e
2012-03-14  Kai Tietz  <ktietz@redhat.com>
    Pascal Obry  <pascal@obry.net>

* pe-dll.c (found_sym): New static variable.
(undef_count): Likewise.
(key_value): New structure.
(undef_sort_cmp): Compare routine for qsort/bsearch.
(pe_find_cdecl_alias_match): Add new argument.
(pe_undef_alias_cdecl_match): Removed.
(pe_undef_count): New helper routine.
(pe_create_undef_table): Likewise.
(pe_process_import_defs): Use pe_create_undef_table and
new pe_undef_alias_cdecl_match function.
ld/ChangeLog
ld/pe-dll.c