bfd/
[platform/upstream/binutils.git] / ld / ChangeLog
1 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
2
3         * emultempl/spuelf.em (params): Init new fields.
4         (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
5         (spu_place_special_section): Adjust placement for soft-icache.  Pad
6         soft-icache section to a fixed size.  Clear addr_tree.
7         (spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
8         sections a little more intelligently.
9         (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
10         (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
11         (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
12         (OPTION_SPU_LRLIVE): Define.
13         (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
14         (PARSE_AND_LIST_OPTIONS): Likewise.
15         (PARSE_AND_LIST_ARGS_CASES): Handle them.
16         * emultempl/spu_icache.S: Dummy file.
17         * emultempl/spu_icache.o_c: Regenerate.
18         * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
19         (spu_icache.o_c): Add rule to build.
20         (CLEANFILES): Zap temp files.
21         (EXTRA_DIST): Add spu_icache.o_c.
22         * Makefile.in: Regenerate.
23
24 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
25
26         * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
27         (gld..._add_options): Add new option
28         --use-nul-prefixed-import-tables.
29         (gld..._handle_option): Likewise.
30         * pep.em: Same as for pe.em.
31         * ld.texinfo: Add new option documentation for
32         --use-nul-prefixed-import-tables.
33         * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
34         (make_head): Make prefix leading zero prefix element for
35         idata$4 and idata$5 dependent to new flag.
36         (make_import_fixup_entry): Remove idata4/5 prefix.
37         * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
38         * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
39         * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
40         * NEWS: Add new option.
41
42 2009-01-05  Kai Tietz  <kai.tietz@onevision.com>
43
44         * emultempl/pe.em: Prefix dollar characters to be outputed in
45         generated C file.
46         * emultempl/pep.em: Likewise.
47
48 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
49
50         * NEWS:  Mention new feature --exclude-modules-for-implib.
51         * ld.texinfo:  Document new --exclude-modules-for-implib option.
52         * pe-dll.c (exclude_list_struct):  Change type member from int to
53         new enumeration exclude_type.
54         (pe_dll_add_excludes):  Accept exclude_type instead of int param.
55         (auto_export):  Replace magic constants by exclude_type values and
56         handle new choice EXCLUDEFORIMPLIB.
57         (pe_dll_generate_implib):  Accept a pointer to the link_info and
58         iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
59         fresh BFDs for any found and link into import lib archive chain.
60         * pe-dll.h (exclude_type):  Add new enumerated type to replace magic
61         constants previously used for exclude_list_struct type member.
62         (pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
63         * pep-dll.h (exclude_type, pe_dll_add_excludes,
64         pe_dll_generate_implib):  Likewise to all the above.
65         * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
66         getopts long option code for new --exclude-modules-for-implib option.
67         (gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
68         (gld_${EMULATION_NAME}_list_options):  List usage for it.
69         (gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
70         values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
71         (gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
72         calling pe_dll_generate_implib.
73         * emultempl/pep.em (options):  Define new enumerated value for getopts
74         long option code for new --exclude-modules-for-implib option.
75         (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
76         gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
77         Again, likewise to all the above.
78
79 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
80
81         * pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
82         (libnamencmp):  New function.
83         (auto_export):  Use it in place of strncmp when filtering libraries.
84
85 For older changes see ChangeLog-2008
86 \f
87 Local Variables:
88 mode: change-log
89 left-margin: 8
90 fill-column: 74
91 version-control: never
92 End: