* emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro.
authorNick Clifton <nickc@redhat.com>
Fri, 16 Oct 2009 15:15:39 +0000 (15:15 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 16 Oct 2009 15:15:39 +0000 (15:15 +0000)
commit2927aacaee356e861452258500e0b7ace0449977
tree75d3b031ef6f40d1771f59145a1a69e852588a83
parent3873ba12303f6ceec282b213c59e18d2bc061a58
    * 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