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