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