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