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