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