PR binutils/6034
authorNick Clifton <nickc@redhat.com>
Wed, 16 Apr 2008 08:24:21 +0000 (08:24 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 16 Apr 2008 08:24:21 +0000 (08:24 +0000)
commit047c90248e9c567a833995f32f6213a8bac47798
tree0a95b7389c55173bdc1519da48f2ca3722a9f6b8
parentbca18a16dd095af0f9e1eb0c8f684f49a57736a5
    PR binutils/6034
        * objcopy.c (stuct symlist): Rename to
        is_specified_symbol_predicate_data.
        (strip_specific_list): Rename to strip_specific_htab.
        (strip_unneeded_list): Rename to strip_unneeded_htab.
        (keep_specific_list):  Rename to keep_specific_htab.
        (localize_specific_list): Rename to localize_specific_htab.
        (globalize_specific_list): Rename to globalize_specific_htab.
        (keepglobal_specific_list): Rename to keepglobal_specific_htab.
        (weaken_specific_list): Rename to weaken_specific_htab.
        (eq_string): New function.
        (create_symbol_htab): New function.
        (create_symbol_htabs): New function.
        (add_specific_symbol): Change to use hash tables.
        (is_specified_symbol_predicate): New function.
        (is_specified_symbol): Use hash table lookup.
        (is_strip_section): Update to use new functions and hash tables.
        (filter_symbols): Likewise.
        (copy_object): Likewise.
        (copy_section): Likewise.
        (strip_main): Likewise.
        (copy_main): Likewise.
        (main): Likewise.
binutils/ChangeLog
binutils/objcopy.c