18aae89d2086b9740b73126344e2ea3df79a0b15
[platform/upstream/binutils.git] / ld / ChangeLog
1 2010-11-05  Tristan Gingold  <gingold@adacore.com>
2
3         * NEWS: Add marker for 2.21.
4
5 2010-11-05  Dave Korn  <dave.korn.cygwin@gmail.com>
6
7         * plugin.h (plugin_active_plugins_p): New prototype.
8         (is_ir_dummy_bfd): Delete prototype.
9         * plugin.c: Fix formatting issues.
10         (is_ir_dummy_bfd): Make static.
11         (plugin_active_plugins_p): New function.
12         * ldfile.c (ldfile_try_open_bfd): Use it to save work if no plugins
13         are loaded.  Always close file descriptor after claim handler returns.
14         * ldmain.c (add_archive_element): Likewise.
15
16 2010-11-05  Alan Modra  <amodra@gmail.com>
17
18         * ldlang.c (lang_add_section): Distinguish ELF treatment of NOLOAD.
19         (map_input_to_output_sections): Likewise.
20         (lang_size_sections_1): Likewise.
21         (IGNORE_SECTION): Don't test SEC_NEVER_LOAD.
22         (lang_check_section_addresses): Likewise.
23
24 2010-11-04  Kai Tietz  <kai.tietz@onevision.com>
25
26         * scripttempl/pe.sc (.debug_types): New.
27         * scripttempl/pep.sc: Likewise.
28
29 2010-11-04  Alan Modra  <amodra@gmail.com>
30
31         * plugin.c (is_ir_dummy_bfd): Don't segfault on NULL abfd.
32
33 2010-11-03  Nick Clifton  <nickc@redhat.com>
34
35         PR ld/12001
36         * ldlang.c (ldlang_def_chain_list): New variable.  Contains a list
37         of symbols defined via the --defsym command line option and
38         currently waiting assignment.
39         (insert_defined): Add a defined symbol to the symbol table.
40         (ldlang_add_def): Add a entry to the ldlang_def_chain_list.
41         (lang_place_defineds): Walk ldlang_def_chain_list defining the
42         symbols.
43         (lang_process): Call lang_place_defineds.
44         (lang_add_assignment): If the assignment has come from a --defsym
45         command line option then call lang_add_def.
46
47 2010-11-03  Alan Modra  <amodra@gmail.com>
48
49         * Makefile.am (eelf64hppa.c): Correct dependencies.
50         * Makefile.in: Regenerate.
51
52 2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
53
54         * scripttempl/armbpabi.sc: Include compressed DWARF debug
55         sections.
56         * scripttempl/avr.sc: Likewise.
57         * scripttempl/elf32cr16.sc: Likewise.
58         * scripttempl/elf32crx.sc: Likewise.
59         * scripttempl/elf32msp430.sc: Likewise.
60         * scripttempl/elf32msp430_3.sc: Likewise.
61         * scripttempl/elf32sh-symbian.sc: Likewise.
62         * scripttempl/elf64hppa.sc: Likewise.
63         * scripttempl/elf_chaos.sc: Likewise.
64         * scripttempl/elfd10v.sc: Likewise.
65         * scripttempl/elfd30v.sc: Likewise.
66         * scripttempl/elfi370.sc: Likewise.
67         * scripttempl/elfm68hc11.sc: Likewise.
68         * scripttempl/elfm68hc12.sc: Likewise.
69         * scripttempl/elfxtensa.sc: Likewise.
70         * scripttempl/ip2k.sc: Likewise.
71         * scripttempl/iq2000.sc: Likewise.
72         * scripttempl/mep.sc: Likewise.
73         * scripttempl/mmo.sc: Likewise.
74         * scripttempl/v850.sc: Likewise.
75         * scripttempl/xstormy16.sc: Likewise.
76
77 2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
78
79         * ldfile.c (ldfile_try_open_bfd): Set BFD_DECOMPRESS after
80         bfd_openr returns.
81         * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
82
83         * scripttempl/elf.sc: Include compressed DWARF debug sections.
84
85 2010-10-28  Alan Modra  <amodra@gmail.com>
86
87         * ldfile.c (find_scripts_dir): Don't look in absolute SCRIPTDIR.
88
89 2010-10-28  Matthias Klose  <doko@ubuntu.com>
90
91         * ld.texinfo: Add directory section for info document.
92         * ldint.texinfo: Likewise.
93
94 2010-10-28  Alan Modra  <amodra@gmail.com>
95
96         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For
97         --no-undefined-version, don't report dot sym versions added by ld.
98
99 2010-10-28  Alan Modra  <amodra@gmail.com>
100
101         * ldlang.h (ldlang_add_undef): Add cmdline param.
102         * ldlang.c (undef_from_cmdline): New var.
103         (ldlang_add_undef): Add cmdline param.  Set undef_from_cmdline.
104         (lang_end): Really require -e or -u from command line on
105         relocatable --gc-sections.
106         * ldemul.c (after_parse_default): Adjust ldlang_add_undef call.
107         * ldgram.y (extern_name_list_body): Likewise.
108         * lexsup.c (parse_args): Likewise.
109         * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise.
110
111 2010-10-25  Alan Modra  <amodra@gmail.com>
112
113         * plugin.c (plugin_get_ir_dummy_bfd): Set bfd_use_reserved_id.
114         Formatting.
115
116 2010-10-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
117
118         * emulparams/elf32_sparc_sol2.sh (OUTPUT_FORMAT): Set to
119         elf32-sparc-sol2.
120         * emulparams/elf64_sparc_sol2.sh (OUTPUT_FORMAT): Set to
121         elf64-sparc-sol2.
122
123 2010-10-22  Alan Modra  <amodra@gmail.com>
124
125         * ldwrite.c (build_link_order <lang_data_statement_enum>): Don't
126         output when section has no contents.
127         (build_link_order <lang_reloc_statement_enum>): Likewise.
128
129 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
130
131         * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use
132         .c6xabi.attributes, not __TI_build_attributes.
133
134 2010-10-20  Dave Korn  <dave.korn.cygwin@gmail.com>
135
136         * plugin.c (get_symbols): Check symbol type correctly.
137
138 2010-10-15  Dave Korn  <dave.korn.cygwin@gmail.com>
139
140         * configure.in: If <dlfcn.h> can't be found, try for <Windows.h>
141         * configure: Regenerate.
142         * config.in: Likewise.
143         * plugin.c [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlopen): Provide
144         trival LoadLibrary-based replacement for Windows systems.
145         [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise trivial
146         replacement based on GetProcAddress.
147         [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise FreeLibrary.
148         * sysdep.h: Don't infer presence of <dlfcn.h> from ENABLE_PLUGINS
149         anymore, use its own guard.
150
151 2010-10-15  Dave Korn  <dave.korn.cygwin@gmail.com>
152
153         * plugin.c (add_input_file): Take copy of input string.
154         (add_input_library): Likewise.
155         (set_extra_library_path): Likewise.
156
157 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
158
159         Apply LD plugin patch series (part 6/6).
160         * ldlang.c (load_symbols): Handle bfd subsitution when calling the
161         add_archive_element callback.
162         * ldmain.c (add_archive_element)[ENABLE_PLUGINS]: Offer the archive
163         member to the plugins and if claimed set "subsbfd" output parameter to
164         point to the dummy IR-only BFD.
165
166 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
167
168         Apply LD plugin patch series (part 5/6).
169         * plugin.c (asymbol_from_plugin_symbol): If the bfd is an ELF bfd,
170         find the elf symbol data and set the visibility in the st_other field.
171
172 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
173
174         Apply LD plugin patch series (part 4/6).
175         * ldlang.c (lang_process)[ENABLE_PLUGINS]: Move invocation of
176         plugin_call_all_symbols_read to before setting of gc_sym_list, and
177         open any new input files that may have been added during it.
178         * ldmain.c (multiple_definition)[ENABLE_PLUGINS]: Call out to
179         plugin_multiple_definition and let it have first say over what to do
180         with the clashing definitions.
181         * plugin.c (no_more_claiming): New boolean variable.
182         (plugin_cached_allow_multiple_defs): Likewise.
183         (add_input_file): Implement.
184         (add_input_library): Likewise.
185         (set_extra_library_path): Likewise.
186         (plugin_call_claim_file): Don't do anything when no_more_claiming set.
187         (plugin_call_all_symbols_read): Set it.  Disable link info
188         "allow_multiple_definition" flag, but cache its value.
189         (plugin_multiple_definition): New function.
190         * plugin.h (plugin_multiple_definition): Add prototype.
191         * testplug.c (addfile_enum_t): New enumerated typedef.
192         (add_file_t): New struct typedef.
193         (addfiles_list): New variable.
194         (addfiles_tail_chain_ptr): Likewise.
195         (record_add_file): New function.
196         (parse_option): Parse "add:", "lib:" and "dir:" options and call it.
197         (onall_symbols_read): Iterate the list of new files, libs and dirs,
198         adding them.
199
200 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
201
202         Apply LD plugin patch series (part 3/6).
203         * ldmain.c (notice)[ENABLE_PLUGINS]: Call plugin_notice.
204         * plugin.c (non_ironly_hash): Add new bfd hash table.
205         (plugin_load_plugins): Exit early if no plugins to load.  If plugins
206         do load successfully, set notice_all flag in link info.
207         (get_symbols): Implement.
208         (plugin_load_plugins): Exit early if no plugins to load, else after
209         loading plugins successfully enable notice_all mode.
210         (init_non_ironly_hash): Lazily init non_ironly_hash table.
211         (plugin_notice): Record symbols referenced from non-IR files in the
212         non_ironly_hash.  Suppress tracing, cref generation and nocrossrefs
213         tracking for symbols from dummy IR bfds.
214         * plugin.h: Fix formatting.
215         (plugin_notice): Add prototype.
216         * testplug.c (dumpresolutions): New global var.
217         (parse_options): Accept "dumpresolutions".
218         (onall_symbols_read): Get syms and dump resolutions if it was given.
219
220 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
221
222         Apply LD plugin patch series (part 2/6).
223         * ldfile.c (ldfile_try_open_bfd)[ENABLE_PLUGINS]: Don't return early
224         during compat checks if they pass, instead offer any successfully
225         opened and accepted file to the plugin claim file hooks chain.  Create
226         a dummy bfd to accept symbols added by the plugin, if the plugin
227         claims the file.
228         * ldlang.c (lang_process)[ENABLE_PLUGINS]: Call plugin all symbols
229         read hook chain before ldemul_after_open.
230         * ldlang.h (struct lang_input_statement_struct): Add new single-bit
231         'claimed' flag.
232         * plugin.c (IRONLY_SUFFIX): New macro for dummy bfd file suffix.
233         (IRONLY_SUFFIX_LEN): Length of the above string.
234         (plugin_get_ir_dummy_bfd): New function to create the dummy bfd used
235         to store symbols for ir-only files.
236         (is_ir_dummy_bfd): New function to check if a bfd is ir-only.
237         (asymbol_from_plugin_symbol): New function converts symbol formats.
238         (add_symbols): Call it to convert plugin syms to bfd syms and add
239         them to the dummy bfd.
240         * plugin.h: Add missing include guards.
241         (plugin_get_ir_dummy_bfd): Add prototype.
242         (is_ir_dummy_bfd): Likewise.
243         * testplug.c (TV_MESSAGE): New helper macro.
244         (struct claim_file): New struct.
245         (claim_file_t): New typedef.
246         (tag_names[]): Make static and const.
247         (claimfiles_list): New variable.
248         (claimfiles_tail_chain_ptr): Likewise.
249         (last_claimfile): Likewise.
250         (record_claim_file): Record a file to claim on a singly-linked list.
251         (parse_symdefstr): Parse an ASCII representation of a symbol from a
252         plugin option into the fields of a struct ld_plugin_symbol.
253         (record_claimed_file_symbol):  Use it to parse plugin option for
254         adding a symbol.
255         (parse_option): Parse claim file and add symbol options.
256         (dump_tv_tag): Use TV_MESSAGE.
257         (onload): Likewise.
258         (onclaim_file): Make static.  Use TV_MESSAGE.  Scan list of files to
259         claim and claim this file if required, adding any symbols specified.
260         (onall_symbols_read): Make static and use TV_MESSAGE.
261         (oncleanup): Likewise.
262
263 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
264
265         Apply LD plugin patch series (part 1/6).
266         * configure.in: Add AC_CHECKs for file io and dlfcn headers and
267         functions and AC_SEARCH for -ldl.
268         (enable_plugins): New shell variable set if above tests find dlopen
269         functionality.
270         (ENABLE_PLUGINS): Add related automake conditional.
271         * configure: Regenerate.
272         * config.in: Likewise.
273         * Makefile.am (PLUGIN_C): Declare plugin C source file, conditional
274         on ENABLE_PLUGINS being defined.
275         (PLUGIN_H): Likewise for header file.
276         (PLUGIN_OBJECT): Likewise for object file.
277         (PLUGIN_CFLAGS): Likewise -D flag required to compile plugin support.
278         (AM_CPPFLAGS): Use PLUGIN_CFLAGS.
279         (CFILES): Use PLUGIN_C.
280         (HFILES): Use PLUGIN_H.
281         (OFILES): Use PLUGIN_OBJECT.
282         (ld_new_SOURCES): Use PLUGIN_C.
283         (noinst_LTLIBRARIES)[ENABLE_PLUGINS]: Declare test plugin.
284         (libldtestplug_la_SOURCES)[ENABLE_PLUGINS]: Add automake definition
285         for test plugin.
286         (libldtestplug_la_CFLAGS)[ENABLE_PLUGINS]: Likewise.
287         (libldtestplug_la_LDFLAGS)[ENABLE_PLUGINS]: Likewise.
288         * Makefile.in: Regenerate.
289         * sysdep.h: Include stdarg.h, unistd.h and one of fcntl.h or
290         sys/file.h where available.  Include dlfcn.h when ENABLE_PLUGINS.
291         (O_RDONLY): Supply default definition likewise to bfd's sysdep.h
292         (O_WRONLY): Likewise.
293         (O_RDWR): Likewise.
294         (O_ACCMODE): Likewise.
295         (O_BINARY): Likewise.
296         (SEEK_SET): Likewise.
297         (SEEK_CUR): Likewise.
298         (SEEK_END): Likewise.
299         * ldmisc.c (vfinfo): Make non-static.  Add %p format char.
300         * ldmisc.h (vfinfo): Declare extern prototype.
301         * lexsup.c (enum option_values)[ENABLE_PLUGINS]: Add new entries for
302         OPTION_PLUGIN and OPTION_PLUGIN_OPT.
303         (ld_options[])[ENABLE_PLUGINS]: Add option data for the above two.
304         (parse_args)[ENABLE_PLUGINS]: Handle them, and load all plugins once
305         option parsing is complete.
306         * ldmain.c (main)[ENABLE_PLUGINS]: Call plugin cleanup hooks just
307         after lang_finish.
308         * plugin.c: New source file.
309         * plugin.h: Likewise new header.
310         * testplug.c: New source file.
311
312 2010-10-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
313
314         * emultempl/solaris2.em (elf_solaris2_before_allocation): Renamed
315         basever_syms to global_syms.
316         Emit global_syms into .dynamic section for all executables and
317         shared objects.
318         (elf_solaris2_after_allocation): New function.
319         (LDEMUL_AFTER_ALLOCATION): Use it.
320         * emulparams/solaris2.sh: New file.
321         * emulparams/elf32_sparc_sol2.sh: Use it.
322         * emulparams/elf64_sparc_sol2.sh: Likewise.
323         * emulparams/elf_i386_sol2.sh: Likewise.
324         * emulparams/elf_x86_64_sol2.sh: Likewise.
325         * Makefile.am (eelf32_sparc_sol2.c): Depend on
326         $(srcdir)/emulparams/solaris2.sh.
327         (eelf64_sparc_sol2.c): Likewise.
328         (eelf_x86_64_sol2.c): Likewise.
329         (eelf_i386_sol2.c): Likewise.
330         * Makefile.in: Regenerate.
331
332 2010-10-06  Nick Clifton  <nickc@redhat.com>
333
334         * ld.texinfo: Update description of computation of VMA and LMA
335         addresses for output sections.
336
337 2010-10-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
338
339         * Makefile.am (ALL_64_EMULATIONS): Fix typo in last commit.
340         * Makefile.in: Regenerate.
341
342         * Makefile.am (ALL_EMULATIONS): Rewrite in terms of ...
343         (ALL_EMULATION_SOURCES): ... this new variable.
344         (ALL_64_EMULATIONS): Rewrite in terms of ...
345         (ALL_64_EMULATION_SOURCES): ... this new variable.
346         (EXTRA_ld_new_SOURCES): Rewrite in terms of the _SOURCES
347         variables.
348         (eelf32microblaze.c): Fix indentation.
349         * Makefile.in: Regenerate.
350
351 2010-10-04  Bernd Schmidt  <bernds@codesourcery.com>
352
353         * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use
354         _bfd_elf_single_rel_hdr.
355
356 2010-10-01  Alan Modra  <amodra@gmail.com>
357
358         PR ld/12066
359         * ldexp.c (fold_name): Treat absolute symbols as plain numbers.
360         * ld.texinfo (Expression Section): Don't say absolute symbols
361         are addresses.
362
363 2010-09-29  Alan Modra  <amodra@gmail.com>
364
365         * ldlang.c (lang_place_orphans): Zero vma when relocatable or non-load
366         section for orphans handled here.
367
368 2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
369
370         * configure: Regenerate.
371
372 2010-09-23  Dave Korn  <dave.korn.cygwin@gmail.com>
373
374         * scripttempl/armcoff.sc: Revert 2010-09-22 change.
375
376 2010-09-23  Alan Modra  <amodra@gmail.com>
377
378         * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input
379         to output section on a final link.
380
381 2010-09-22  Kai Tietz  <kai.tietz@onevision.com>
382
383         * ldlang.c (lang_add_section): Allow for debugging
384         section to be marked as noload but to keep content.
385         (IGNORE_SECTION): Likewise.
386         (lang_check_section_addresses): Likewise.
387         * ldwrite.c (build_link_order): Likewise.
388
389         * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add
390         idata to orphan set.
391         * emultempl/pep.em: Likewise.
392         * scripttempl/armcoff.sc: Separate idata
393         and add __IAT_start__ and __IAT_end__ labels.
394         * scripttempl/pe.sc: Likewise.
395         * scripttempl/pep.sc: Likewise.
396
397 2010-09-20  David S. Miller  <davem@davemloft.net>
398
399         * emulparams/elf32_sparc.sh: Set NOP to 0x01000000
400
401 2010-09-16  Alan Modra  <amodra@gmail.com>
402
403         * ld.texinfo (NOLOAD): Do not erroneously state that contents will
404         appear in output file.
405         * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload
406         unless SEC_COFF_SHARED_LIBRARY.
407         (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload
408         output sections.
409         (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding
410         to update dot in region.  Ditto when setting SEC_ALLOC if dot
411         advanced due to assignment.
412         * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
413
414 2010-09-15  Kai Tietz  <kai.tietz@onevision.com>
415
416         * scripttempl/pep.sc: Add .xdata segment and
417         put into .pdata all segments beginning with .pdata.
418
419 2010-09-10  Alan Modra  <amodra@gmail.com>
420
421         PR ld/11931
422         * ldlang.h (lang_for_each_statement_worker): Declare.
423         * ldlang.c (lang_for_each_statement_worker): Make global.  Don't
424         recurse into children of output_section_statement with constraint
425         set to -1.
426         (print_assignment): Handle NULL output_section->bfd_section.
427         (lang_size_sections_1): Ignore output section statement address
428         when constraint is -1.
429         * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete.
430
431 2010-09-09  Tristan Gingold  <gingold@adacore.com>
432
433         * NEWS: Add a entry for alpha-vms.
434
435 2010-09-07  Andrew Burgess  <aburgess@broadcom.com>
436
437         * ldwrite.c (clone_section): Call bfd_copy_private_section_data on
438         newly cloned section.
439
440 2010-09-02  Richard Henderson  <rth@redhat.com>
441
442         * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too.
443
444 2010-08-31  Nick Clifton  <nickc@redhat.com>
445
446         * ldlex.l (WILDCHAR): Add the caret and exclamation point
447         characters, so that they can be used inside globs.
448
449 2010-08-31  Nick Clifton  <nickc@redhat.com>
450
451         * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
452         a region's attributes.
453
454 2010-08-31  Alan Modra  <amodra@gmail.com>
455
456         * scripttempl/mmo.sc: Move assignment to "Main" inside .text
457         output section statement.
458
459 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
460
461         PR ld/11946
462         * emultempl/elf32.em (_before_allocation): Check audit entry
463         only on ELF input.
464
465 2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>
466
467         PR ld/11937
468         * emultempl/elf32.em (_after_open): Find one .eh_frame section
469         for --eh-frame-hdr.
470
471 2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>
472
473         PR ld/11937
474         * emultempl/elf32.em (_after_open): Find an ELF input for
475         --build-id and --eh-frame-hdr.
476
477 2010-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
478
479         * Makefile.am (eshlelf_fd.c): Correct the name of the tool
480         directory.
481         * Makefile.in: Regenerate.
482
483 2010-08-20  Nick Clifton  <nickc@redhat.com>
484
485         * emultempl/elf32.em (_after_open): Check for get_elf_backend_data
486         returning NULL.
487
488 2010-08-19  Alan Modra  <amodra@gmail.com>
489
490         * NEWS: Mention change in linker script expression evaluation.
491
492 2010-08-19  Alan Modra  <amodra@gmail.com>
493
494         * ld.texinfo (Expression Section): Detail expression evaluation.
495         (Builtin Functions <ADDR>): Correct.
496         (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally
497         the same as ADDR.
498         (Builtin Functions <SEGMENT_START>): Typo fix.
499         * ldexp.c (new_number): New function.
500         (make_abs, exp_get_abs_int): Cope with NULL expld.result.section.
501         (fold_unary <'~', '!', '-'>): Don't make_abs.
502         (fold_binary): Simplify result section logic.  Return NULL section
503         for logical ops.
504         (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to
505         a consistent result.
506         (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs.
507         (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise.
508         (fold_name <NAME>): No need to handle absolute symbols differently
509         from relative ones.
510         (fold_name <ORIGIN>): Don't return valid result when
511         lang_first_phase_enum.  Return new_rel_from_abs, not new_abs.
512         (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel.
513         (exp_fold_tree_1): Ajust for NULL expld.result.section.  When assigning
514         a plain number to dot, assume the value is relative to expld.section.
515         Make terms not in an output section, absolute.
516         * ldlang.c (print_assignment): Fix style nit.
517         (lang_size_sections_1): Cope with NULL expld.result.section.
518         (lang_do_assignments_1): Likewise.
519
520 2010-08-12  Alan Modra  <amodra@gmail.com>
521
522         * ldexp.c (new_rel): Remove "str".  Update all call sites.
523         (exp_fold_tree_1): When assigning to dot, calculate nextdot
524         using expld.result.section rather than expld.section.
525
526 2010-08-06  Alan Modra  <amodra@gmail.com>
527
528         PR ld/11887
529         * ldlang.c (lang_add_vers_depend): Don't leave version_needed
530         uninitialised.
531
532 2010-07-28  Alan Modra  <amodra@gmail.com>
533
534         * ldexp.c (exp_print_tree): Print function-like binary nodes as
535         functions rather than in-fix operators.  Use fputs and fputc
536         where appropriate.
537
538 2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
539             Ina Pandit  <ina.pandit@kpitcummins.com>
540
541         * configure.tgt: Match all v850 targets.
542
543 2010-07-20  Mike Frysinger  <vapier@gentoo.org>
544
545         * ld.texinfo (VERSION): Remove "int" from example script and add ";".
546         Declare the default language as C.
547
548 2010-07-17  Alan Modra  <amodra@gmail.com>
549
550         * ldlang.c (lang_check_section_addresses): Catch overlap for
551         sections that wrap around the address space.
552
553 2010-06-29  Nick Clifton  <nickc@redhat.com>
554
555         * scripttempl/xstormy16.sc (.gcc_except_table): Include sections
556         with the .gcc_except_table. prefix.
557
558 2010-06-29  Alan Modra  <amodra@gmail.com>
559
560         * emulparams/maxqcoff.sh: Delete file.
561         * scripttempl/maxqcoff.sc: Delete file.
562         * Makefile.am: Remove references to maxq.
563         * configure.tgt: Likewise.
564         * Makefile.in: Regenerate.
565         * configure: Regenerate.
566         * po/POTFILES.in: Regenerate.
567
568 2010-06-27  Alan Modra  <amodra@gmail.com>
569
570         * pe-dll.c (fill_edata): Avoid set but unused warning.
571         (pe_walk_relocs_of_symbol): Delete set but unused variables.
572         (generate_reloc, pe_implied_import_dll): Likewise.
573         * emultempl/aix.em (open_dynamic_archive): Likewise.
574         * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise.
575         (xtensa_layout_wild): Likewise.
576         (xtensa_colocate_output_literals_callback): Likewise.
577
578 2010-06-25  Alan Modra  <amodra@gmail.com>
579
580         * emultempl/ppc64elf.em (prelim_size_sections): New function.
581         (ppc_before_allocation): Use it.  Size sections before toc edit too.
582
583 2010-06-25  Alan Modra  <amodra@gmail.com>
584
585         * emultempl/elf32.em (find_exp_assignment): Handle etree_provided.
586
587 2010-06-20  Danny Smith  <dannysmith@users.sourceforge.net>
588
589         * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make
590         auto-import and merge-rdata defaults same for i[3-7]86 and
591         x86_64 mingw.
592
593 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
594
595         * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
596
597 2010-06-09  Dave Korn  <dave.korn.cygwin@gmail.com>
598
599         PR ld/11603
600         * pe-dll.c (process_def_file_and_drectve): Reorder check for
601         forwarded export name after check for ordinary export.
602
603 2010-06-08  Bernd Schmidt  <bernds@codesourcery.com>
604
605         * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
606
607 2010-06-08  Nick Clifton  <nickc@redhat.com>
608
609         * fdl.texi: Replace with v1.3 text.
610         * ld.texinfo: Replace abbreviated 20th century year numbers with
611         full versions.
612         * ldint.texinfo: Likewise.
613         Relicense under GFDL v1.3.  Replace text of v1.1 FDL with an
614         include of the fdl.texi file.
615
616 2010-06-01  Tristan Gingold  <gingold@adacore.com>
617
618         * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
619         readonly output-section. Handle LIB$INITIALIZE and sections
620         created by gcc.
621         * emultempl/vms.em (vms_place_orphan): Add comments.
622
623 2010-05-28  Nick Clifton  <nickc@redhat.com>
624
625         * Makefile.am (eshlelf_fd.c): Fix typo in rule.
626         * Makefile.in: Regenerate.
627
628 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
629
630         PR ld/11628
631         * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
632         multiple of maximum page size.
633
634 2010-05-25  Nick Clifton  <nickc@redhat.com>
635
636         * Makefile.am: Fix typo.
637         * Makefile.in: Regenerate.
638
639 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
640             Joseph Myers  <joseph@codesourcery.com>
641             Andrew Stubbs  <ams@codesourcery.com>
642
643         * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
644         (eshelf_fd.c, eshlelf_fd.c): New rules.
645         * Makefile.in: Regenerate.
646         * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
647         emulations.
648         * emulparams/shelf_fd.sh: New file.
649         * emulparams/shlelf_fd.sh: New file.
650         * emulparams/shlelf_linux.sh: Update comment.
651
652 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
653
654         PR ld/11621
655         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
656         * Makefile.in: Regenerate.
657
658 2010-05-25  Kai Tietz  <kai.tietz@onevision.com>
659
660         * deffilep.y (opt_name): Allow leading dot.
661         (dot_name): Likewise.
662         (anylang_id): Likewise.
663         * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
664         default auto_import.
665         (gld${EMULATION_NAME}_handle_option): Warn about v1.
666         (pep_find_data_imports): Remove superflous warnings about
667         auto-import.
668         (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
669         and active pseudo-relocation-v2 rdata into data section.
670         * emultempl/pe.em (default_merge_rdata): New shell variable.
671         (MERGE_RDATA_V2): New macro.
672         (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
673         selected script.
674
675 2010-05-15  Kai Tietz  <kai.tietz@onevision.com>
676
677         * emultempl/pe.em (is_underscoring): New helper function.
678         (gld_${EMULATION_NAME}_before_parse): Replace code
679         for pe(p)_leading_underscore detection by is_underscoring.
680         (U): Likewise.
681         (GET_INIT_SYMBOL_NAME): Likewise.
682         (U_SIZE): Likewise.
683         (set_pe_name):
684         (set_entry_point):
685         (gld_${EMULATION_NAME}_set_symbols):
686         * emultempl/pep.em: Likewise.
687         * pe-dll.c (pe_detail_list): Set default
688         underscoring for x64 target.
689         (pe_dll_id_target): Add initialization of
690         pe(p)_leading_underscore.
691
692 2010-05-15  Dave Korn  <dave.korn.cygwin@gmail.com>
693
694         * pe-dll.c: Removed trailing whitespaces.
695
696 2010-05-14  Alan Modra  <amodra@gmail.com>
697
698         PR ld/11583
699         * ldexp.c (exp_fold_tree_1): If assignment source expression is
700         invalid, make the destination symbol undefined.
701
702 2010-05-11  Kai Tietz  <kai.tietz@onevision.com>
703
704         * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
705         Initialize pe(p)_leading_underscore variable.
706         (set_pe_name): Likewise.
707         * emultempl/pep.em: Likewise.
708         Additional change default to non-underscore for
709         pep_leading_underscore equal to -1.
710
711 2010-05-07  Tristan Gingold  <gingold@adacore.com>
712
713         * Makefile.in: Regenerate with automake 1.11.1.
714         * aclocal.m4: Ditto.
715
716 2010-05-05  Nick Clifton  <nickc@redhat.com>
717
718         * po/es.po: Updated Spanish translation.
719
720 2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
721
722         * pe-dll.c (_nm_-symbols): Use always underscored variant
723         for symbols.
724         (__imp_-symbols): Likewise.
725         (___imp_-symbols): Likewise.
726         * NEWS: Mention ABI change for x64 PE-COFF.
727
728 2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
729
730         * Makefile.am (install-exec-local): Properly install ld as
731         default cross linker.
732         * Makefile.in: Regenerated.
733
734 2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
735             Nick Clifton  <nickc@redhat.com>
736
737         * configure.in (install_as_default): Define and set to true
738         unless --enable-gold=both/gold has been specified.
739         * configure: Regenerate.
740
741         * Makefile.am (transform): Use ld.bfd as the default name of
742         the linker.
743         (install-exec-local): Also install the executable as a binary
744         named 'ld' if install_as_default is true.
745         * Makefile.in: Regenerate.
746
747 2010-04-22  Nick Clifton  <nickc@redhat.com>
748
749         * po/ld.pot: Updated by the Translation project.
750         * po/vi.po: Updated Vietnamese translation.
751         * po/bg.po: Updated Bulgarian translation.
752
753 2010-04-15  Andrew Haley  <aph@redhat.com>
754
755         * emultempl/armelf.em (merge_exidx_entries): New variable.
756         (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
757         ("no-merge-exidx-entries"): New option.
758         * ld.texinfo (merge-exidx-entries): Document this option.
759
760 2010-04-14  Tristan Gingold  <gingold@adacore.com>
761
762         * emulparams/alphavms.sh: New file.
763         * emultempl/vms.em: New file.
764         * scripttempl/alphavms.sc: New file.
765         * configure.tgt (alpha*-*-*vms*): Added.
766         * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
767         (ealphavms.c): New target.
768         * Makefile.in: Regenerate.
769
770 2010-04-09  Nick Clifton  <nickc@redhat.com>
771
772         * ldlang.c (wild_sort): Remove unused variable section_name.
773
774 2010-04-07  Alan Modra  <amodra@gmail.com>
775
776         * configure: Regenerate.
777
778 2010-04-06  H.J. Lu  <hongjiu.lu@intel.com>
779
780         PR ld/11434
781         * ld/testsuite/ld-x86-64/unique1.d: New.
782         * ld/testsuite/ld-x86-64/unique1.s: Likewise.
783
784         * ld-x86-64/x86-64.exp: Run unique1.
785
786 2010-04-05  Kai Tietz  <kai.tietz@onevision.com>
787
788         * emultempl/pep.em (U): Macro modified.
789         (U_SIZE): New helper macro.
790         (GET_INIT_SYMBOL_NAME): Likewise.
791         (enum options): Add OPTION_NO_LEADING_UNDERSCORE
792         and OPTION_LEADING_UNDERSCORE enumerator-values.
793         (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
794         option.
795         (definfo): Add new member is_c_symbol.
796         (D): Add to macro underscore mode parameter.
797         (init): Add definition for is_c_symbol.
798         (gld_${EMULATION_NAME}_list_options): Display new options.
799         (set_pep_name): Adjust underscoring dependent fixed
800         symbol handling.
801         (gld_${EMULATION_NAME}_set_symbols): Likewise.
802         (saw_option): Likewise.
803         (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
804         (set_entry_point): Initial initial_symbol_char dependent to
805         target's default and new option flag pep_leading_underscore.
806         * emultempl/pe.em (U): Macro modified.
807         (U_SIZE): New helper macro.
808         (GET_INIT_SYMBOL_NAME): Likewise.
809         (OPTION_LEADING_UNDERSCORE): Add new option define.
810         (OPTION_NO_LEADING_UNDERSCORE): Likewise.
811         (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
812         option.
813         (definfo): Add new member is_c_symbol.
814         (D): Add to macro underscore mode parameter.
815         (init): Add definition for is_c_symbol.
816         (gld_${EMULATION_NAME}_list_options): Display new options.
817         (set_pep_name): Adjust underscoring dependent fixed
818         symbol handling.
819         (gld_${EMULATION_NAME}_set_symbols): Likewise.
820         (saw_option): Likewise.
821         (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
822         (set_entry_point): Initial initial_symbol_char dependent to
823         target's default and new option flag pep_leading_underscore.
824         * pe-dll.c (pe_leading_underscore): New flag variable.
825         (pe_detail_list): Remove const to allow modify of
826         member underscore.
827         (pe_dll_id_target): Initialize pe_details' underscore variable
828         dependent to target's default and flag pe_leading_underscore.
829         * pe-dll.h (pe_leading_underscore): Add extern declaration of
830         option flag.
831         * pep-dll.c (pe_leading_underscore): Add alias define for
832         pep_leading_underscore.
833         * pep-dll.h (pep_leading_underscore) Add extern declaration of
834         option flag.
835         * ld.texinfo: Add documentation for --(no-)leading-underscore
836         option.
837
838 2010-03-26  Alan Modra  <amodra@gmail.com>
839
840         PR ld/11426
841         * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
842         (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
843
844 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
845
846         * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
847         eelf32_tic6x_le.o.
848         (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
849         * NEWS: Add news entry for TI C6X support.
850         * configure.tgt (tic6x-*-*): New.
851         * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
852
853 2010-03-23  Joseph Myers  <joseph@codesourcery.com>
854
855         * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
856         BSS_NAME): Define if not already defined.  Use in place of some
857         hardcoded section names.
858
859 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
860
861         * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
862
863 2010-03-18  Aymeric Vincent  <vincent@labri.fr>
864
865         PR ld/11384
866         * emultempl/sh64elf.em: Add missing EOF.
867
868 2010-03-18  Doug Semler  <dougsemler@gmail.com>
869
870         * pe-dll.c (make_one): Make text section readonly.
871         (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
872         the jump stub on X86 as /SAFESEH compatible for
873         native toolchains.
874
875 2010-03-17  Alan Modra  <amodra@gmail.com>
876
877         * ldlang.c (lang_size_sections_1): Remove "s" param.  Set "s" from
878         *prev instead.  Update all callers.
879
880 2010-03-15  Daniel Jacobowitz  <dan@codesourcery.com>
881
882         * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
883         region and phdrs as their placement section.
884
885 2010-03-15  Alan Modra  <amodra@gmail.com>
886
887         * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
888         (ppc_before_allocation): Call sort_toc_sections.
889         (no_toc_sort, OPTION_NO_TOC_SORT): New.
890         (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
891          PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
892
893 2010-03-14  Alan Modra  <amodra@gmail.com>
894
895         PR ld/11378
896         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
897         ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
898
899 2010-03-11  George Gensure  <werkt0@gmail.com>
900
901         PR ld/11367
902         * ldcref.c (handle_asneeded_cref): Correct copying of refs.
903
904 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
905
906         * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
907         eelf_i386_sol2.o.
908         (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
909         (eelf32_sparc_sol2.c): New rule.
910         (eelf64_sparc_sol2.c): Likewise.
911         (eelf_x86_64_sol2.c): Likewise.
912         (eelf_i386_sol2.c): Likewise.
913         * Makefile.in: Regenerate.
914         * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
915         elf_i386_sol2.
916         Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
917         (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
918         Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
919         (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
920         Add target_extra_emuls.
921         (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
922         Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
923         (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
924         Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
925         * emulparams/elf32_sparc_sol2.sh: New file.
926         * emulparams/elf64_sparc_sol2.sh: New file.
927         * emulparams/elf_i386_sol2.sh: New file.
928         * emulparams/elf_x86_64_sol2.sh: New file.
929         * emultempl/solaris2.em: New file.
930
931 2010-02-27  H.J. Lu  <hongjiu.lu@intel.com>
932
933         PR ld/11330
934         * ld.texinfo: Replace explicitely with explicitly.
935
936 2010-02-27  Jie Zhang  <jie@codesourcery.com>
937
938         * scripttempl/armbpabi.sc: Don't combine .init_array.* or
939         .fini_array.* when do relocatable linking.
940         * scripttempl/elf.sc: Likewise.
941         * scripttempl/elf32sh-symbian.sc: Likewise.
942         * scripttempl/elf64hppa.sc: Likewise.
943         * scripttempl/elfxtensa.sc: Likewise.
944
945 2010-02-26  Alan Modra  <amodra@gmail.com>
946
947         * scripttempl/elf.sc (.fini_array): Place input .fini_array after
948         .fini_array.*.
949         * scripttempl/armbpabi.sc: Likewise.
950         * scripttempl/elf32sh-symbian.sc: Likewise.
951         * scripttempl/elf64hppa.sc: Likewise.
952         * scripttempl/elfxtensa.sc: Likewise.
953
954 2010-02-25  Alan Modra  <amodra@gmail.com>
955
956         PR ld/11304
957         * ldlang.c (init_os): Remove isec param.  Don't check for
958         bfd_section already set or call bfd_init_private_section_data
959         here.
960         (exp_init_os): Update init_os call.
961         (lang_add_section): Tidy.  Really don't set SEC_LINK_ONCE
962         flags.  Call bfd_init_private_section_data here.
963         (map_input_to_output_sections): Tidy.  Update init_os calls.
964         Use os->sectype to select sec flags for lang_data_statement.
965
966 2010-02-23  Alan Modra  <amodra@gmail.com>
967
968         PR ld/11304
969         * ldlang.c: Revert last patch.
970
971 2010-02-23  Nick Clifton  <nickc@redhat.com>
972
973         * po/bg.po: Updated Bulgarian translation.
974
975 2010-02-22  Alan Modra  <amodra@gmail.com>
976
977         PR ld/11304
978         * ldlang.c (exp_init_os): Delete forward declaration.
979         (init_os): Don't check for bfd_section already created and don't
980         init addr_tree and load_base expressions here.
981         (map_input_to_output_sections): Only map input to output sections
982         and set constraints here, and as an exception, create output
983         sections which have their address set.  Move all the other code to..
984         (create_other_output_sections): ..here.  New function.  Handle init
985         of addr_tree and load_base here too.
986         (lang_process): Call create_other_output_sections.
987
988 2010-02-19  Alan Modra  <amodra@gmail.com>
989
990         * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
991         * Makefile.in: Regenerate.
992
993 2010-02-19  Alan Modra  <amodra@gmail.com>
994
995         * ldlang.c (unique_section_p): Add os param.  Allow group
996         sections to match /DISCARD/.  Update all callers.
997         * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
998         (LDEMUL_BEFORE_ALLOCATION): Define.
999
1000 2010-02-15  Nick Clifton  <nickc@redhat.com>
1001
1002         * po/vi.po: Updated Vietnamese translation.
1003
1004 2010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
1005
1006         * Makefile.am (CFILES): Add ldlex-wrapper.c.
1007         (OFILES): Replace ldlex.c with ldlex-wrapper.c.
1008         (ldlex.o): Replace with...
1009         (ldlex-wrapper.o): ...this new rule.
1010         (EXTRA_ld_new_SOURCES): Add ldlex.l.
1011         (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
1012         * Makefile.in: Regenerate.
1013         * ldlex.l (sysdep.h): Don't include here.
1014         * ldlex-wrapper.c: New file.
1015
1016 2010-02-09  Alan Modra  <amodra@gmail.com>
1017
1018         * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
1019         function parameters.
1020
1021 2010-02-05  Nick Clifton  <nickc@redhat.com>
1022
1023         * configure.in (ALL_LIBGUAS): Add bg.
1024         * configure: Regenerate.
1025         * po/bg.po: New Bulgarian translation.
1026
1027 2010-02-05  Ryan Mansfield  <rmansfield@qnx.com>
1028
1029         * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
1030         --target1-abs and --target1-rel options.
1031
1032 2010-02-03  Nick Clifton  <nickc@redhat.com>
1033
1034         * emultempl/alphaelf.em: Update value expected from elf_object_id.
1035         * emultempl/hppaelf.em: Likewise.
1036         * emultempl/mipself.em: Likewise.
1037         * emultempl/ppc32elf.em: Likewise.
1038         * emultempl/ppc64elf.em: Likewise.
1039
1040 2010-02-03  Alan Modra  <amodra@gmail.com>
1041
1042         * emultempl/ppc64elf.em (build_toc_list): Report errors from
1043         ppc64_elf_next_toc_section.
1044         (after_allocation): Update for changed function names and params.
1045         Run second pass of multitoc partitioning.
1046
1047 2010-01-21  Jon Grant  <jg@jguk.org>
1048             Nick Clifton  <nickc@redhat.com>
1049
1050         PR 4437
1051         * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
1052         a missing file or library.  Instead mark the entry as missing and
1053         set the global flag to indicate that missing files were
1054         encountered.
1055         * ldlang.c (missing_files): New exported variable.
1056         (load_symbols): Skip loading if the file is missing.
1057         (open_input_bfds): Terminate link if any input files were
1058         missing.
1059         * ldlang.h (struct lang_input_statement_struct): Add missing_file
1060         field.
1061         Add export of missing_file variable.
1062
1063 2010-01-13  DJ Delorie  <dj@redhat.com>
1064
1065         * emultempl/elf32.em (_place_orphan): If an input section doesn't
1066         match an existing output section, but an unused output section
1067         statement does match, use it.
1068         * emultempl/pe.em (_place_orphan): Likewise.
1069         * emultempl/pep.em (_place_orphan): Likewise.
1070
1071 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1072
1073         * configure: Regenerate.
1074         * Makefile.in: Regenerate.
1075
1076 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1077
1078         * ldver.c (ldversion): Change to "Copyright 2010".
1079
1080 2010-01-08  Alan Modra  <amodra@gmail.com>
1081
1082         PR 11107
1083         * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
1084
1085 For older changes see ChangeLog-2009
1086 \f
1087 Local Variables:
1088 mode: change-log
1089 left-margin: 8
1090 fill-column: 74
1091 version-control: never
1092 End: