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