OSDN Git Service

* lto-plugin.c: Include <hashtab.h>
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Aug 2010 14:25:45 +0000 (14:25 +0000)
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Aug 2010 14:25:45 +0000 (14:25 +0000)
commit005affc01b82e370b872b798f8e1f2c873257a8c
treed37207a27d2c22ebb8923ef8f16ac8c6ebd735dd
parent9dc2f741d377017f670dc9183dec0c4f206592f2
* lto-plugin.c: Include <hashtab.h>
        (sym_aux): Add next_conflict field to save conflict chains.
        (plugin_file_info): Add conflicts symtab.
        (parse_table_entry): Initialize aux->next_conflict.
        (process_symtab): Increment found.
        (dump_symtab): Add.
        (finish_conflict_resolution): Add.
        (free_symtab): Add.
        (write_resolution): Remove symbols loop and move into
        dump_symtab. Call dump_symtab for main symbol and conflicts table.
        Call free_symtab to free conflicts table.
        (SWAP): Add.
        (eq_sym): Add.
        (hash_sym): Add.
        (symbol_strength): Add.
        (resolve_conflicts): Add.
        (claim_file_handler): Add n variable. Check return value of
        process_symtab. Call resolve_conflicts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162915 138bc75d-0d04-0410-961f-82ee72b054a4
lto-plugin/ChangeLog
lto-plugin/lto-plugin.c