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