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