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