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