| 1 | 2009-01-08 Kai Tietz <kai.tietz@onevision.com> |
| 2 | |
| 3 | * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. |
| 4 | (gld..._add_options): Add new option |
| 5 | --use-nul-prefixed-import-tables. |
| 6 | (gld..._handle_option): Likewise. |
| 7 | * pep.em: Same as for pe.em. |
| 8 | * ld.texinfo: Add new option documentation for |
| 9 | --use-nul-prefixed-import-tables. |
| 10 | * pe-dll.c (pe_use_nul_prefixed_import_tables): New. |
| 11 | (make_head): Make prefix leading zero prefix element for |
| 12 | idata$4 and idata$5 dependent to new flag. |
| 13 | (make_import_fixup_entry): Remove idata4/5 prefix. |
| 14 | * pe-dll.h (pe_use_nul_prefixed_import_tables): New. |
| 15 | * pep-dll.c (pe_use_nul_prefixed_import_tables): New. |
| 16 | * pep-dll.h (pep_use_nul_prefixed_import_tables): New. |
| 17 | * NEWS: Add new option. |
| 18 | |
| 19 | 2009-01-05 Kai Tietz <kai.tietz@onevision.com> |
| 20 | |
| 21 | * emultempl/pe.em: Prefix dollar characters to be outputed in |
| 22 | generated C file. |
| 23 | * emultempl/pep.em: Likewise. |
| 24 | |
| 25 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
| 26 | |
| 27 | * NEWS: Mention new feature --exclude-modules-for-implib. |
| 28 | * ld.texinfo: Document new --exclude-modules-for-implib option. |
| 29 | * pe-dll.c (exclude_list_struct): Change type member from int to |
| 30 | new enumeration exclude_type. |
| 31 | (pe_dll_add_excludes): Accept exclude_type instead of int param. |
| 32 | (auto_export): Replace magic constants by exclude_type values and |
| 33 | handle new choice EXCLUDEFORIMPLIB. |
| 34 | (pe_dll_generate_implib): Accept a pointer to the link_info and |
| 35 | iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open |
| 36 | fresh BFDs for any found and link into import lib archive chain. |
| 37 | * pe-dll.h (exclude_type): Add new enumerated type to replace magic |
| 38 | constants previously used for exclude_list_struct type member. |
| 39 | (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes. |
| 40 | * pep-dll.h (exclude_type, pe_dll_add_excludes, |
| 41 | pe_dll_generate_implib): Likewise to all the above. |
| 42 | * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new |
| 43 | getopts long option code for new --exclude-modules-for-implib option. |
| 44 | (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[]. |
| 45 | (gld_${EMULATION_NAME}_list_options): List usage for it. |
| 46 | (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated |
| 47 | values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB. |
| 48 | (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when |
| 49 | calling pe_dll_generate_implib. |
| 50 | * emultempl/pep.em (options): Define new enumerated value for getopts |
| 51 | long option code for new --exclude-modules-for-implib option. |
| 52 | (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options, |
| 53 | gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish): |
| 54 | Again, likewise to all the above. |
| 55 | |
| 56 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
| 57 | |
| 58 | * pe-dll.c (autofilter_liblist): Add entry for shared libgcc. |
| 59 | (libnamencmp): New function. |
| 60 | (auto_export): Use it in place of strncmp when filtering libraries. |
| 61 | |
| 62 | For older changes see ChangeLog-2008 |
| 63 | \f |
| 64 | Local Variables: |
| 65 | mode: change-log |
| 66 | left-margin: 8 |
| 67 | fill-column: 74 |
| 68 | version-control: never |
| 69 | End: |