Unreviewed patch to pe-dll.c: Allow exclusion of whole libs with --export-all
Danny Smith
danny_r_smith_2001@yahoo.co.nz
Mon Dec 10 11:58:00 GMT 2001
More information about the Binutils mailing list
Mon Dec 10 11:58:00 GMT 2001
- Previous message (by thread): [PATCH] Optimize .eh_frame sections in ld, create PT_GNU_EH_FRAME ELF segment (take 2)
- Next message (by thread): Unreviewed patch to pe-dll.c: Allow exclusion of whole libs with --export-all
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I would be grateful if someone could review this patch: http://sources.redhat.com/ml/binutils/2001-11/msg00572.html Following is excerpted form that post: The auto-export feature of ld for pe-dll targets needs an option to exclude whole libs from export. The following patch allows exclusion of specific or all libs. It also adds a few more default lib excludes and scans for backward compat implib symbols (__imp_) 2001-11-22 Danny Smith <dannysmith@users.sourceforge.net> * ld/emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. (longopts): Add new option --exclude-libs. (gld_${EMULATION_NAME}_list_options): Document it. (gld_${EMULATION_NAME}_parse_args): Use it. * ld/pe-dll.h (pe_dll_add_excludes): Add second param to prototype. * ld/pe-dll.c (autofilter_liblist): Add more default libs. (exclude_list_struct): Add field type to distinguish symbols from whole archives. (pe_dll_add_excludes): Set excludes->type. (auto_export): Scan for old __imp_ prefix as well as _imp__ when filtering symbols. Add new variable libname and set to archive basename if abfd. Use it when filtering default and user-specified libarary excludes. Let string "ALL" mean all libs when filtering user-specified libs. http://shopping.yahoo.com.au - Yahoo! Shopping - Free CDs for thousands of Priority Shoppers!
- Previous message (by thread): [PATCH] Optimize .eh_frame sections in ld, create PT_GNU_EH_FRAME ELF segment (take 2)
- Next message (by thread): Unreviewed patch to pe-dll.c: Allow exclusion of whole libs with --export-all
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list