* emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro.
commit6a1ad27af446103dca523ca5ee6486b96d083eaf
authorNick Clifton <nickc@redhat.com>
Fri, 16 Oct 2009 15:15:38 +0000 (16 15:15 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 16 Oct 2009 15:15:38 +0000 (16 15:15 +0000)
tree095988e9d12ec6b6f5429d991794068313d253ee
parent95a5bbff375ab10b80f5fddcf7c5ce61a8867224
    * emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro.
        (gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option
        to exclude all symbols from automatic export.
        (gld_${EMULATION_NAME}_list_options): Describe it.
        (gld${EMULATION_NAME}_handle_option): Handle it.
        * emultempl/pep.em: Likewise to all the above.
        * pe-dll.c (pe_dll_exclude_all_symbols): New variable.
        (process_def_file_and_drectve): Use it.
        * pe-dll.h (pe_dll_exclude_all_symbols): Declare.
        * pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias.
        * pep-dll.h (pe_dll_exclude_all_symbols): Declare.
        * NEWS: Mention the new feature.
        * ld.texinfo: Document the new command line switch.
ld/ChangeLog
ld/NEWS
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/ld.texinfo
ld/pe-dll.c
ld/pe-dll.h
ld/pep-dll.c
ld/pep-dll.h