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