Fix unportable shell quoting.
[binutils-gdb.git] / ld / ChangeLog
1 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2
3 * configure: Regenerate.
4
5 2010-09-23 Dave Korn <dave.korn.cygwin@gmail.com>
6
7 * scripttempl/armcoff.sc: Revert 2010-09-22 change.
8
9 2010-09-23 Alan Modra <amodra@gmail.com>
10
11 * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input
12 to output section on a final link.
13
14 2010-09-22 Kai Tietz <kai.tietz@onevision.com>
15
16 * ldlang.c (lang_add_section): Allow for debugging
17 section to be marked as noload but to keep content.
18 (IGNORE_SECTION): Likewise.
19 (lang_check_section_addresses): Likewise.
20 * ldwrite.c (build_link_order): Likewise.
21
22 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add
23 idata to orphan set.
24 * emultempl/pep.em: Likewise.
25 * scripttempl/armcoff.sc: Separate idata
26 and add __IAT_start__ and __IAT_end__ labels.
27 * scripttempl/pe.sc: Likewise.
28 * scripttempl/pep.sc: Likewise.
29
30 2010-09-20 David S. Miller <davem@davemloft.net>
31
32 * emulparams/elf32_sparc.sh: Set NOP to 0x01000000
33
34 2010-09-16 Alan Modra <amodra@gmail.com>
35
36 * ld.texinfo (NOLOAD): Do not erroneously state that contents will
37 appear in output file.
38 * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload
39 unless SEC_COFF_SHARED_LIBRARY.
40 (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload
41 output sections.
42 (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding
43 to update dot in region. Ditto when setting SEC_ALLOC if dot
44 advanced due to assignment.
45 * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
46
47 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
48
49 * scripttempl/pep.sc: Add .xdata segment and
50 put into .pdata all segments beginning with .pdata.
51
52 2010-09-10 Alan Modra <amodra@gmail.com>
53
54 PR ld/11931
55 * ldlang.h (lang_for_each_statement_worker): Declare.
56 * ldlang.c (lang_for_each_statement_worker): Make global. Don't
57 recurse into children of output_section_statement with constraint
58 set to -1.
59 (print_assignment): Handle NULL output_section->bfd_section.
60 (lang_size_sections_1): Ignore output section statement address
61 when constraint is -1.
62 * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete.
63
64 2010-09-09 Tristan Gingold <gingold@adacore.com>
65
66 * NEWS: Add a entry for alpha-vms.
67
68 2010-09-07 Andrew Burgess <aburgess@broadcom.com>
69
70 * ldwrite.c (clone_section): Call bfd_copy_private_section_data on
71 newly cloned section.
72
73 2010-09-02 Richard Henderson <rth@redhat.com>
74
75 * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too.
76
77 2010-08-31 Nick Clifton <nickc@redhat.com>
78
79 * ldlex.l (WILDCHAR): Add the caret and exclamation point
80 characters, so that they can be used inside globs.
81
82 2010-08-31 Nick Clifton <nickc@redhat.com>
83
84 * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
85 a region's attributes.
86
87 2010-08-31 Alan Modra <amodra@gmail.com>
88
89 * scripttempl/mmo.sc: Move assignment to "Main" inside .text
90 output section statement.
91
92 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
93
94 PR ld/11946
95 * emultempl/elf32.em (_before_allocation): Check audit entry
96 only on ELF input.
97
98 2010-08-22 H.J. Lu <hongjiu.lu@intel.com>
99
100 PR ld/11937
101 * emultempl/elf32.em (_after_open): Find one .eh_frame section
102 for --eh-frame-hdr.
103
104 2010-08-22 H.J. Lu <hongjiu.lu@intel.com>
105
106 PR ld/11937
107 * emultempl/elf32.em (_after_open): Find an ELF input for
108 --build-id and --eh-frame-hdr.
109
110 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
111
112 * Makefile.am (eshlelf_fd.c): Correct the name of the tool
113 directory.
114 * Makefile.in: Regenerate.
115
116 2010-08-20 Nick Clifton <nickc@redhat.com>
117
118 * emultempl/elf32.em (_after_open): Check for get_elf_backend_data
119 returning NULL.
120
121 2010-08-19 Alan Modra <amodra@gmail.com>
122
123 * NEWS: Mention change in linker script expression evaluation.
124
125 2010-08-19 Alan Modra <amodra@gmail.com>
126
127 * ld.texinfo (Expression Section): Detail expression evaluation.
128 (Builtin Functions <ADDR>): Correct.
129 (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally
130 the same as ADDR.
131 (Builtin Functions <SEGMENT_START>): Typo fix.
132 * ldexp.c (new_number): New function.
133 (make_abs, exp_get_abs_int): Cope with NULL expld.result.section.
134 (fold_unary <'~', '!', '-'>): Don't make_abs.
135 (fold_binary): Simplify result section logic. Return NULL section
136 for logical ops.
137 (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to
138 a consistent result.
139 (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs.
140 (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise.
141 (fold_name <NAME>): No need to handle absolute symbols differently
142 from relative ones.
143 (fold_name <ORIGIN>): Don't return valid result when
144 lang_first_phase_enum. Return new_rel_from_abs, not new_abs.
145 (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel.
146 (exp_fold_tree_1): Ajust for NULL expld.result.section. When assigning
147 a plain number to dot, assume the value is relative to expld.section.
148 Make terms not in an output section, absolute.
149 * ldlang.c (print_assignment): Fix style nit.
150 (lang_size_sections_1): Cope with NULL expld.result.section.
151 (lang_do_assignments_1): Likewise.
152
153 2010-08-12 Alan Modra <amodra@gmail.com>
154
155 * ldexp.c (new_rel): Remove "str". Update all call sites.
156 (exp_fold_tree_1): When assigning to dot, calculate nextdot
157 using expld.result.section rather than expld.section.
158
159 2010-08-06 Alan Modra <amodra@gmail.com>
160
161 PR ld/11887
162 * ldlang.c (lang_add_vers_depend): Don't leave version_needed
163 uninitialised.
164
165 2010-07-28 Alan Modra <amodra@gmail.com>
166
167 * ldexp.c (exp_print_tree): Print function-like binary nodes as
168 functions rather than in-fix operators. Use fputs and fputc
169 where appropriate.
170
171 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
172 Ina Pandit <ina.pandit@kpitcummins.com>
173
174 * configure.tgt: Match all v850 targets.
175
176 2010-07-20 Mike Frysinger <vapier@gentoo.org>
177
178 * ld.texinfo (VERSION): Remove "int" from example script and add ";".
179 Declare the default language as C.
180
181 2010-07-17 Alan Modra <amodra@gmail.com>
182
183 * ldlang.c (lang_check_section_addresses): Catch overlap for
184 sections that wrap around the address space.
185
186 2010-06-29 Nick Clifton <nickc@redhat.com>
187
188 * scripttempl/xstormy16.sc (.gcc_except_table): Include sections
189 with the .gcc_except_table. prefix.
190
191 2010-06-29 Alan Modra <amodra@gmail.com>
192
193 * emulparams/maxqcoff.sh: Delete file.
194 * scripttempl/maxqcoff.sc: Delete file.
195 * Makefile.am: Remove references to maxq.
196 * configure.tgt: Likewise.
197 * Makefile.in: Regenerate.
198 * configure: Regenerate.
199 * po/POTFILES.in: Regenerate.
200
201 2010-06-27 Alan Modra <amodra@gmail.com>
202
203 * pe-dll.c (fill_edata): Avoid set but unused warning.
204 (pe_walk_relocs_of_symbol): Delete set but unused variables.
205 (generate_reloc, pe_implied_import_dll): Likewise.
206 * emultempl/aix.em (open_dynamic_archive): Likewise.
207 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise.
208 (xtensa_layout_wild): Likewise.
209 (xtensa_colocate_output_literals_callback): Likewise.
210
211 2010-06-25 Alan Modra <amodra@gmail.com>
212
213 * emultempl/ppc64elf.em (prelim_size_sections): New function.
214 (ppc_before_allocation): Use it. Size sections before toc edit too.
215
216 2010-06-25 Alan Modra <amodra@gmail.com>
217
218 * emultempl/elf32.em (find_exp_assignment): Handle etree_provided.
219
220 2010-06-20 Danny Smith <dannysmith@users.sourceforge.net>
221
222 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make
223 auto-import and merge-rdata defaults same for i[3-7]86 and
224 x86_64 mingw.
225
226 2010-06-15 Joseph Myers <joseph@codesourcery.com>
227
228 * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
229
230 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com>
231
232 PR ld/11603
233 * pe-dll.c (process_def_file_and_drectve): Reorder check for
234 forwarded export name after check for ordinary export.
235
236 2010-06-08 Bernd Schmidt <bernds@codesourcery.com>
237
238 * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
239
240 2010-06-08 Nick Clifton <nickc@redhat.com>
241
242 * fdl.texi: Replace with v1.3 text.
243 * ld.texinfo: Replace abbreviated 20th century year numbers with
244 full versions.
245 * ldint.texinfo: Likewise.
246 Relicense under GFDL v1.3. Replace text of v1.1 FDL with an
247 include of the fdl.texi file.
248
249 2010-06-01 Tristan Gingold <gingold@adacore.com>
250
251 * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
252 readonly output-section. Handle LIB$INITIALIZE and sections
253 created by gcc.
254 * emultempl/vms.em (vms_place_orphan): Add comments.
255
256 2010-05-28 Nick Clifton <nickc@redhat.com>
257
258 * Makefile.am (eshlelf_fd.c): Fix typo in rule.
259 * Makefile.in: Regenerate.
260
261 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
262
263 PR ld/11628
264 * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
265 multiple of maximum page size.
266
267 2010-05-25 Nick Clifton <nickc@redhat.com>
268
269 * Makefile.am: Fix typo.
270 * Makefile.in: Regenerate.
271
272 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
273 Joseph Myers <joseph@codesourcery.com>
274 Andrew Stubbs <ams@codesourcery.com>
275
276 * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
277 (eshelf_fd.c, eshlelf_fd.c): New rules.
278 * Makefile.in: Regenerate.
279 * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
280 emulations.
281 * emulparams/shelf_fd.sh: New file.
282 * emulparams/shlelf_fd.sh: New file.
283 * emulparams/shlelf_linux.sh: Update comment.
284
285 2010-05-25 Jay Krell <jay.krell@cornell.edu>
286
287 PR ld/11621
288 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
289 * Makefile.in: Regenerate.
290
291 2010-05-25 Kai Tietz <kai.tietz@onevision.com>
292
293 * deffilep.y (opt_name): Allow leading dot.
294 (dot_name): Likewise.
295 (anylang_id): Likewise.
296 * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
297 default auto_import.
298 (gld${EMULATION_NAME}_handle_option): Warn about v1.
299 (pep_find_data_imports): Remove superflous warnings about
300 auto-import.
301 (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
302 and active pseudo-relocation-v2 rdata into data section.
303 * emultempl/pe.em (default_merge_rdata): New shell variable.
304 (MERGE_RDATA_V2): New macro.
305 (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
306 selected script.
307
308 2010-05-15 Kai Tietz <kai.tietz@onevision.com>
309
310 * emultempl/pe.em (is_underscoring): New helper function.
311 (gld_${EMULATION_NAME}_before_parse): Replace code
312 for pe(p)_leading_underscore detection by is_underscoring.
313 (U): Likewise.
314 (GET_INIT_SYMBOL_NAME): Likewise.
315 (U_SIZE): Likewise.
316 (set_pe_name):
317 (set_entry_point):
318 (gld_${EMULATION_NAME}_set_symbols):
319 * emultempl/pep.em: Likewise.
320 * pe-dll.c (pe_detail_list): Set default
321 underscoring for x64 target.
322 (pe_dll_id_target): Add initialization of
323 pe(p)_leading_underscore.
324
325 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
326
327 * pe-dll.c: Removed trailing whitespaces.
328
329 2010-05-14 Alan Modra <amodra@gmail.com>
330
331 PR ld/11583
332 * ldexp.c (exp_fold_tree_1): If assignment source expression is
333 invalid, make the destination symbol undefined.
334
335 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
336
337 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
338 Initialize pe(p)_leading_underscore variable.
339 (set_pe_name): Likewise.
340 * emultempl/pep.em: Likewise.
341 Additional change default to non-underscore for
342 pep_leading_underscore equal to -1.
343
344 2010-05-07 Tristan Gingold <gingold@adacore.com>
345
346 * Makefile.in: Regenerate with automake 1.11.1.
347 * aclocal.m4: Ditto.
348
349 2010-05-05 Nick Clifton <nickc@redhat.com>
350
351 * po/es.po: Updated Spanish translation.
352
353 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
354
355 * pe-dll.c (_nm_-symbols): Use always underscored variant
356 for symbols.
357 (__imp_-symbols): Likewise.
358 (___imp_-symbols): Likewise.
359 * NEWS: Mention ABI change for x64 PE-COFF.
360
361 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
362
363 * Makefile.am (install-exec-local): Properly install ld as
364 default cross linker.
365 * Makefile.in: Regenerated.
366
367 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
368 Nick Clifton <nickc@redhat.com>
369
370 * configure.in (install_as_default): Define and set to true
371 unless --enable-gold=both/gold has been specified.
372 * configure: Regenerate.
373
374 * Makefile.am (transform): Use ld.bfd as the default name of
375 the linker.
376 (install-exec-local): Also install the executable as a binary
377 named 'ld' if install_as_default is true.
378 * Makefile.in: Regenerate.
379
380 2010-04-22 Nick Clifton <nickc@redhat.com>
381
382 * po/ld.pot: Updated by the Translation project.
383 * po/vi.po: Updated Vietnamese translation.
384 * po/bg.po: Updated Bulgarian translation.
385
386 2010-04-15 Andrew Haley <aph@redhat.com>
387
388 * emultempl/armelf.em (merge_exidx_entries): New variable.
389 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
390 ("no-merge-exidx-entries"): New option.
391 * ld.texinfo (merge-exidx-entries): Document this option.
392
393 2010-04-14 Tristan Gingold <gingold@adacore.com>
394
395 * emulparams/alphavms.sh: New file.
396 * emultempl/vms.em: New file.
397 * scripttempl/alphavms.sc: New file.
398 * configure.tgt (alpha*-*-*vms*): Added.
399 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
400 (ealphavms.c): New target.
401 * Makefile.in: Regenerate.
402
403 2010-04-09 Nick Clifton <nickc@redhat.com>
404
405 * ldlang.c (wild_sort): Remove unused variable section_name.
406
407 2010-04-07 Alan Modra <amodra@gmail.com>
408
409 * configure: Regenerate.
410
411 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
412
413 PR ld/11434
414 * ld/testsuite/ld-x86-64/unique1.d: New.
415 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
416
417 * ld-x86-64/x86-64.exp: Run unique1.
418
419 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
420
421 * emultempl/pep.em (U): Macro modified.
422 (U_SIZE): New helper macro.
423 (GET_INIT_SYMBOL_NAME): Likewise.
424 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
425 and OPTION_LEADING_UNDERSCORE enumerator-values.
426 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
427 option.
428 (definfo): Add new member is_c_symbol.
429 (D): Add to macro underscore mode parameter.
430 (init): Add definition for is_c_symbol.
431 (gld_${EMULATION_NAME}_list_options): Display new options.
432 (set_pep_name): Adjust underscoring dependent fixed
433 symbol handling.
434 (gld_${EMULATION_NAME}_set_symbols): Likewise.
435 (saw_option): Likewise.
436 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
437 (set_entry_point): Initial initial_symbol_char dependent to
438 target's default and new option flag pep_leading_underscore.
439 * emultempl/pe.em (U): Macro modified.
440 (U_SIZE): New helper macro.
441 (GET_INIT_SYMBOL_NAME): Likewise.
442 (OPTION_LEADING_UNDERSCORE): Add new option define.
443 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
444 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
445 option.
446 (definfo): Add new member is_c_symbol.
447 (D): Add to macro underscore mode parameter.
448 (init): Add definition for is_c_symbol.
449 (gld_${EMULATION_NAME}_list_options): Display new options.
450 (set_pep_name): Adjust underscoring dependent fixed
451 symbol handling.
452 (gld_${EMULATION_NAME}_set_symbols): Likewise.
453 (saw_option): Likewise.
454 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
455 (set_entry_point): Initial initial_symbol_char dependent to
456 target's default and new option flag pep_leading_underscore.
457 * pe-dll.c (pe_leading_underscore): New flag variable.
458 (pe_detail_list): Remove const to allow modify of
459 member underscore.
460 (pe_dll_id_target): Initialize pe_details' underscore variable
461 dependent to target's default and flag pe_leading_underscore.
462 * pe-dll.h (pe_leading_underscore): Add extern declaration of
463 option flag.
464 * pep-dll.c (pe_leading_underscore): Add alias define for
465 pep_leading_underscore.
466 * pep-dll.h (pep_leading_underscore) Add extern declaration of
467 option flag.
468 * ld.texinfo: Add documentation for --(no-)leading-underscore
469 option.
470
471 2010-03-26 Alan Modra <amodra@gmail.com>
472
473 PR ld/11426
474 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
475 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
476
477 2010-03-25 Joseph Myers <joseph@codesourcery.com>
478
479 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
480 eelf32_tic6x_le.o.
481 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
482 * NEWS: Add news entry for TI C6X support.
483 * configure.tgt (tic6x-*-*): New.
484 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
485
486 2010-03-23 Joseph Myers <joseph@codesourcery.com>
487
488 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
489 BSS_NAME): Define if not already defined. Use in place of some
490 hardcoded section names.
491
492 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
493
494 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
495
496 2010-03-18 Aymeric Vincent <vincent@labri.fr>
497
498 PR ld/11384
499 * emultempl/sh64elf.em: Add missing EOF.
500
501 2010-03-18 Doug Semler <dougsemler@gmail.com>
502
503 * pe-dll.c (make_one): Make text section readonly.
504 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
505 the jump stub on X86 as /SAFESEH compatible for
506 native toolchains.
507
508 2010-03-17 Alan Modra <amodra@gmail.com>
509
510 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
511 *prev instead. Update all callers.
512
513 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
514
515 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
516 region and phdrs as their placement section.
517
518 2010-03-15 Alan Modra <amodra@gmail.com>
519
520 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
521 (ppc_before_allocation): Call sort_toc_sections.
522 (no_toc_sort, OPTION_NO_TOC_SORT): New.
523 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
524 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
525
526 2010-03-14 Alan Modra <amodra@gmail.com>
527
528 PR ld/11378
529 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
530 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
531
532 2010-03-11 George Gensure <werkt0@gmail.com>
533
534 PR ld/11367
535 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
536
537 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
538
539 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
540 eelf_i386_sol2.o.
541 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
542 (eelf32_sparc_sol2.c): New rule.
543 (eelf64_sparc_sol2.c): Likewise.
544 (eelf_x86_64_sol2.c): Likewise.
545 (eelf_i386_sol2.c): Likewise.
546 * Makefile.in: Regenerate.
547 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
548 elf_i386_sol2.
549 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
550 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
551 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
552 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
553 Add target_extra_emuls.
554 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
555 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
556 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
557 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
558 * emulparams/elf32_sparc_sol2.sh: New file.
559 * emulparams/elf64_sparc_sol2.sh: New file.
560 * emulparams/elf_i386_sol2.sh: New file.
561 * emulparams/elf_x86_64_sol2.sh: New file.
562 * emultempl/solaris2.em: New file.
563
564 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
565
566 PR ld/11330
567 * ld.texinfo: Replace explicitely with explicitly.
568
569 2010-02-27 Jie Zhang <jie@codesourcery.com>
570
571 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
572 .fini_array.* when do relocatable linking.
573 * scripttempl/elf.sc: Likewise.
574 * scripttempl/elf32sh-symbian.sc: Likewise.
575 * scripttempl/elf64hppa.sc: Likewise.
576 * scripttempl/elfxtensa.sc: Likewise.
577
578 2010-02-26 Alan Modra <amodra@gmail.com>
579
580 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
581 .fini_array.*.
582 * scripttempl/armbpabi.sc: Likewise.
583 * scripttempl/elf32sh-symbian.sc: Likewise.
584 * scripttempl/elf64hppa.sc: Likewise.
585 * scripttempl/elfxtensa.sc: Likewise.
586
587 2010-02-25 Alan Modra <amodra@gmail.com>
588
589 PR ld/11304
590 * ldlang.c (init_os): Remove isec param. Don't check for
591 bfd_section already set or call bfd_init_private_section_data
592 here.
593 (exp_init_os): Update init_os call.
594 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
595 flags. Call bfd_init_private_section_data here.
596 (map_input_to_output_sections): Tidy. Update init_os calls.
597 Use os->sectype to select sec flags for lang_data_statement.
598
599 2010-02-23 Alan Modra <amodra@gmail.com>
600
601 PR ld/11304
602 * ldlang.c: Revert last patch.
603
604 2010-02-23 Nick Clifton <nickc@redhat.com>
605
606 * po/bg.po: Updated Bulgarian translation.
607
608 2010-02-22 Alan Modra <amodra@gmail.com>
609
610 PR ld/11304
611 * ldlang.c (exp_init_os): Delete forward declaration.
612 (init_os): Don't check for bfd_section already created and don't
613 init addr_tree and load_base expressions here.
614 (map_input_to_output_sections): Only map input to output sections
615 and set constraints here, and as an exception, create output
616 sections which have their address set. Move all the other code to..
617 (create_other_output_sections): ..here. New function. Handle init
618 of addr_tree and load_base here too.
619 (lang_process): Call create_other_output_sections.
620
621 2010-02-19 Alan Modra <amodra@gmail.com>
622
623 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
624 * Makefile.in: Regenerate.
625
626 2010-02-19 Alan Modra <amodra@gmail.com>
627
628 * ldlang.c (unique_section_p): Add os param. Allow group
629 sections to match /DISCARD/. Update all callers.
630 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
631 (LDEMUL_BEFORE_ALLOCATION): Define.
632
633 2010-02-15 Nick Clifton <nickc@redhat.com>
634
635 * po/vi.po: Updated Vietnamese translation.
636
637 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
638
639 * Makefile.am (CFILES): Add ldlex-wrapper.c.
640 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
641 (ldlex.o): Replace with...
642 (ldlex-wrapper.o): ...this new rule.
643 (EXTRA_ld_new_SOURCES): Add ldlex.l.
644 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
645 * Makefile.in: Regenerate.
646 * ldlex.l (sysdep.h): Don't include here.
647 * ldlex-wrapper.c: New file.
648
649 2010-02-09 Alan Modra <amodra@gmail.com>
650
651 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
652 function parameters.
653
654 2010-02-05 Nick Clifton <nickc@redhat.com>
655
656 * configure.in (ALL_LIBGUAS): Add bg.
657 * configure: Regenerate.
658 * po/bg.po: New Bulgarian translation.
659
660 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
661
662 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
663 --target1-abs and --target1-rel options.
664
665 2010-02-03 Nick Clifton <nickc@redhat.com>
666
667 * emultempl/alphaelf.em: Update value expected from elf_object_id.
668 * emultempl/hppaelf.em: Likewise.
669 * emultempl/mipself.em: Likewise.
670 * emultempl/ppc32elf.em: Likewise.
671 * emultempl/ppc64elf.em: Likewise.
672
673 2010-02-03 Alan Modra <amodra@gmail.com>
674
675 * emultempl/ppc64elf.em (build_toc_list): Report errors from
676 ppc64_elf_next_toc_section.
677 (after_allocation): Update for changed function names and params.
678 Run second pass of multitoc partitioning.
679
680 2010-01-21 Jon Grant <jg@jguk.org>
681 Nick Clifton <nickc@redhat.com>
682
683 PR 4437
684 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
685 a missing file or library. Instead mark the entry as missing and
686 set the global flag to indicate that missing files were
687 encountered.
688 * ldlang.c (missing_files): New exported variable.
689 (load_symbols): Skip loading if the file is missing.
690 (open_input_bfds): Terminate link if any input files were
691 missing.
692 * ldlang.h (struct lang_input_statement_struct): Add missing_file
693 field.
694 Add export of missing_file variable.
695
696 2010-01-13 DJ Delorie <dj@redhat.com>
697
698 * emultempl/elf32.em (_place_orphan): If an input section doesn't
699 match an existing output section, but an unused output section
700 statement does match, use it.
701 * emultempl/pe.em (_place_orphan): Likewise.
702 * emultempl/pep.em (_place_orphan): Likewise.
703
704 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
705
706 * configure: Regenerate.
707 * Makefile.in: Regenerate.
708
709 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
710
711 * ldver.c (ldversion): Change to "Copyright 2010".
712
713 2010-01-08 Alan Modra <amodra@gmail.com>
714
715 PR 11107
716 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
717
718 For older changes see ChangeLog-2009
719 \f
720 Local Variables:
721 mode: change-log
722 left-margin: 8
723 fill-column: 74
724 version-control: never
725 End: