b7a94857afe242fad88cd613cc5f25cb864d8961
[platform/upstream/binutils.git] / ld / ChangeLog
1 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
2
3         * NEWS:  Mention new feature --exclude-modules-for-implib.
4         * ld.texinfo:  Document new --exclude-modules-for-implib option.
5         * pe-dll.c (exclude_list_struct):  Change type member from int to
6         new enumeration exclude_type.
7         (pe_dll_add_excludes):  Accept exclude_type instead of int param.
8         (auto_export):  Replace magic constants by exclude_type values and
9         handle new choice EXCLUDEFORIMPLIB.
10         (pe_dll_generate_implib):  Accept a pointer to the link_info and
11         iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
12         fresh BFDs for any found and link into import lib archive chain.
13         * pe-dll.h (exclude_type):  Add new enumerated type to replace magic
14         constants previously used for exclude_list_struct type member.
15         (pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
16         * pep-dll.h (exclude_type, pe_dll_add_excludes,
17         pe_dll_generate_implib):  Likewise to all the above.
18         * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
19         getopts long option code for new --exclude-modules-for-implib option.
20         (gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
21         (gld_${EMULATION_NAME}_list_options):  List usage for it.
22         (gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
23         values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
24         (gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
25         calling pe_dll_generate_implib.
26         * emultempl/pep.em (options):  Define new enumerated value for getopts
27         long option code for new --exclude-modules-for-implib option.
28         (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
29         gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
30         Again, likewise to all the above.
31
32 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
33
34         * pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
35         (libnamencmp):  New function.
36         (auto_export):  Use it in place of strncmp when filtering libraries.
37
38 For older changes see ChangeLog-2008
39 \f
40 Local Variables:
41 mode: change-log
42 left-margin: 8
43 fill-column: 74
44 version-control: never
45 End: