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