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