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