* pe-dll.c: Removed trailing whitespaces.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
2
3 * pe-dll.c: Removed trailing whitespaces.
4
5 2010-05-14 Alan Modra <amodra@gmail.com>
6
7 PR ld/11583
8 * ldexp.c (exp_fold_tree_1): If assignment source expression is
9 invalid, make the destination symbol undefined.
10
11 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
12
13 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
14 Initialize pe(p)_leading_underscore variable.
15 (set_pe_name): Likewise.
16 * emultempl/pep.em: Likewise.
17 Additional change default to non-underscore for
18 pep_leading_underscore equal to -1.
19
20 2010-05-07 Tristan Gingold <gingold@adacore.com>
21
22 * Makefile.in: Regenerate with automake 1.11.1.
23 * aclocal.m4: Ditto.
24
25 2010-05-05 Nick Clifton <nickc@redhat.com>
26
27 * po/es.po: Updated Spanish translation.
28
29 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
30
31 * pe-dll.c (_nm_-symbols): Use always underscored variant
32 for symbols.
33 (__imp_-symbols): Likewise.
34 (___imp_-symbols): Likewise.
35 * NEWS: Mention ABI change for x64 PE-COFF.
36
37 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
38
39 * Makefile.am (install-exec-local): Properly install ld as
40 default cross linker.
41 * Makefile.in: Regenerated.
42
43 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
44 Nick Clifton <nickc@redhat.com>
45
46 * configure.in (install_as_default): Define and set to true
47 unless --enable-gold=both/gold has been specified.
48 * configure: Regenerate.
49
50 * Makefile.am (transform): Use ld.bfd as the default name of
51 the linker.
52 (install-exec-local): Also install the executable as a binary
53 named 'ld' if install_as_default is true.
54 * Makefile.in: Regenerate.
55
56 2010-04-22 Nick Clifton <nickc@redhat.com>
57
58 * po/ld.pot: Updated by the Translation project.
59 * po/vi.po: Updated Vietnamese translation.
60 * po/bg.po: Updated Bulgarian translation.
61
62 2010-04-15 Andrew Haley <aph@redhat.com>
63
64 * emultempl/armelf.em (merge_exidx_entries): New variable.
65 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
66 ("no-merge-exidx-entries"): New option.
67 * ld.texinfo (merge-exidx-entries): Document this option.
68
69 2010-04-14 Tristan Gingold <gingold@adacore.com>
70
71 * emulparams/alphavms.sh: New file.
72 * emultempl/vms.em: New file.
73 * scripttempl/alphavms.sc: New file.
74 * configure.tgt (alpha*-*-*vms*): Added.
75 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
76 (ealphavms.c): New target.
77 * Makefile.in: Regenerate.
78
79 2010-04-09 Nick Clifton <nickc@redhat.com>
80
81 * ldlang.c (wild_sort): Remove unused variable section_name.
82
83 2010-04-07 Alan Modra <amodra@gmail.com>
84
85 * configure: Regenerate.
86
87 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
88
89 PR ld/11434
90 * ld/testsuite/ld-x86-64/unique1.d: New.
91 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
92
93 * ld-x86-64/x86-64.exp: Run unique1.
94
95 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
96
97 * emultempl/pep.em (U): Macro modified.
98 (U_SIZE): New helper macro.
99 (GET_INIT_SYMBOL_NAME): Likewise.
100 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
101 and OPTION_LEADING_UNDERSCORE enumerator-values.
102 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
103 option.
104 (definfo): Add new member is_c_symbol.
105 (D): Add to macro underscore mode parameter.
106 (init): Add definition for is_c_symbol.
107 (gld_${EMULATION_NAME}_list_options): Display new options.
108 (set_pep_name): Adjust underscoring dependent fixed
109 symbol handling.
110 (gld_${EMULATION_NAME}_set_symbols): Likewise.
111 (saw_option): Likewise.
112 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
113 (set_entry_point): Initial initial_symbol_char dependent to
114 target's default and new option flag pep_leading_underscore.
115 * emultempl/pe.em (U): Macro modified.
116 (U_SIZE): New helper macro.
117 (GET_INIT_SYMBOL_NAME): Likewise.
118 (OPTION_LEADING_UNDERSCORE): Add new option define.
119 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
120 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
121 option.
122 (definfo): Add new member is_c_symbol.
123 (D): Add to macro underscore mode parameter.
124 (init): Add definition for is_c_symbol.
125 (gld_${EMULATION_NAME}_list_options): Display new options.
126 (set_pep_name): Adjust underscoring dependent fixed
127 symbol handling.
128 (gld_${EMULATION_NAME}_set_symbols): Likewise.
129 (saw_option): Likewise.
130 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
131 (set_entry_point): Initial initial_symbol_char dependent to
132 target's default and new option flag pep_leading_underscore.
133 * pe-dll.c (pe_leading_underscore): New flag variable.
134 (pe_detail_list): Remove const to allow modify of
135 member underscore.
136 (pe_dll_id_target): Initialize pe_details' underscore variable
137 dependent to target's default and flag pe_leading_underscore.
138 * pe-dll.h (pe_leading_underscore): Add extern declaration of
139 option flag.
140 * pep-dll.c (pe_leading_underscore): Add alias define for
141 pep_leading_underscore.
142 * pep-dll.h (pep_leading_underscore) Add extern declaration of
143 option flag.
144 * ld.texinfo: Add documentation for --(no-)leading-underscore
145 option.
146
147 2010-03-26 Alan Modra <amodra@gmail.com>
148
149 PR ld/11426
150 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
151 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
152
153 2010-03-25 Joseph Myers <joseph@codesourcery.com>
154
155 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
156 eelf32_tic6x_le.o.
157 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
158 * NEWS: Add news entry for TI C6X support.
159 * configure.tgt (tic6x-*-*): New.
160 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
161
162 2010-03-23 Joseph Myers <joseph@codesourcery.com>
163
164 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
165 BSS_NAME): Define if not already defined. Use in place of some
166 hardcoded section names.
167
168 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
169
170 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
171
172 2010-03-18 Aymeric Vincent <vincent@labri.fr>
173
174 PR ld/11384
175 * emultempl/sh64elf.em: Add missing EOF.
176
177 2010-03-18 Doug Semler <dougsemler@gmail.com>
178
179 * pe-dll.c (make_one): Make text section readonly.
180 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
181 the jump stub on X86 as /SAFESEH compatible for
182 native toolchains.
183
184 2010-03-17 Alan Modra <amodra@gmail.com>
185
186 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
187 *prev instead. Update all callers.
188
189 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
190
191 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
192 region and phdrs as their placement section.
193
194 2010-03-15 Alan Modra <amodra@gmail.com>
195
196 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
197 (ppc_before_allocation): Call sort_toc_sections.
198 (no_toc_sort, OPTION_NO_TOC_SORT): New.
199 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
200 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
201
202 2010-03-14 Alan Modra <amodra@gmail.com>
203
204 PR ld/11378
205 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
206 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
207
208 2010-03-11 George Gensure <werkt0@gmail.com>
209
210 PR ld/11367
211 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
212
213 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
214
215 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
216 eelf_i386_sol2.o.
217 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
218 (eelf32_sparc_sol2.c): New rule.
219 (eelf64_sparc_sol2.c): Likewise.
220 (eelf_x86_64_sol2.c): Likewise.
221 (eelf_i386_sol2.c): Likewise.
222 * Makefile.in: Regenerate.
223 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
224 elf_i386_sol2.
225 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
226 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
227 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
228 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
229 Add target_extra_emuls.
230 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
231 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
232 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
233 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
234 * emulparams/elf32_sparc_sol2.sh: New file.
235 * emulparams/elf64_sparc_sol2.sh: New file.
236 * emulparams/elf_i386_sol2.sh: New file.
237 * emulparams/elf_x86_64_sol2.sh: New file.
238 * emultempl/solaris2.em: New file.
239
240 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
241
242 PR ld/11330
243 * ld.texinfo: Replace explicitely with explicitly.
244
245 2010-02-27 Jie Zhang <jie@codesourcery.com>
246
247 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
248 .fini_array.* when do relocatable linking.
249 * scripttempl/elf.sc: Likewise.
250 * scripttempl/elf32sh-symbian.sc: Likewise.
251 * scripttempl/elf64hppa.sc: Likewise.
252 * scripttempl/elfxtensa.sc: Likewise.
253
254 2010-02-26 Alan Modra <amodra@gmail.com>
255
256 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
257 .fini_array.*.
258 * scripttempl/armbpabi.sc: Likewise.
259 * scripttempl/elf32sh-symbian.sc: Likewise.
260 * scripttempl/elf64hppa.sc: Likewise.
261 * scripttempl/elfxtensa.sc: Likewise.
262
263 2010-02-25 Alan Modra <amodra@gmail.com>
264
265 PR ld/11304
266 * ldlang.c (init_os): Remove isec param. Don't check for
267 bfd_section already set or call bfd_init_private_section_data
268 here.
269 (exp_init_os): Update init_os call.
270 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
271 flags. Call bfd_init_private_section_data here.
272 (map_input_to_output_sections): Tidy. Update init_os calls.
273 Use os->sectype to select sec flags for lang_data_statement.
274
275 2010-02-23 Alan Modra <amodra@gmail.com>
276
277 PR ld/11304
278 * ldlang.c: Revert last patch.
279
280 2010-02-23 Nick Clifton <nickc@redhat.com>
281
282 * po/bg.po: Updated Bulgarian translation.
283
284 2010-02-22 Alan Modra <amodra@gmail.com>
285
286 PR ld/11304
287 * ldlang.c (exp_init_os): Delete forward declaration.
288 (init_os): Don't check for bfd_section already created and don't
289 init addr_tree and load_base expressions here.
290 (map_input_to_output_sections): Only map input to output sections
291 and set constraints here, and as an exception, create output
292 sections which have their address set. Move all the other code to..
293 (create_other_output_sections): ..here. New function. Handle init
294 of addr_tree and load_base here too.
295 (lang_process): Call create_other_output_sections.
296
297 2010-02-19 Alan Modra <amodra@gmail.com>
298
299 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
300 * Makefile.in: Regenerate.
301
302 2010-02-19 Alan Modra <amodra@gmail.com>
303
304 * ldlang.c (unique_section_p): Add os param. Allow group
305 sections to match /DISCARD/. Update all callers.
306 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
307 (LDEMUL_BEFORE_ALLOCATION): Define.
308
309 2010-02-15 Nick Clifton <nickc@redhat.com>
310
311 * po/vi.po: Updated Vietnamese translation.
312
313 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
314
315 * Makefile.am (CFILES): Add ldlex-wrapper.c.
316 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
317 (ldlex.o): Replace with...
318 (ldlex-wrapper.o): ...this new rule.
319 (EXTRA_ld_new_SOURCES): Add ldlex.l.
320 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
321 * Makefile.in: Regenerate.
322 * ldlex.l (sysdep.h): Don't include here.
323 * ldlex-wrapper.c: New file.
324
325 2010-02-09 Alan Modra <amodra@gmail.com>
326
327 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
328 function parameters.
329
330 2010-02-05 Nick Clifton <nickc@redhat.com>
331
332 * configure.in (ALL_LIBGUAS): Add bg.
333 * configure: Regenerate.
334 * po/bg.po: New Bulgarian translation.
335
336 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
337
338 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
339 --target1-abs and --target1-rel options.
340
341 2010-02-03 Nick Clifton <nickc@redhat.com>
342
343 * emultempl/alphaelf.em: Update value expected from elf_object_id.
344 * emultempl/hppaelf.em: Likewise.
345 * emultempl/mipself.em: Likewise.
346 * emultempl/ppc32elf.em: Likewise.
347 * emultempl/ppc64elf.em: Likewise.
348
349 2010-02-03 Alan Modra <amodra@gmail.com>
350
351 * emultempl/ppc64elf.em (build_toc_list): Report errors from
352 ppc64_elf_next_toc_section.
353 (after_allocation): Update for changed function names and params.
354 Run second pass of multitoc partitioning.
355
356 2010-01-21 Jon Grant <jg@jguk.org>
357 Nick Clifton <nickc@redhat.com>
358
359 PR 4437
360 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
361 a missing file or library. Instead mark the entry as missing and
362 set the global flag to indicate that missing files were
363 encountered.
364 * ldlang.c (missing_files): New exported variable.
365 (load_symbols): Skip loading if the file is missing.
366 (open_input_bfds): Terminate link if any input files were
367 missing.
368 * ldlang.h (struct lang_input_statement_struct): Add missing_file
369 field.
370 Add export of missing_file variable.
371
372 2010-01-13 DJ Delorie <dj@redhat.com>
373
374 * emultempl/elf32.em (_place_orphan): If an input section doesn't
375 match an existing output section, but an unused output section
376 statement does match, use it.
377 * emultempl/pe.em (_place_orphan): Likewise.
378 * emultempl/pep.em (_place_orphan): Likewise.
379
380 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
381
382 * configure: Regenerate.
383 * Makefile.in: Regenerate.
384
385 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
386
387 * ldver.c (ldversion): Change to "Copyright 2010".
388
389 2010-01-08 Alan Modra <amodra@gmail.com>
390
391 PR 11107
392 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
393
394 For older changes see ChangeLog-2009
395 \f
396 Local Variables:
397 mode: change-log
398 left-margin: 8
399 fill-column: 74
400 version-control: never
401 End:
This page took 0.050545 seconds and 5 git commands to generate.