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