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