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