Don't PROVIDE over top of common symbols
[external/binutils.git] / ld / ChangeLog
1 2014-12-23  Alan Modra  <amodra@gmail.com>
2
3         * ldexp.c (exp_fold_tree_1 <etree_provide>): Leave bfd_link_hash_common
4         symbols alone.
5
6 2014-12-23  Alan Modra  <amodra@gmail.com>
7
8         * ldexp.c (update_definedness): Correct logic setting by_object.
9
10 2014-12-23  Alan Modra  <amodra@gmail.com>
11
12         * ldexp.c (struct definedness_hash_entry, definedness_table)
13         (definedness_newfunc, symbol_defined, update_definedness): Move
14         and rename from..
15         * ldlang.h (struct lang_definedness_hash_entry): ..here,..
16         * ldlang.c (lang_definedness_table, lang_definedness_newfunc)
17         (lang_symbol_defined, lang_update_definedness): ..and here.
18         * ldexp.c (ldexp_init, ldexp_finish): New functions, extracted from..
19         * ldlang.c (lang_init, lang_finish): ..here.
20         * ldexp.h (ldexp_init, ldexp_finish): Declare.
21         * ldlang.h (lang_symbol_defined, lang_update_definedness): Delete.
22         * ldmain.c (main): Call ldexp_init and ldexp_finish.
23
24 2014-12-10  Alan Modra  <amodra@gmail.com>
25
26         * ldmisc.c: #include "coff-bfd.h"
27
28 2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
29
30         * configure.tgt: Add Visium support.
31         * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32visium.c.
32         (eelf32visium.c): New rule.
33         * Makefile.in: Regenerate.
34         * emulparams/elf32visium.sh: New file.
35         * scripttempl/visium.sc: Likewise.
36
37 2014-11-25  H.J. Lu  <hongjiu.lu@intel.com>
38
39         * emulparams/elf_i386.sh (TINY_READONLY_SECTION): New.
40         * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): Add .plt.got.
41
42 2014-11-24  H.J. Lu  <hongjiu.lu@intel.com>
43
44         * configure: Regenerated.
45
46 2014-11-24  Alan Modra  <amodra@gmail.com>
47
48         * ld.texinfo: Correct --plt-align documentation.
49         * emultempl/ppc64elf.em (plt_stub_align): Delete.  Use and set
50         params.plt_stub_align instead.
51
52 2014-11-18  Igor Zamyatin  <igor.zamyatin@intel.com>
53
54         * emulparams/elf_x86_64.sh (BNDPLT): Set to yes for x86_64.
55         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
56         "-z bndplt" if BNDPLT is yes.
57         (gld${EMULATION_NAME}_list_options): Add "-z bndplt" entry.
58         * ld.texinfo: Add description for bndplt.
59
60 2014-10-08  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
61
62         * avrtiny.sc: Apply avr.sc fixes.
63
64 2014-11-04  Alan Modra  <amodra@gmail.com>
65
66         * emultempl/spu_icache.o_c: Regenerate.
67         * emultempl/spu_ovl.o_c: Regenerate.
68
69 2014-11-03  Andrew Burgess  <andrew.burgess@embecosm.com>
70
71         * testsuite/ld-avr/relax-02.d: Update to check size of symbols has
72         changed.
73         * testsuite/ld-avr/relax-03.d: Likewise.
74
75 2014-11-03  Andrew Burgess  <andrew.burgess@embecosm.com>
76
77         * testsuite/ld-avr/relax-02.d: New file.
78         * testsuite/ld-avr/relax-02.s: New file.
79         * testsuite/ld-avr/relax-03.d: New file.
80         * testsuite/ld-avr/relax-03.s: New file.
81
82 2014-10-29  Nick Clifton  <nickc@redhat.com>
83
84         * po/bg.po: Updated Bulgarian translation.
85
86 2014-10-24  Tejas Belagod  <tejas.belagod@arm.com>
87
88         * emultempl/aarch64elf.em: Add command-line option for erratum 835769.
89
90 2014-10-17  Hans-Peter Nilsson  <hp@axis.com>
91
92         Implement --print-sysroot in ld.
93         * ldlex.h (enum option_values): Add entry OPTION_PRINT_SYSROOT.
94         * lexsup.c (ld_options): Add entry for --print-sysroot.
95         (parse_args) <OPTION_PRINT_SYSROOT>: Print sysroot and exit early.
96
97 2014-10-16  Alan Modra  <amodra@gmail.com>
98
99         PR 17488
100         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't attempt
101         to access ELF header e_flags when not ppc64 ELF output.
102
103 2014-10-15  Tristan Gingold  <gingold@adacore.com>
104
105         * configure: Regenerate.
106
107 2014-10-15  Hans-Peter Nilsson  <hp@axis.com>
108
109         * ldlex.l (INPUTLIST): New start condition.
110         (comment pattern, ",", "(", ")", "AS_NEEDED")
111         ({FILENAMECHAR1}{FILENAMECHAR}*, "-l"{FILENAMECHAR}+)
112         (quoted string pattern, whitespace pattern): Add INPUTLIST to
113         valid start conditions.
114         (<INPUTLIST>"="{FILENAMECHAR1}{FILENAMECHAR}*): New NAME rule.
115         (ldlex_inputlist): New start-condition-setter function.
116         * ldgram.y (input_list1): Rename from input_list.  All recursive
117         use changed.
118         (input_list): New wrapper rule for input_list1, setting
119         INPUTLIST lexer state for the duration of parsing input_list1.
120         * ldlang.c (lang_add_input_file): If the first character in the
121         filename is '=', prepend the sysroot and force the context of that
122         input file to non-sysroot.
123         * ld.texinfo (Options): When mentioning "=" and sysroot, mention
124         that --sysroot controls it, not only through the configuration.
125         (input files in linker scripts): When mentioning
126         behavior of first character "/" on scripts within sysroot, also
127         mention that effect can be forced by prefixing with "=" and
128         refer to SEARCH_DIR.
129
130 2014-10-14  Tristan Gingold  <gingold@adacore.com>
131
132         * NEWS: Add marker for 2.25.
133
134 2014-10-13  Alan Modra  <amodra@gmail.com>
135
136         * ldlang.c (lang_add_section): Set up map_head.s and map_tail.s when
137         relocatable.
138
139 2014-09-16  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
140
141         * emultempl/nds32elf.em (nds32_elf_after_open): Do not keep
142         ex9 234th entry.
143         (nds32_elf_after_allocation): Move all optimizations into
144         nds32_elf_relax_section.
145
146 2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
147             Matthew Fortune  <matthew.fortune@imgtec.com>
148
149         * ldmain.c (get_emulation): Add support for -mips32r6 and -mips64r6.
150
151 2014-09-12  Andrew Bennett  <andrew.bennett@imgtec.com>
152
153         * configure.tgt: Add mips*-img-elf* target triple.
154
155 2014-09-01  Jon TURNEY  <jon.turney@dronecode.org.uk>
156
157         * emultempl/pe.em (write_build_id, setup_build_id): Change pe/coff
158         build-id section name from '.build-id' to '.buildid'.
159         * emultempl/pep.em (write_build_id, setup_build_id): Ditto.
160
161 2014-08-22  Andreas Tobler  <andreast@fgznet.ch>
162
163         * emulparams/armelf_fbsd.sh (TEXT_START_ADDR): Increase alignment to
164         64kB boundary like in armelf_linux.sh.
165
166 2014-08-22  Alan Modra  <amodra@gmail.com>
167
168         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
169         bfd_elf_discard_info after generating glink .eh_frame.  Delete
170         redundant test on ppc64_elf_setup_section_lists status.
171
172 2014-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
173
174         * emultempl/armelf.em (OPTION_STUBGROUP_SIZE): Fix formatting.
175         (OPTION_NO_MERGE_EXIDX_ENTRIES, OPTION_LONG_PLT): Likewise.
176
177 2014-08-20  Will Newton  <will.newton@linaro.org>
178
179         * configure.tgt: Default armeb-*-eabi* to big endian.
180
181 2014-08-20  Daniel Micay  <danielmicay@gmail.com>
182
183         * emultempl/pep.em: Add --high-entropy-va switch.
184         * ld.texinfo: Document the --high-entropy-va switch.
185
186 2014-08-20  Nick Clifton  <nickc@redhat.com>
187
188         * scripttempl/DWARF.sc: Add copyright notice.
189         * scripttempl/aix.sc: Likewise.
190         * scripttempl/alpha.sc: Likewise.
191         * scripttempl/alphavms.sc: Likewise.
192         * scripttempl/aout.sc: Likewise.
193         * scripttempl/armaout.sc: Likewise.
194         * scripttempl/armbpabi.sc: Likewise.
195         * scripttempl/armcoff.sc: Likewise.
196         * scripttempl/avr.sc: Likewise.
197         * scripttempl/avrtiny.sc: Likewise.
198         * scripttempl/crisaout.sc: Likewise.
199         * scripttempl/delta68.sc: Likewise.
200         * scripttempl/dlx.sc: Likewise.
201         * scripttempl/elf.sc: Likewise.
202         * scripttempl/elf32cr16.sc: Likewise.
203         * scripttempl/elf32cr16c.sc: Likewise.
204         * scripttempl/elf32crx.sc: Likewise.
205         * scripttempl/elf32msp430.sc: Likewise.
206         * scripttempl/elf32msp430_3.sc: Likewise.
207         * scripttempl/elf32sh-symbian.sc: Likewise.
208         * scripttempl/elf32xc16x.sc: Likewise.
209         * scripttempl/elf32xc16xl.sc: Likewise.
210         * scripttempl/elf32xc16xs.sc: Likewise.
211         * scripttempl/elf64hppa.sc: Likewise.
212         * scripttempl/elf_chaos.sc: Likewise.
213         * scripttempl/elfd10v.sc: Likewise.
214         * scripttempl/elfd30v.sc: Likewise.
215         * scripttempl/elfi370.sc: Likewise.
216         * scripttempl/elfm68hc11.sc: Likewise.
217         * scripttempl/elfm68hc12.sc: Likewise.
218         * scripttempl/elfmicroblaze.sc: Likewise.
219         * scripttempl/elfxgate.sc: Likewise.
220         * scripttempl/elfxtensa.sc: Likewise.
221         * scripttempl/epiphany_4x4.sc: Likewise.
222         * scripttempl/epocpe.sc: Likewise.
223         * scripttempl/h8300.sc: Likewise.
224         * scripttempl/h8300h.sc: Likewise.
225         * scripttempl/h8300hn.sc: Likewise.
226         * scripttempl/h8300s.sc: Likewise.
227         * scripttempl/h8300sn.sc: Likewise.
228         * scripttempl/h8300sx.sc: Likewise.
229         * scripttempl/h8300sxn.sc: Likewise.
230         * scripttempl/h8500.sc: Likewise.
231         * scripttempl/h8500b.sc: Likewise.
232         * scripttempl/h8500c.sc: Likewise.
233         * scripttempl/h8500m.sc: Likewise.
234         * scripttempl/h8500s.sc: Likewise.
235         * scripttempl/hppaelf.sc: Likewise.
236         * scripttempl/i386beos.sc: Likewise.
237         * scripttempl/i386coff.sc: Likewise.
238         * scripttempl/i386go32.sc: Likewise.
239         * scripttempl/i386msdos.sc: Likewise.
240         * scripttempl/i860coff.sc: Likewise.
241         * scripttempl/i960.sc: Likewise.
242         * scripttempl/ia64vms.sc: Likewise.
243         * scripttempl/ip2k.sc: Likewise.
244         * scripttempl/iq2000.sc: Likewise.
245         * scripttempl/m68kaux.sc: Likewise.
246         * scripttempl/m68kcoff.sc: Likewise.
247         * scripttempl/m88kbcs.sc: Likewise.
248         * scripttempl/mcorepe.sc: Likewise.
249         * scripttempl/mep.sc: Likewise.
250         * scripttempl/mips.sc: Likewise.
251         * scripttempl/mipsbsd.sc: Likewise.
252         * scripttempl/mmo.sc: Likewise.
253         * scripttempl/moxie.sc: Likewise.
254         * scripttempl/nds32elf.sc: Likewise.
255         * scripttempl/nw.sc: Likewise.
256         * scripttempl/pe.sc: Likewise.
257         * scripttempl/pep.sc: Likewise.
258         * scripttempl/pj.sc: Likewise.
259         * scripttempl/ppcpe.sc: Likewise.
260         * scripttempl/psos.sc: Likewise.
261         * scripttempl/riscix.sc: Likewise.
262         * scripttempl/sh.sc: Likewise.
263         * scripttempl/sparccoff.sc: Likewise.
264         * scripttempl/st2000.sc: Likewise.
265         * scripttempl/tic30aout.sc: Likewise.
266         * scripttempl/tic30coff.sc: Likewise.
267         * scripttempl/tic4xcoff.sc: Likewise.
268         * scripttempl/tic54xcoff.sc: Likewise.
269         * scripttempl/tic80coff.sc: Likewise.
270         * scripttempl/v850.sc: Likewise.
271         * scripttempl/v850_rh850.sc: Likewise.
272         * scripttempl/vanilla.sc: Likewise.
273         * scripttempl/w65.sc: Likewise.
274         * scripttempl/xstormy16.sc: Likewise.
275         * scripttempl/z80.sc: Likewise.
276         * scripttempl/z8000.sc: Likewise.
277
278 2014-08-19  Alan Modra  <amodra@gmail.com>
279
280         * configure: Regenerate.
281
282 2014-08-18  Alan Modra  <amodra@gmail.com>
283
284         * ld.texinfo (--as-needed): Clarify that references from libraries
285         must be from needed libraries.
286
287 2014-08-18  Alan Modra  <amodra@gmail.com>
288
289         * emultempl/aarch64elf.em (gld${EMULATION_NAME}_after_allocation):
290         Handle error status from bfd_elf_discard_info.
291         * emultempl/armelf.em: Likewise.
292         * emultempl/elf32.em: Likewise.
293         * emultempl/hppaelf.em: Likewise.
294         * emultempl/metagelf.em: Likewise.
295         * emultempl/nios2elf.em: Likewise.
296         * emultempl/ppc64elf.em: Likewise.
297         * emultempl/tic6xdsbt.em: Likewise.
298         * emultempl/vms.em: Likewise.
299
300 2014-08-14  Alan Modra  <amodra@gmail.com>
301
302         PR 16563
303         * ldlang.c (map_head_is_link_order): Rename from
304         stripped_excluded_sections.
305         (lang_clear_os_map): New function, extracted from..
306         (strip_excluded_output_sections): ..here.
307         * ldlang.h (lang_clear_os_map): Declare.
308         * ldwrite.c (ldwrite): Call lang_clear_os_map.
309         * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
310         Likewise.
311
312 2014-08-14  Alan Modra  <amodra@gmail.com>
313
314         * configure.ac: Move AC_PROG_CC and other macros earlier.  Delete
315         plugin checks now done in config/plugins.m4.
316         * config.in: Regenerate.
317         * configure: Regenerate.
318
319 2014-08-14  Alan Modra  <amodra@gmail.com>
320
321         * plugin.c (is_ir_dummy_bfd): Test BFD_PLUGIN flag rather than
322         flags.claimed.
323
324 2014-08-13  Yaakov Selkowitz  <yselkowi@redhat.com>
325
326         * pe-dll.c (autofilter_entry_type autofilter_symbollist_i386): Add
327         __dso_handle.
328
329 2014-08-13  Alan Modra  <amodra@gmail.com>
330
331         * ldlang.c (open_input_bfds): Don't use bfd_elf_get_dyn_lib_class.
332
333 2014-08-12  Alan Modra  <amodra@gmail.com>
334
335         * ldlang.h (struct lang_input_statement_flags): Don't make "reload"
336         field conditional on ENABLE_PLUGINS.
337         * ldlang.c (open_input_bfds): Expand plugin_should_reload.
338         * plugin.h (plugin_should_reload): Delete.
339         * plugin.c (plugin_should_reload): Delete.
340
341 2014-08-12  Alan Modra  <amodra@gmail.com>
342
343         * ldmain.c (notice): Update args.
344         * plugin.c (plugin_notice): Likewise.  Follow warning sym link.
345         Handle new indirect symbol.
346
347 2014-08-12  Alan Modra  <amodra@gmail.com>
348
349         * plugin.c (plugin_load_plugins): Set link_info.lto_plugin_active.
350
351 2014-08-08  Ulrich Drepper  <drepper@gmail.com>
352
353         * ldlang.h (struct lang_input_statement_flags): Add pushed
354         member.
355         * ldlex.h (enum option_values): Add OPTION_PUSH_STATE and
356         OPTION_POP_STATE.
357         * lexsup.c (ld_options): Add entries for --push-state and
358         --pop-state.
359         (parse_args): Handle OPTION_PUSH_STATE and OPTION_POP_STATE.
360         * ld.texinfo: Document --push-state and --pop-state.
361
362 2014-08-06  H.J. Lu  <hongjiu.lu@intel.com>
363
364         PR14918
365         * plugin.c (plugin_opt_plugin_arg): Drop --pass-through.
366
367 2014-08-05  Alan Modra  <amodra@gmail.com>
368
369         * Makefile.in: Regenerate.
370
371 2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
372
373         * emulparams/elf32bmip.sh: Add .MIPS.abiflags.
374         * emulparams/elf32bmipn32-defs.sh: Likewise.
375         * emulparams/elf64bmip-defs.sh: Likewise.
376
377 2014-07-27  Anthony Green  <green@moxielogic.com>
378
379         * Makefile.am (ALL_EMULATION_SOURCES): Add moxiebox support.
380         (emoxiebox.c): Build.
381         * configure.tgt (targ_extra_ofiles): Add moxie-*-moxiebox*.
382         * emulparams/moxiebox.sh (TEXT_START_ADDR): New file.
383         * Makefile.in: Rebuilt.
384
385 2014-07-17  Stefan Kristiansson  <stefan.kristiansson@saunalahti.fi>
386
387         * emulparams/elf32or1k_linux.sh (TEXT_START_ADDR): Increase from
388         0x0 to first page boundary at 0x2000.
389
390 2014-07-10  Max Filippov  <jcmvbkbc@gmail.com>
391
392         * emultempl/xtensaelf.em (is_inconsistent_linkonce_section):
393         correctly handle missing dot in section name after
394         ".gnu.linkonce.prop.".
395
396 2014-07-08  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
397
398         * scripttempl/avr.sc: Remove KEEP for .data and
399         force .bss VMA to end of .data VMA.
400
401 2014-07-08  Will Newton  <will.newton@linaro.org>
402
403         * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase
404         alignment to 64kB boundary.
405
406 2014-07-04  Alan Modra  <amodra@gmail.com>
407
408         * configure.ac: Update "configure.in" comments.
409         * configure: Regenerate.
410
411 2014-07-04  Alan Modra  <amodra@gmail.com>
412
413         * configure.ac: Rename from configure.in.
414         * Makefile.in: Regenerate.
415         * config.in: Regenerate.
416
417 2014-07-04  Alan Modra  <amodra@gmail.com>
418
419         * configure.in: Include bfd/version.m4.
420         (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
421         (BFD_VERSION): Delete.
422         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
423         * configure: Regenerate.
424         * Makefile.in: Regenerate.
425
426 2014-07-03  Alan Modra  <amodra@gmail.com>
427
428         PR 17068
429         * ldlang.c (load_symbols): Always check flags.reload.
430         (open_input_bfds): Always reload --as-needed shared libraries,
431         not just when rescanning.
432         * ldlang.h (struct lang_input_statement_flags): Update reload comment.
433         * plugin.c (plugin_should_reload): Assume shared library arg.
434         * plugin.h (plugin_should_reload): Update comment.
435
436 2014-07-01  Alan Modra  <amodra@gmail.com>
437
438         * emultempl/ppc64elf.em (stub_added): Delete.
439         (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
440         none of the usual stubs have been added.  Only change entry_section
441         for ELFv1.
442
443 2014-07-01  Alan Modra  <amodra@gmail.com>
444
445         * sysdep.h: Don't include limits.h and sys/param.h.  Don't
446         include unistd.h twice.
447         (LD_PATHMAX): Don't define.
448         * ldlang.c (lang_common): Don't use UINT_MAX.
449
450 2014-07-01  Barney Stratford  <barney_stratford@fastmail.fm>
451             Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
452             Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
453             Soundararajan  <Sounderarajan.D@atmel.com>
454
455         * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
456         (eavrtiny.c): Add rules for avrtiny emulation source.
457         * Makefile.in: Regenerate.
458         * configure.tgt: Add avrtiny to avr target emulations.
459         * scripttempl/avrtiny.sc: New file.  Linker script template for
460         avrtiny arch.
461         * emulparams/avrtiny.sh: New file.  Emulation parameters for
462         avrtiny arch.
463
464 2014-06-30  Ulrich Drepper  <drepper@gmail.com>
465
466         * lexsup.c (parse_args): Check whether provided SONAME is empty
467         string.  If yes, warn and ignore it.  Don't overwrite valid SONAME
468         with empty string.
469
470 2014-06-26  Linda Zhang  <lindasc@qq.com>
471
472         * emultempl/pe.em: Initialise insert_timestamp to true.
473         Add a --no-insert-timestamp command line option.
474         * emultempl/pep.em: Likewise.
475         * ld.texinfo: Document that --insert-timestamp is enabled by
476         default and that it now has an inverse command line option.
477         * NEWS: Mention the new behaviour.
478
479 2014-06-25  Nick Clifton  <nickc@redhat.com>
480
481         * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
482         here...
483         (ALL_64_EMULATION_SOURCES): ... to here.
484         (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
485         (ALL_64_EMUL_EXTRA_OFILES): New.  ... to here.
486         * configure.in (EMUL_EXTRA_OFILES): Include
487         ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
488         * Makefile.in: Regenerate.
489         * configure: Regenerate.
490
491 2014-06-18  Andreas Tobler  <andreast@fgznet.ch>
492
493         * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
494         (arm*b-*-freebsd*): Add target.
495         * emulparams/armelfb_fbsd.sh: Added.
496         * emulparams/armelf_fbsd.sh: Updated.
497         * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
498         * Makefile.in: Regenerate.
499
500 2014-06-16  Alan Modra  <amodra@gmail.com>
501
502         * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
503         .rel sections, and __rel_iplt from .rela sections.
504         * scripttempl/nds32elf.sc: Likewise.
505         * Makefile.am (ends32*.c) Depend on nds32elf.sc.
506         * Makefile.in: Regenerate.
507
508 2014-06-13  Alan Modra  <amodra@gmail.com>
509
510         PR 17047
511         * ldlang.c (output_bfd_hash_table_free_fn): Delete.
512         (open_output): Don't set it..
513         * ldmain.c (ld_cleanup): ..or call it.
514
515 2014-06-13  Alan Modra  <amodra@gmail.com>
516
517         * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
518         * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
519         * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
520         * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
521
522 2014-06-13  Alan Modra  <amodra@gmail.com>
523
524         * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
525         * Makefile.in: Regenerate.
526
527 2014-06-07  Alan Modra  <amodra@gmail.com>
528
529         * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
530         linker script symbol value override a built-in linker symbol.
531
532 2014-06-05  Joel Brobecker  <brobecker@adacore.com>
533
534         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
535         bfd's development.sh.
536         * Makefile.in, configure: Regenerate.
537
538 2014-06-02  Alan Modra  <amodra@gmail.com>
539
540         * emulparams/elf32bfin.sh: Rename from bfin.sh.
541         * emulparams/elf32bfinfd.sh: Update to suit.
542         * emulparams/msp430.sh: Rename from msp430all.sh.  Remove
543         MSP430_NAME and msp430X vars.
544         * emulparams/msp430X.sh: New.
545         * emulparams/score3_elf.sh: Rename from scoreelf.sh.  Remove
546         SCORE_NAME and score7_elf ARCH setting.
547         * emulparams/score7_elf.sh: New.
548         * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
549         (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
550         * Makefile.in: Regenerate.
551         * genscripts.sh: Delete customizer_script param.
552
553 2014-05-28  Hans-Peter Nilsson  <hp@axis.com>
554
555         * Makefile.am: Change all rules with ${GENSCRIPTS}
556         invocations to be just dependencies.
557         ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
558         (run-genscripts): New rules.
559         * Makefile.in: Regenerate.
560
561 2014-05-27  DJ Delorie  <dj@redhat.com>
562
563         * ld/ldemul.h (extra_map_file_text): New field.
564         (ldemul_extra_map_file_text): Declare.
565         * ld/ldemul.c (ldemul_extra_map_file_text): Define.
566         * ld/ldlang.c (lang_map): Call it.
567
568         * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
569         * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
570         * ld/emultempl/armcoff.em: Likewise.
571         * ld/emultempl/beos.em: Likewise.
572         * ld/emultempl/elf32.em: Likewise.
573         * ld/emultempl/generic.em: Likewise.
574         * ld/emultempl/gld960.em: Likewise.
575         * ld/emultempl/gld960c.em: Likewise.
576         * ld/emultempl/linux.em: Likewise.
577         * ld/emultempl/lnk960.em: Likewise.
578         * ld/emultempl/m68kcoff.em: Likewise.
579         * ld/emultempl/pe.em: Likewise.
580         * ld/emultempl/pep.em: Likewise.
581         * ld/emultempl/sunos.em: Likewise.
582         * ld/emultempl/ticoff.em: Likewise.
583         * ld/emultempl/vanilla.em: Likewise.
584
585 2014-05-24  Alan Modra  <amodra@gmail.com>
586
587         * ldlang.c (base): Move variable to..
588         * mri.c: ..here, and make static.
589         * ldlang.h (base): Delete declaration.
590
591 2014-05-20  Hans-Peter Nilsson  <hp@axis.com>
592
593         * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
594         * Makefile.in: Regenerate.
595
596 2014-05-20  Alan Modra  <amodra@gmail.com>
597
598         PR 16952
599         * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
600         * emultempl/ppc32elf.em (ppc_before_allocation): Call
601         ppc_elf_maybe_strip_sdata_syms.
602         * ldlang.c (size_input_section): Correct output_offset value
603         for excluded input sections.
604
605 2014-05-16  John Marino  <binutils@marino.st>
606
607         * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
608
609 2014-05-11  Chung-Lin Tang  <cltang@codesourcery.com>
610
611         * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
612         and gp in PROVIDE_HIDDEN.
613
614 2014-05-10  Hans-Peter Nilsson  <hp@bitrange.com>
615
616         * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
617         (output_bfd_hash_table_free_fn): New variable.
618         (open_output): Save the _bfd_link_hash_table_free function for the
619         output_bfd into output_bfd_hash_table_free_fn.
620         * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
621         on link_info.hash.
622         * ldlang.h (output_bfd_hash_table_free_fn): Declare.
623
624 2014-05-02  Alan Modra  <amodra@gmail.com>
625
626         * emultempl/metagelf.em: Update bfd target vector naming.
627         * emultempl/nios2elf.em: Likewise.
628         * emultempl/spuelf.em: Likewise.
629         * emultempl/tic6xdsbt.em: Likewise.
630
631 2014-04-22  Christian Svensson  <blue@cmd.nu>
632
633         * Makefile.am: Remove openrisc and or32 support.  Add support for or1k.
634         * configure.tgt: Likewise.
635         * emulparams/elf32or1k.sh: New file.
636         * emulparams/elf32or1k_linux.sh: New file.
637         * emulparams/elf32openrisc.sh: Delete.
638         * emulparams/or32.sh: Delete.
639         * emulparams/or32elf.sh: Delete.
640         * scripttempl/or32.sc: Delete.
641         * Makefile.in: Regenerate.
642
643 2014-04-21  Richard Henderson  <rth@redhat.com>
644
645         * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
646
647 2014-04-16  Steve Ellcey  <sellcey@mips.com>
648
649         * emultempl/elf32.em: Include safe-ctype.h.
650
651 2014-04-16  Steve Ellcey  <sellcey@mips.com>
652
653         * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
654
655 2014-04-09  Nick Clifton  <nickc@redhat.com>
656
657         * Makefile.am (default-manifest.o): Remove rule.
658         (EMUL_EXTRA_BINARIES): Delete.
659         (ALL_EMUL_EXTRA_BINARIES): Delete.
660         (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
661         (install-data-local): Remove EMUL_EXTRA_BINARIES.
662         * Makefile.in: Regenerate.
663         * configure.in (all_emul_extra_binaries): Delete.
664         (EMUL_EXTRA_BINARIES): Remove.
665         * configure: Regenerate.
666         * configure.tgt (target_extra_binaries): Delete.
667         * emultempl/default-manifest.rc: Delete.
668         * ld.texinfo: Remove discussion of default manifest.
669         * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
670         * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
671
672 2014-04-09  Alan Modra  <amodra@gmail.com>
673
674         * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
675         * emultempl/nds32elf.em: Include bfd_stdint.h.
676         * po/POTFILES.in: Regenerate.
677
678 2014-04-09  Alan Modra  <amodra@gmail.com>
679
680         * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
681         (LDEMUL_FINISH): Define.
682
683 2014-04-08  Nick Clifton  <nickc@redhat.com>
684
685         * scripttempl/pe.sc (R_RSRC): Remove default manifest.
686         * scripttempl/pep.sc (R_RSRC): Remove default manifest.
687
688 2014-04-08  Jon TURNEY  <jon.turney@dronecode.org.uk>
689
690         * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
691         Move code for parsing build-id option and calculating the build-id to...
692         * ldbuildid.c: New file.
693         * ldbuildid.h: New file.
694         * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
695         files.
696         * Makefile.in: Regenerate.
697         * ld.texinfo: Update --build-id description to mention COFF
698         support.
699         * NEWS: Mention support for COFF build ids.
700         * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
701         (pecoff_checksum_contents, write_build_id, setup_build_id)
702         (gld_${EMULATION_NAME}_after_open):  Handle and implement
703         build-id option.
704         * emultempl/pep.em: Likewise.
705
706 2014-04-04  Cary Coutant  <ccoutant@google.com>
707
708         PR gold/16804
709         * ld.texinfo: Document optional comma following output section
710         command and overlay command.
711
712 2014-04-04  Alan Modra  <amodra@gmail.com>
713
714         * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
715         current "fill", not "output_section_statement->fill".
716
717 2014-03-31  Nick Clifton  <nickc@redhat.com>
718
719         PR ld/16744
720         * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
721         section when performing a relocatable link with -z [no]execstack
722         specified.
723
724 2014-03-27  H.J. Lu  <hongjiu.lu@intel.com>
725
726         PR ld/16756
727         * ldmain.c (symbol_warning): New function.
728         (warning_callback): Use it.  Scan all input files for a reference
729         to SYMBOL.
730
731 2014-03-21  Christopher Faylor  <me.cygwin2013@cgf.cx>
732
733         * ld.texinfo: Document change in handling of --enable-auto-image-base.
734         * emultempl/pe.em (pe_auto_image_base): Set to default base.
735         (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
736         optional --enable-auto-image-base argument.
737         (gld${EMULATION_NAME}_handle_option): Handle optional
738         --enable-auto-image-base argument.
739         (compute_dll_image_base): Eliminate constant.  Use pe_auto_image_base.
740
741 2014-03-19  Nick Clifton  <nickc@redhat.com>
742
743         * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
744         * Makefile.in: Regenerate.
745         * emultempl/default-manifest.rc: Fix typo.
746         * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
747         (.rsrc): Add SUBALIGN(4).  Remove SORT.
748         * scripttempl/pep.sc: Likewise.
749
750 2014-03-17  Christopher Faylor  <me.cygwin2014@cgf.cx>
751
752         * Makefile.am: Use host version of windres.
753         * Makefile.in: Regenerate.
754
755 2014-03-14  Romain Geissler  <romain.geissler@amadeus.com>
756             Alan Modra  <amodra@gmail.com>
757
758         * ldlang.h (full_name_provided): New input flag.
759         * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
760         for -l:namespec.  Instead use lang_input_file_is_l_enum with
761         full_name_provided flag.
762         * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
763         full_name_provided flag is set.
764         * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
765         Handle full_name_provided libraries.  Tidy EXTRA_SHLIB_EXTENSION
766         support.  Set DT_NEEDED for -l:namespec as namespec.
767         * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
768         * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
769         Don't handle full_name_provided libraries.
770         * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
771         * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
772         * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
773
774 2014-03-12  Alan Modra  <amodra@gmail.com>
775
776         * Makefile.in: Regenerate.
777
778 2014-03-05  Alan Modra  <amodra@gmail.com>
779
780         Update copyright years.
781
782 2014-03-04  Nick Clifton  <nickc@redhat.com>
783
784         * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
785         * Makefile.in: Regenerate.
786
787 2014-02-27  Yuri Gribov  <y.gribov@samsung.com>
788
789         * emultempl/armelf.em (OPTION_LONG_PLT): Define.
790         (PARSE_AND_LIST_LONGOPTS): Add long-plt.
791         (PARSE_AND_LIST_OPTIONS): Likewise.
792         (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
793         * ld.texinfo: Document --long-plt.
794
795 2014-02-27  Alan Modra  <amodra@gmail.com>
796
797         * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
798         use ppc32elf.em.
799         * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
800         vxworks.
801         (LDEMUL_AFTER_OPEN): Don't set for vxworks.
802         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
803         -secure-plt, -bss-plt and -sdata-got when vxworks.
804
805 2014-02-27  Nick Clifton  <nickc@redhat.com>
806
807         * configure.in (all_emul_extra_binaries): New variable.  Populated
808         by invoking configure.tgt.
809         (EMUL_EXTRA_BINARIES): New substitution.
810         * configure: Regenerate.
811         * configure.tgt (target_extra_binaries): New variable.  Set to
812         default-manifest.o for Cygwin and MinGW targets.
813         * Makefile.am (EMUL_EXTRA_BINARIES): New variable.  Initialised
814         by the configure script.
815         (ALL_EMUL_EXTRA_BINARIES): New variable.
816         (default-manifest.o): New rule to build the default manifest.
817         (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
818         (install-data-local): Add EMUL_EXTRA_BINARIES.
819         * Makefile.in: Regenerate.
820         * ld.texinfo: Document default manifest support.
821         * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
822         * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
823         * emultempl/default-manifest.rc: New file.
824         * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
825         * scripttempl/pep.sc (R_RSRC): Likewise.
826
827 2014-02-26  Dan Mick  <dan.mick@inktank.com>
828
829         PR ld/16569
830         * ldcref.c (cref_sort_array): Compare unmangled names unless
831         demanglng has been requiested.
832         (output_one_cref): Output unmangled name unless demangling has
833         been requested.
834
835 2014-02-19  Igor Zamyatin  <igor.zamyatin@intel.com>
836             H.J. Lu  <hongjiu.lu@intel.com>
837
838         * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
839
840 2014-02-19  Alan Modra  <amodra@gmail.com>
841
842         * emultempl/ppc64elf.em (params): Init new field.
843         (ppc_create_output_section_statements): Set params.save_restore_funcs
844         default.
845         (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
846         --no-save-restore-funcs.
847
848 2014-02-17  Alan Modra  <amodra@gmail.com>
849
850         * emultemps/ppc64elf.em (params): New static struct replacing
851         various other static vars.  Adjust code throughout file.
852
853 2014-02-17  Alan Modra  <amodra@gmail.com>
854
855         * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
856         ppc476 workaround for ld -r.
857
858 2014-02-12  Alan Modra  <amodra@gmail.com>
859
860         * emultempl/ppc32elf.em (pagesize): New static var.
861         (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
862         (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
863
864 2014-02-11  Andrew Pinski  <apinski@cavium.com>
865
866         * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
867         (ELF_INTERPRETER_NAME): Define.
868         * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
869
870 2014-02-10  Alan Modra  <amodra@gmail.com>
871
872         * po/ld.pot: Regenerate.
873
874 2014-02-03  Alan Modra  <amodra@gmail.com>
875
876         * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
877         plt_style): Delete.  Adjust all refs to instead use..
878         (params): ..this.  New variable.
879         (ppc_after_open_output): New function.  Tweak params and pass to
880         ppc_elf_link_params.
881         (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
882         (ppc_before_allocation): Adjust ppc_elf_tls_setup call.  Enable
883         relaxation for ppc476 workaround.
884         (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
885         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
886
887 2014-02-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
888
889         * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
890         * ld/ldlang.c (lang_size_sections_1): Add dotdelta
891         variable which reflects the VMA change due to alignment
892         requirements.  Use dotdelta do change the LMA if
893         ALIGN_WITH_INPUT is requested.
894
895 2014-02-01  Hans-Peter Nilsson  <hp@bitrange.com>
896
897         * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
898         call to bfd_set_section_vma exposed by recent bfd_set_section_vma
899         change.
900
901 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
902
903         * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
904         * Makefile.in: Regenerated.
905         * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
906         * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
907         * emultempl/nios2elf.em: New file.
908         * gen-doc.texi (NIOSII): Set.
909         * ld.texinfo (NIOSII): Set.
910
911 2014-01-28  Nick Clifton  <nickc@redhat.com>
912
913         * Makefile.am: Remove obsolete MSP430 emulations.
914         * configure.tgt: Likewise.
915         * emulparams/msp430all.sh: Likewise.
916         * Makefile.in: Regenerate.
917
918 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
919
920         PR ld/16498
921         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
922         orphaned TLS section handling.
923
924 2014-01-24  Alan Modra  <amodra@gmail.com>
925
926         * ldlang.c (lang_output_section_find_by_flags): Be careful to
927         test look->bfd_section->flags if available rather than
928         look->flags.  Separate SEC_THREAD_LOCAL handling from
929         SEC_READONLY loop, and rewrite.
930
931 2014-01-22  Alan Modra  <amodra@gmail.com>
932
933         * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
934         (lang_init): Initialise them.
935         (lang_print_asneeded): New function.
936         (lang_process): Call lang_print_asneeded.
937         * ldlang.h (struct asneeded_minfo): New.
938         (asneeded_list_tail): Declare.
939         * ldmain.c (add_archive_element): Improve archive map heading.
940         * ldmisc.c (minfo): Stash --as-needed info.
941
942 2014-01-22  Alan Modra  <amodra@gmail.com>
943
944         * ld.h (struct map_symbol_def): Move to..
945         * ldlang.h: ..here.
946         * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
947
948 2014-01-22  Alan Modra  <amodra@gmail.com>
949
950         * ld.texinfo (Output Section Discarding): Mention assigning to dot
951         as a way of keeping otherwise empty sections.
952         * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
953         is_dot_plus_0, is_align_conditional): New predicates.
954         (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
955         output section, except for some special cases.
956         * scripttempl/elfmicroblaze.sc: Use canonical form to align at
957         end of .heap and .stack.
958
959 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
960
961         * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
962
963 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
964
965         * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
966
967 2014-01-20  Alan Modra  <amodra@gmail.com>
968
969         * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
970         by_script.  Make iteration a single bit field.
971         (lang_track_definedness, lang_symbol_definition_iteration): Delete.
972         (lang_symbol_defined): Declare.
973         * ldlang.c (lang_statement_iteration): Expand comment a little.
974         (lang_init <lang_definedness_table>): Make it bigger.
975         (lang_track_definedness, lang_symbol_definition): Delete.
976         (lang_definedness_newfunc): Update.
977         (lang_symbol_defined): New function.
978         (lang_update_definedness): Create entries here.  Do track whether
979         script definition of symbol is valid, even when also defined in
980         an object file.
981         * ldexp.c (fold_name <DEFINED>): Update.
982         (fold_name <NAME>): Allow self-assignment for absolute symbols
983         defined in a linker script.
984
985 2014-01-20  Guy Martin <gmsoft@tuxicoman.be>
986             Alan Modra  <amodra@gmail.com>
987
988         * ldlang.h (lang_output_section_get): Define.
989         * ldlang.c (lang_output_section_get): Likewise.
990         (init_os): Set the output_section userdata to the output
991         section statement.
992         * emultempl/hppaelf.em: Use lang_output_section_get instead of
993         lang_output_section_find where applicable.
994         * emultempl/aarch64elf.em: Likewise.
995         * emultempl/aix.em: Likewise.
996         * emultempl/armelf.em: Likewise.
997         * emultempl/m68hc1xelf.em: Likewise.
998         * emultempl/metagelf.em: Likewise.
999         * emultempl/mipself.em: Likewise.
1000         * emultempl/ppc64elf.em: Likewise.
1001         * emultempl/spuelf.em: Likewise.
1002
1003 2014-01-17  Alan Modra  <amodra@gmail.com>
1004
1005         * genscripts.sh (COMPILE_IN): Don't set if already set.
1006         * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
1007         COMPILE_IN=no.
1008         * emulparams/nds32elf16m.sh: Likewise.
1009         * emulparams/nds32elf_linux.sh: Likewise.
1010         * emultempl/aix.em: Test COMPILE_IN value is "yes".
1011         * emultempl/armcoff.em: Likewise.
1012         * emultempl/elf32.em: Likewise.
1013         * emultempl/generic.em: Likewise.
1014         * emultempl/gld960.em: Likewise.
1015         * emultempl/gld960c.em: Likewise.
1016         * emultempl/linux.em: Likewise.
1017         * emultempl/lnk960.em: Likewise.
1018         * emultempl/m68kcoff.em: Likewise.
1019         * emultempl/sunos.em: Likewise.
1020         * emultempl/ticoff.em: Likewise.
1021
1022 2014-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1023
1024         PR ld/16456
1025         * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
1026         suffix.
1027         * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
1028         for elf32_x86_64 emulation.
1029         * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
1030         for elf_i386 emulation.
1031
1032 2014-01-16  Alan Modra  <amodra@gmail.com>
1033
1034         * ld.h (fat_section_userdata_type, get_userdata): Move to..
1035         * ldlang.h (input_section_userdata_type, get_userdata): ..here.
1036         * ldlang.c (init_map_userdata): Delete.  Fold into..
1037         (sort_def_symbol): ..here.  Don't attach input section userdata
1038         to output sections or global bfd sections.
1039         (lang_map): Don't pre-allocate input section userdata.
1040         (init_os): Don't allocate userdata for output sections.
1041         (print_all_symbols): Update.
1042
1043 2014-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1044
1045         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1046         Silence uninitialized warning on ehdr_start_save with older
1047         GCC.
1048
1049 2014-01-15  Alan Modra  <amodra@gmail.com>
1050
1051         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
1052         __ehdr_start before size_dynamic_sections and restore afterwards.
1053
1054 2014-01-10  Alan Modra  <amodra@gmail.com>
1055
1056         PR ld/14207
1057         PR ld/16322
1058         PR binutils/16323
1059         * ldlang.c (lang_size_sections): Remove unneeded RELRO base
1060         adjust.  Tidy comments.
1061         * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
1062
1063 2014-01-10  Hans-Peter Nilsson  <hp@axis.com>
1064
1065         * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
1066
1067 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1068
1069         PR ld/14207
1070         PR ld/16322
1071         PR binutils/16323
1072         * ldlang.c (lang_size_sections): Properly align RELRO base.
1073
1074 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1075
1076         * ldver.c (ldversion): Update copyright year to 2014.
1077
1078 For older changes see ChangeLog-2013
1079 \f
1080 Copyright (C) 2014 Free Software Foundation, Inc.
1081
1082 Copying and distribution of this file, with or without modification,
1083 are permitted in any medium without royalty provided the copyright
1084 notice and this notice are preserved.
1085
1086 Local Variables:
1087 mode: change-log
1088 left-margin: 8
1089 fill-column: 74
1090 version-control: never
1091 End: