Fix typo in f7f2534e
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
2974be62
AM
12014-08-19 Alan Modra <amodra@gmail.com>
2
3 * configure: Regenerate.
4
1240be6b
AM
52014-08-18 Alan Modra <amodra@gmail.com>
6
7 * ld.texinfo (--as-needed): Clarify that references from libraries
8 must be from needed libraries.
9
75938853
AM
102014-08-18 Alan Modra <amodra@gmail.com>
11
12 * emultempl/aarch64elf.em (gld${EMULATION_NAME}_after_allocation):
13 Handle error status from bfd_elf_discard_info.
14 * emultempl/armelf.em: Likewise.
15 * emultempl/elf32.em: Likewise.
16 * emultempl/hppaelf.em: Likewise.
17 * emultempl/metagelf.em: Likewise.
18 * emultempl/nios2elf.em: Likewise.
19 * emultempl/ppc64elf.em: Likewise.
20 * emultempl/tic6xdsbt.em: Likewise.
21 * emultempl/vms.em: Likewise.
22
18cd5bce
AM
232014-08-14 Alan Modra <amodra@gmail.com>
24
25 PR 16563
26 * ldlang.c (map_head_is_link_order): Rename from
27 stripped_excluded_sections.
28 (lang_clear_os_map): New function, extracted from..
29 (strip_excluded_output_sections): ..here.
30 * ldlang.h (lang_clear_os_map): Declare.
31 * ldwrite.c (ldwrite): Call lang_clear_os_map.
32 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
33 Likewise.
34
b879806f
AM
352014-08-14 Alan Modra <amodra@gmail.com>
36
37 * configure.ac: Move AC_PROG_CC and other macros earlier. Delete
38 plugin checks now done in config/plugins.m4.
39 * config.in: Regenerate.
40 * configure: Regenerate.
41
23ebe1a0
AM
422014-08-14 Alan Modra <amodra@gmail.com>
43
44 * plugin.c (is_ir_dummy_bfd): Test BFD_PLUGIN flag rather than
45 flags.claimed.
46
63e1777c
YS
472014-08-13 Yaakov Selkowitz <yselkowi@redhat.com>
48
49 * pe-dll.c (autofilter_entry_type autofilter_symbollist_i386): Add
50 __dso_handle.
51
0fef4b98
AM
522014-08-13 Alan Modra <amodra@gmail.com>
53
54 * ldlang.c (open_input_bfds): Don't use bfd_elf_get_dyn_lib_class.
55
e77620a5
AM
562014-08-12 Alan Modra <amodra@gmail.com>
57
58 * ldlang.h (struct lang_input_statement_flags): Don't make "reload"
59 field conditional on ENABLE_PLUGINS.
60 * ldlang.c (open_input_bfds): Expand plugin_should_reload.
61 * plugin.h (plugin_should_reload): Delete.
62 * plugin.c (plugin_should_reload): Delete.
63
46135103
AM
642014-08-12 Alan Modra <amodra@gmail.com>
65
66 * ldmain.c (notice): Update args.
67 * plugin.c (plugin_notice): Likewise. Follow warning sym link.
68 Handle new indirect symbol.
69
88d3f087
AM
702014-08-12 Alan Modra <amodra@gmail.com>
71
72 * plugin.c (plugin_load_plugins): Set link_info.lto_plugin_active.
73
26278bb8
UD
742014-08-08 Ulrich Drepper <drepper@gmail.com>
75
76 * ldlang.h (struct lang_input_statement_flags): Add pushed
77 member.
78 * ldlex.h (enum option_values): Add OPTION_PUSH_STATE and
79 OPTION_POP_STATE.
80 * lexsup.c (ld_options): Add entries for --push-state and
81 --pop-state.
82 (parse_args): Handle OPTION_PUSH_STATE and OPTION_POP_STATE.
83 * ld.texinfo: Document --push-state and --pop-state.
84
97964ab3
AM
852014-08-06 H.J. Lu <hongjiu.lu@intel.com>
86
87 PR14918
88 * plugin.c (plugin_opt_plugin_arg): Drop --pass-through.
89
c26fd071
AM
902014-08-05 Alan Modra <amodra@gmail.com>
91
92 * Makefile.in: Regenerate.
93
351cdf24
MF
942014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
95
96 * emulparams/elf32bmip.sh: Add .MIPS.abiflags.
97 * emulparams/elf32bmipn32-defs.sh: Likewise.
98 * emulparams/elf64bmip-defs.sh: Likewise.
99
48494700
AG
1002014-07-27 Anthony Green <green@moxielogic.com>
101
102 * Makefile.am (ALL_EMULATION_SOURCES): Add moxiebox support.
103 (emoxiebox.c): Build.
104 * configure.tgt (targ_extra_ofiles): Add moxie-*-moxiebox*.
105 * emulparams/moxiebox.sh (TEXT_START_ADDR): New file.
106 * Makefile.in: Rebuilt.
107
8d14e191
SK
1082014-07-17 Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
109
110 * emulparams/elf32or1k_linux.sh (TEXT_START_ADDR): Increase from
111 0x0 to first page boundary at 0x2000.
112
e7d17e71
MF
1132014-07-10 Max Filippov <jcmvbkbc@gmail.com>
114
115 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section):
116 correctly handle missing dot in section name after
117 ".gnu.linkonce.prop.".
118
b4841801
DC
1192014-07-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
120
121 * scripttempl/avr.sc: Remove KEEP for .data and
122 force .bss VMA to end of .data VMA.
123
7572ca89
WN
1242014-07-08 Will Newton <will.newton@linaro.org>
125
126 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase
127 alignment to 64kB boundary.
128
1110793a
AM
1292014-07-04 Alan Modra <amodra@gmail.com>
130
131 * configure.ac: Update "configure.in" comments.
132 * configure: Regenerate.
133
35eafcc7
AM
1342014-07-04 Alan Modra <amodra@gmail.com>
135
136 * configure.ac: Rename from configure.in.
137 * Makefile.in: Regenerate.
138 * config.in: Regenerate.
139
2e98a7bd
AM
1402014-07-04 Alan Modra <amodra@gmail.com>
141
142 * configure.in: Include bfd/version.m4.
143 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
144 (BFD_VERSION): Delete.
145 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
146 * configure: Regenerate.
147 * Makefile.in: Regenerate.
148
d215621e
AM
1492014-07-03 Alan Modra <amodra@gmail.com>
150
151 PR 17068
152 * ldlang.c (load_symbols): Always check flags.reload.
153 (open_input_bfds): Always reload --as-needed shared libraries,
154 not just when rescanning.
155 * ldlang.h (struct lang_input_statement_flags): Update reload comment.
156 * plugin.c (plugin_should_reload): Assume shared library arg.
157 * plugin.h (plugin_should_reload): Update comment.
158
7341d5e2
AM
1592014-07-01 Alan Modra <amodra@gmail.com>
160
161 * emultempl/ppc64elf.em (stub_added): Delete.
162 (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
163 none of the usual stubs have been added. Only change entry_section
164 for ELFv1.
165
2dc0e7b4
AM
1662014-07-01 Alan Modra <amodra@gmail.com>
167
168 * sysdep.h: Don't include limits.h and sys/param.h. Don't
169 include unistd.h twice.
170 (LD_PATHMAX): Don't define.
171 * ldlang.c (lang_common): Don't use UINT_MAX.
172
f36e8886
BS
1732014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
174 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
175 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
176 Soundararajan <Sounderarajan.D@atmel.com>
177
178 * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
179 (eavrtiny.c): Add rules for avrtiny emulation source.
180 * Makefile.in: Regenerate.
181 * configure.tgt: Add avrtiny to avr target emulations.
182 * scripttempl/avrtiny.sc: New file. Linker script template for
183 avrtiny arch.
184 * emulparams/avrtiny.sh: New file. Emulation parameters for
185 avrtiny arch.
186
b0054819
UD
1872014-06-30 Ulrich Drepper <drepper@gmail.com>
188
189 * lexsup.c (parse_args): Check whether provided SONAME is empty
190 string. If yes, warn and ignore it. Don't overwrite valid SONAME
191 with empty string.
192
eeb14e5a
LZ
1932014-06-26 Linda Zhang <lindasc@qq.com>
194
195 * emultempl/pe.em: Initialise insert_timestamp to true.
196 Add a --no-insert-timestamp command line option.
197 * emultempl/pep.em: Likewise.
198 * ld.texinfo: Document that --insert-timestamp is enabled by
199 default and that it now has an inverse command line option.
200 * NEWS: Mention the new behaviour.
201
9d069ac3
NC
2022014-06-25 Nick Clifton <nickc@redhat.com>
203
204 * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
205 here...
206 (ALL_64_EMULATION_SOURCES): ... to here.
207 (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
208 (ALL_64_EMUL_EXTRA_OFILES): New. ... to here.
209 * configure.in (EMUL_EXTRA_OFILES): Include
210 ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
211 * Makefile.in: Regenerate.
212 * configure: Regenerate.
213
1804dbce
AT
2142014-06-18 Andreas Tobler <andreast@fgznet.ch>
215
216 * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
217 (arm*b-*-freebsd*): Add target.
218 * emulparams/armelfb_fbsd.sh: Added.
219 * emulparams/armelf_fbsd.sh: Updated.
220 * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
221 * Makefile.in: Regenerate.
222
e1279d1d
AM
2232014-06-16 Alan Modra <amodra@gmail.com>
224
225 * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
226 .rel sections, and __rel_iplt from .rela sections.
227 * scripttempl/nds32elf.sc: Likewise.
228 * Makefile.am (ends32*.c) Depend on nds32elf.sc.
229 * Makefile.in: Regenerate.
230
caa4096e
AM
2312014-06-13 Alan Modra <amodra@gmail.com>
232
233 PR 17047
234 * ldlang.c (output_bfd_hash_table_free_fn): Delete.
235 (open_output): Don't set it..
236 * ldmain.c (ld_cleanup): ..or call it.
237
c72f2fb2
AM
2382014-06-13 Alan Modra <amodra@gmail.com>
239
240 * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
241 * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
242 * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
243 * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
244
07cccc39
AM
2452014-06-13 Alan Modra <amodra@gmail.com>
246
247 * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
248 * Makefile.in: Regenerate.
249
b893397a
AM
2502014-06-07 Alan Modra <amodra@gmail.com>
251
252 * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
253 linker script symbol value override a built-in linker symbol.
254
270c9937
JB
2552014-06-05 Joel Brobecker <brobecker@adacore.com>
256
257 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
258 bfd's development.sh.
259 * Makefile.in, configure: Regenerate.
260
ce46249c
AM
2612014-06-02 Alan Modra <amodra@gmail.com>
262
263 * emulparams/elf32bfin.sh: Rename from bfin.sh.
264 * emulparams/elf32bfinfd.sh: Update to suit.
ce46249c
AM
265 * emulparams/msp430.sh: Rename from msp430all.sh. Remove
266 MSP430_NAME and msp430X vars.
267 * emulparams/msp430X.sh: New.
ce46249c
AM
268 * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove
269 SCORE_NAME and score7_elf ARCH setting.
270 * emulparams/score7_elf.sh: New.
271 * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
272 (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
273 * Makefile.in: Regenerate.
274 * genscripts.sh: Delete customizer_script param.
275
77ac17b8
HPN
2762014-05-28 Hans-Peter Nilsson <hp@axis.com>
277
278 * Makefile.am: Change all rules with ${GENSCRIPTS}
279 invocations to be just dependencies.
280 ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
281 (run-genscripts): New rules.
282 * Makefile.in: Regenerate.
283
7a2f2d82
DD
2842014-05-27 DJ Delorie <dj@redhat.com>
285
286 * ld/ldemul.h (extra_map_file_text): New field.
287 (ldemul_extra_map_file_text): Declare.
288 * ld/ldemul.c (ldemul_extra_map_file_text): Define.
289 * ld/ldlang.c (lang_map): Call it.
290
291 * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
292 * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
293 * ld/emultempl/armcoff.em: Likewise.
294 * ld/emultempl/beos.em: Likewise.
295 * ld/emultempl/elf32.em: Likewise.
296 * ld/emultempl/generic.em: Likewise.
297 * ld/emultempl/gld960.em: Likewise.
298 * ld/emultempl/gld960c.em: Likewise.
299 * ld/emultempl/linux.em: Likewise.
300 * ld/emultempl/lnk960.em: Likewise.
301 * ld/emultempl/m68kcoff.em: Likewise.
302 * ld/emultempl/pe.em: Likewise.
303 * ld/emultempl/pep.em: Likewise.
304 * ld/emultempl/sunos.em: Likewise.
305 * ld/emultempl/ticoff.em: Likewise.
306 * ld/emultempl/vanilla.em: Likewise.
307
0ef76c43
AM
3082014-05-24 Alan Modra <amodra@gmail.com>
309
310 * ldlang.c (base): Move variable to..
311 * mri.c: ..here, and make static.
312 * ldlang.h (base): Delete declaration.
313
865d0aef
HPN
3142014-05-20 Hans-Peter Nilsson <hp@axis.com>
315
316 * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
317 * Makefile.in: Regenerate.
318
93d1b056
AM
3192014-05-20 Alan Modra <amodra@gmail.com>
320
321 PR 16952
322 * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
323 * emultempl/ppc32elf.em (ppc_before_allocation): Call
324 ppc_elf_maybe_strip_sdata_syms.
325 * ldlang.c (size_input_section): Correct output_offset value
326 for excluded input sections.
327
5febff9b
JM
3282014-05-16 John Marino <binutils@marino.st>
329
330 * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
331
fae66359
CLT
3322014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
333
334 * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
335 and gp in PROVIDE_HIDDEN.
336
eae25ec5
HPN
3372014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
338
339 * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
340 (output_bfd_hash_table_free_fn): New variable.
341 (open_output): Save the _bfd_link_hash_table_free function for the
342 output_bfd into output_bfd_hash_table_free_fn.
343 * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
344 on link_info.hash.
345 * ldlang.h (output_bfd_hash_table_free_fn): Declare.
346
6d00b590
AM
3472014-05-02 Alan Modra <amodra@gmail.com>
348
349 * emultempl/metagelf.em: Update bfd target vector naming.
350 * emultempl/nios2elf.em: Likewise.
351 * emultempl/spuelf.em: Likewise.
352 * emultempl/tic6xdsbt.em: Likewise.
353
73589c9d
CS
3542014-04-22 Christian Svensson <blue@cmd.nu>
355
356 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
357 * configure.tgt: Likewise.
358 * emulparams/elf32or1k.sh: New file.
359 * emulparams/elf32or1k_linux.sh: New file.
360 * emulparams/elf32openrisc.sh: Delete.
361 * emulparams/or32.sh: Delete.
362 * emulparams/or32elf.sh: Delete.
363 * scripttempl/or32.sc: Delete.
364 * Makefile.in: Regenerate.
365
d1c109de
RH
3662014-04-21 Richard Henderson <rth@redhat.com>
367
368 * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
369
8056826a
SE
3702014-04-16 Steve Ellcey <sellcey@mips.com>
371
372 * emultempl/elf32.em: Include safe-ctype.h.
373
751e54c9
SE
3742014-04-16 Steve Ellcey <sellcey@mips.com>
375
376 * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
377
edf84efc
NC
3782014-04-09 Nick Clifton <nickc@redhat.com>
379
380 * Makefile.am (default-manifest.o): Remove rule.
381 (EMUL_EXTRA_BINARIES): Delete.
382 (ALL_EMUL_EXTRA_BINARIES): Delete.
383 (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
384 (install-data-local): Remove EMUL_EXTRA_BINARIES.
385 * Makefile.in: Regenerate.
386 * configure.in (all_emul_extra_binaries): Delete.
387 (EMUL_EXTRA_BINARIES): Remove.
388 * configure: Regenerate.
389 * configure.tgt (target_extra_binaries): Delete.
390 * emultempl/default-manifest.rc: Delete.
391 * ld.texinfo: Remove discussion of default manifest.
392 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
393 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
394
e30d16e9
AM
3952014-04-09 Alan Modra <amodra@gmail.com>
396
397 * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
398 * emultempl/nds32elf.em: Include bfd_stdint.h.
399 * po/POTFILES.in: Regenerate.
400
b4ab4364
AM
4012014-04-09 Alan Modra <amodra@gmail.com>
402
403 * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
404 (LDEMUL_FINISH): Define.
405
6c1799ad
NC
4062014-04-08 Nick Clifton <nickc@redhat.com>
407
408 * scripttempl/pe.sc (R_RSRC): Remove default manifest.
409 * scripttempl/pep.sc (R_RSRC): Remove default manifest.
410
61e2488c
JT
4112014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
412
413 * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
414 Move code for parsing build-id option and calculating the build-id to...
415 * ldbuildid.c: New file.
416 * ldbuildid.h: New file.
417 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
418 files.
419 * Makefile.in: Regenerate.
420 * ld.texinfo: Update --build-id description to mention COFF
421 support.
422 * NEWS: Mention support for COFF build ids.
423 * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
424 (pecoff_checksum_contents, write_build_id, setup_build_id)
425 (gld_${EMULATION_NAME}_after_open): Handle and implement
426 build-id option.
427 * emultempl/pep.em: Likewise.
428
abc9061b
CC
4292014-04-04 Cary Coutant <ccoutant@google.com>
430
431 PR gold/16804
432 * ld.texinfo: Document optional comma following output section
433 command and overlay command.
434
ffe54b37
AM
4352014-04-04 Alan Modra <amodra@gmail.com>
436
437 * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
438 current "fill", not "output_section_statement->fill".
439
76f0cad6
NC
4402014-03-31 Nick Clifton <nickc@redhat.com>
441
442 PR ld/16744
443 * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
444 section when performing a relocatable link with -z [no]execstack
445 specified.
446
4c6d802e
L
4472014-03-27 H.J. Lu <hongjiu.lu@intel.com>
448
449 PR ld/16756
450 * ldmain.c (symbol_warning): New function.
451 (warning_callback): Use it. Scan all input files for a reference
452 to SYMBOL.
453
8547a0f9 4542014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
d0e6d77b
CF
455
456 * ld.texinfo: Document change in handling of --enable-auto-image-base.
457 * emultempl/pe.em (pe_auto_image_base): Set to default base.
458 (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
459 optional --enable-auto-image-base argument.
460 (gld${EMULATION_NAME}_handle_option): Handle optional
461 --enable-auto-image-base argument.
462 (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
463
1d63324c
NC
4642014-03-19 Nick Clifton <nickc@redhat.com>
465
466 * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
467 * Makefile.in: Regenerate.
468 * emultempl/default-manifest.rc: Fix typo.
469 * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
6caf7111 470 (.rsrc): Add SUBALIGN(4). Remove SORT.
1d63324c
NC
471 * scripttempl/pep.sc: Likewise.
472
c712f1e3
CF
4732014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
474
475 * Makefile.am: Use host version of windres.
476 * Makefile.in: Regenerate.
477
d4ae5fb0
AM
4782014-03-14 Romain Geissler <romain.geissler@amadeus.com>
479 Alan Modra <amodra@gmail.com>
480
481 * ldlang.h (full_name_provided): New input flag.
482 * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
483 for -l:namespec. Instead use lang_input_file_is_l_enum with
484 full_name_provided flag.
485 * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
486 full_name_provided flag is set.
487 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
488 Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
489 support. Set DT_NEEDED for -l:namespec as namespec.
490 * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
491 * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
492 Don't handle full_name_provided libraries.
493 * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
494 * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
495 * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
496
fa47fa92
AM
4972014-03-12 Alan Modra <amodra@gmail.com>
498
499 * Makefile.in: Regenerate.
500
4b95cf5c
AM
5012014-03-05 Alan Modra <amodra@gmail.com>
502
503 Update copyright years.
504
0b55a33e
NC
5052014-03-04 Nick Clifton <nickc@redhat.com>
506
507 * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
508 * Makefile.in: Regenerate.
509
1db37fe6
YG
5102014-02-27 Yuri Gribov <y.gribov@samsung.com>
511
512 * emultempl/armelf.em (OPTION_LONG_PLT): Define.
513 (PARSE_AND_LIST_LONGOPTS): Add long-plt.
514 (PARSE_AND_LIST_OPTIONS): Likewise.
515 (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
516 * ld.texinfo: Document --long-plt.
517
db434ba0
AM
5182014-02-27 Alan Modra <amodra@gmail.com>
519
520 * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
521 use ppc32elf.em.
522 * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
523 vxworks.
524 (LDEMUL_AFTER_OPEN): Don't set for vxworks.
525 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
526 -secure-plt, -bss-plt and -sdata-got when vxworks.
527
5063daf7
NC
5282014-02-27 Nick Clifton <nickc@redhat.com>
529
530 * configure.in (all_emul_extra_binaries): New variable. Populated
531 by invoking configure.tgt.
532 (EMUL_EXTRA_BINARIES): New substitution.
533 * configure: Regenerate.
534 * configure.tgt (target_extra_binaries): New variable. Set to
535 default-manifest.o for Cygwin and MinGW targets.
536 * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
537 by the configure script.
538 (ALL_EMUL_EXTRA_BINARIES): New variable.
539 (default-manifest.o): New rule to build the default manifest.
540 (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
541 (install-data-local): Add EMUL_EXTRA_BINARIES.
542 * Makefile.in: Regenerate.
543 * ld.texinfo: Document default manifest support.
544 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
545 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
546 * emultempl/default-manifest.rc: New file.
547 * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
548 * scripttempl/pep.sc (R_RSRC): Likewise.
549
e3e37035
DM
5502014-02-26 Dan Mick <dan.mick@inktank.com>
551
552 PR ld/16569
553 * ldcref.c (cref_sort_array): Compare unmangled names unless
554 demanglng has been requiested.
555 (output_one_cref): Output unmangled name unless demangling has
556 been requested.
557
0ff2b86e
L
5582014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
559 H.J. Lu <hongjiu.lu@intel.com>
560
561 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
562
7d4c687d
AM
5632014-02-19 Alan Modra <amodra@gmail.com>
564
565 * emultempl/ppc64elf.em (params): Init new field.
566 (ppc_create_output_section_statements): Set params.save_restore_funcs
567 default.
568 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
569 --no-save-restore-funcs.
570
e7d1c40c
AM
5712014-02-17 Alan Modra <amodra@gmail.com>
572
573 * emultemps/ppc64elf.em (params): New static struct replacing
574 various other static vars. Adjust code throughout file.
575
668e22e5
AM
5762014-02-17 Alan Modra <amodra@gmail.com>
577
578 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
579 ppc476 workaround for ld -r.
580
795bc6b3
AM
5812014-02-12 Alan Modra <amodra@gmail.com>
582
583 * emultempl/ppc32elf.em (pagesize): New static var.
584 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
585 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
586
7d0edd4b
AP
5872014-02-11 Andrew Pinski <apinski@cavium.com>
588
589 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
590 (ELF_INTERPRETER_NAME): Define.
591 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
592
c1c69e83
AM
5932014-02-10 Alan Modra <amodra@gmail.com>
594
595 * po/ld.pot: Regenerate.
596
5446cbdf
AM
5972014-02-03 Alan Modra <amodra@gmail.com>
598
599 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
600 plt_style): Delete. Adjust all refs to instead use..
601 (params): ..this. New variable.
602 (ppc_after_open_output): New function. Tweak params and pass to
603 ppc_elf_link_params.
604 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
605 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
606 relaxation for ppc476 workaround.
607 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
608 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
609
13075d04
SH
6102014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
611
612 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
613 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
614 variable which reflects the VMA change due to alignment
615 requirements. Use dotdelta do change the LMA if
616 ALIGN_WITH_INPUT is requested.
617
0a09fb4a
HPN
6182014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
619
620 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
621 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
622 change.
623
78058a5e
SL
6242014-01-30 Sandra Loosemore <sandra@codesourcery.com>
625
626 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
627 * Makefile.in: Regenerated.
628 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
629 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
630 * emultempl/nios2elf.em: New file.
631 * gen-doc.texi (NIOSII): Set.
632 * ld.texinfo (NIOSII): Set.
633
1ade0651
NC
6342014-01-28 Nick Clifton <nickc@redhat.com>
635
636 * Makefile.am: Remove obsolete MSP430 emulations.
637 * configure.tgt: Likewise.
638 * emulparams/msp430all.sh: Likewise.
639 * Makefile.in: Regenerate.
640
d85e71fe
L
6412014-01-24 H.J. Lu <hongjiu.lu@intel.com>
642
643 PR ld/16498
644 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
645 orphaned TLS section handling.
646
d9d94ac8
AM
6472014-01-24 Alan Modra <amodra@gmail.com>
648
649 * ldlang.c (lang_output_section_find_by_flags): Be careful to
650 test look->bfd_section->flags if available rather than
651 look->flags. Separate SEC_THREAD_LOCAL handling from
652 SEC_READONLY loop, and rewrite.
653
16e4ecc0
AM
6542014-01-22 Alan Modra <amodra@gmail.com>
655
656 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
657 (lang_init): Initialise them.
658 (lang_print_asneeded): New function.
659 (lang_process): Call lang_print_asneeded.
660 * ldlang.h (struct asneeded_minfo): New.
661 (asneeded_list_tail): Declare.
662 * ldmain.c (add_archive_element): Improve archive map heading.
663 * ldmisc.c (minfo): Stash --as-needed info.
664
7dd9c6eb
AM
6652014-01-22 Alan Modra <amodra@gmail.com>
666
667 * ld.h (struct map_symbol_def): Move to..
668 * ldlang.h: ..here.
669 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
670
2edab91c
AM
6712014-01-22 Alan Modra <amodra@gmail.com>
672
673 * ld.texinfo (Output Section Discarding): Mention assigning to dot
674 as a way of keeping otherwise empty sections.
675 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
676 is_dot_plus_0, is_align_conditional): New predicates.
677 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
678 output section, except for some special cases.
679 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
680 end of .heap and .stack.
681
5a4f2336
MS
6822014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
683
684 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
685
30feb358
MS
6862014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
687
688 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
689
fa72205c
AM
6902014-01-20 Alan Modra <amodra@gmail.com>
691
692 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
693 by_script. Make iteration a single bit field.
694 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
695 (lang_symbol_defined): Declare.
696 * ldlang.c (lang_statement_iteration): Expand comment a little.
697 (lang_init <lang_definedness_table>): Make it bigger.
698 (lang_track_definedness, lang_symbol_definition): Delete.
699 (lang_definedness_newfunc): Update.
700 (lang_symbol_defined): New function.
701 (lang_update_definedness): Create entries here. Do track whether
702 script definition of symbol is valid, even when also defined in
703 an object file.
704 * ldexp.c (fold_name <DEFINED>): Update.
705 (fold_name <NAME>): Allow self-assignment for absolute symbols
706 defined in a linker script.
707
24ef1aa7
GM
7082014-01-20 Guy Martin <gmsoft@tuxicoman.be>
709 Alan Modra <amodra@gmail.com>
710
711 * ldlang.h (lang_output_section_get): Define.
712 * ldlang.c (lang_output_section_get): Likewise.
713 (init_os): Set the output_section userdata to the output
714 section statement.
715 * emultempl/hppaelf.em: Use lang_output_section_get instead of
716 lang_output_section_find where applicable.
717 * emultempl/aarch64elf.em: Likewise.
718 * emultempl/aix.em: Likewise.
719 * emultempl/armelf.em: Likewise.
720 * emultempl/m68hc1xelf.em: Likewise.
721 * emultempl/metagelf.em: Likewise.
722 * emultempl/mipself.em: Likewise.
723 * emultempl/ppc64elf.em: Likewise.
724 * emultempl/spuelf.em: Likewise.
725
7225345d
AM
7262014-01-17 Alan Modra <amodra@gmail.com>
727
728 * genscripts.sh (COMPILE_IN): Don't set if already set.
729 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
730 COMPILE_IN=no.
731 * emulparams/nds32elf16m.sh: Likewise.
732 * emulparams/nds32elf_linux.sh: Likewise.
733 * emultempl/aix.em: Test COMPILE_IN value is "yes".
734 * emultempl/armcoff.em: Likewise.
735 * emultempl/elf32.em: Likewise.
736 * emultempl/generic.em: Likewise.
737 * emultempl/gld960.em: Likewise.
738 * emultempl/gld960c.em: Likewise.
739 * emultempl/linux.em: Likewise.
740 * emultempl/lnk960.em: Likewise.
741 * emultempl/m68kcoff.em: Likewise.
742 * emultempl/sunos.em: Likewise.
743 * emultempl/ticoff.em: Likewise.
744
f6f6c679
L
7452014-01-16 H.J. Lu <hongjiu.lu@intel.com>
746
747 PR ld/16456
748 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
749 suffix.
750 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
751 for elf32_x86_64 emulation.
752 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
753 for elf_i386 emulation.
754
6fcc66ab
AM
7552014-01-16 Alan Modra <amodra@gmail.com>
756
757 * ld.h (fat_section_userdata_type, get_userdata): Move to..
758 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
759 * ldlang.c (init_map_userdata): Delete. Fold into..
760 (sort_def_symbol): ..here. Don't attach input section userdata
761 to output sections or global bfd sections.
762 (lang_map): Don't pre-allocate input section userdata.
763 (init_os): Don't allocate userdata for output sections.
764 (print_all_symbols): Update.
765
f9c316c4
L
7662014-01-15 H.J. Lu <hongjiu.lu@intel.com>
767
768 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
769 Silence uninitialized warning on ehdr_start_save with older
770 GCC.
771
4199e3b8
AM
7722014-01-15 Alan Modra <amodra@gmail.com>
773
774 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
775 __ehdr_start before size_dynamic_sections and restore afterwards.
776
eec2f3ed
AM
7772014-01-10 Alan Modra <amodra@gmail.com>
778
779 PR ld/14207
780 PR ld/16322
781 PR binutils/16323
782 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
783 adjust. Tidy comments.
784 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
785
d1e1519e
HPN
7862014-01-10 Hans-Peter Nilsson <hp@axis.com>
787
788 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
789
43a8475c
L
7902014-01-08 H.J. Lu <hongjiu.lu@intel.com>
791
792 PR ld/14207
793 PR ld/16322
794 PR binutils/16323
795 * ldlang.c (lang_size_sections): Properly align RELRO base.
796
221fd5d5
L
7972014-01-08 H.J. Lu <hongjiu.lu@intel.com>
798
799 * ldver.c (ldversion): Update copyright year to 2014.
800
5fb776a6 801For older changes see ChangeLog-2013
252b5132 802\f
5fb776a6 803Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
804
805Copying and distribution of this file, with or without modification,
806are permitted in any medium without royalty provided the copyright
807notice and this notice are preserved.
808
252b5132
RH
809Local Variables:
810mode: change-log
811left-margin: 8
812fill-column: 74
813version-control: never
814End:
This page took 0.721473 seconds and 4 git commands to generate.