1 2014-08-12 Alan Modra <amodra@gmail.com>
3 * plugin.c (plugin_load_plugins): Set link_info.lto_plugin_active.
5 2014-08-08 Ulrich Drepper <drepper@gmail.com>
7 * ldlang.h (struct lang_input_statement_flags): Add pushed
9 * ldlex.h (enum option_values): Add OPTION_PUSH_STATE and
11 * lexsup.c (ld_options): Add entries for --push-state and
13 (parse_args): Handle OPTION_PUSH_STATE and OPTION_POP_STATE.
14 * ld.texinfo: Document --push-state and --pop-state.
16 2014-08-06 H.J. Lu <hongjiu.lu@intel.com>
19 * plugin.c (plugin_opt_plugin_arg): Drop --pass-through.
21 2014-08-05 Alan Modra <amodra@gmail.com>
23 * Makefile.in: Regenerate.
25 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
27 * emulparams/elf32bmip.sh: Add .MIPS.abiflags.
28 * emulparams/elf32bmipn32-defs.sh: Likewise.
29 * emulparams/elf64bmip-defs.sh: Likewise.
31 2014-07-27 Anthony Green <green@moxielogic.com>
33 * Makefile.am (ALL_EMULATION_SOURCES): Add moxiebox support.
35 * configure.tgt (targ_extra_ofiles): Add moxie-*-moxiebox*.
36 * emulparams/moxiebox.sh (TEXT_START_ADDR): New file.
37 * Makefile.in: Rebuilt.
39 2014-07-17 Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
41 * emulparams/elf32or1k_linux.sh (TEXT_START_ADDR): Increase from
42 0x0 to first page boundary at 0x2000.
44 2014-07-10 Max Filippov <jcmvbkbc@gmail.com>
46 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section):
47 correctly handle missing dot in section name after
48 ".gnu.linkonce.prop.".
50 2014-07-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
52 * scripttempl/avr.sc: Remove KEEP for .data and
53 force .bss VMA to end of .data VMA.
55 2014-07-08 Will Newton <will.newton@linaro.org>
57 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase
58 alignment to 64kB boundary.
60 2014-07-04 Alan Modra <amodra@gmail.com>
62 * configure.ac: Update "configure.in" comments.
63 * configure: Regenerate.
65 2014-07-04 Alan Modra <amodra@gmail.com>
67 * configure.ac: Rename from configure.in.
68 * Makefile.in: Regenerate.
69 * config.in: Regenerate.
71 2014-07-04 Alan Modra <amodra@gmail.com>
73 * configure.in: Include bfd/version.m4.
74 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
75 (BFD_VERSION): Delete.
76 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
77 * configure: Regenerate.
78 * Makefile.in: Regenerate.
80 2014-07-03 Alan Modra <amodra@gmail.com>
83 * ldlang.c (load_symbols): Always check flags.reload.
84 (open_input_bfds): Always reload --as-needed shared libraries,
85 not just when rescanning.
86 * ldlang.h (struct lang_input_statement_flags): Update reload comment.
87 * plugin.c (plugin_should_reload): Assume shared library arg.
88 * plugin.h (plugin_should_reload): Update comment.
90 2014-07-01 Alan Modra <amodra@gmail.com>
92 * emultempl/ppc64elf.em (stub_added): Delete.
93 (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
94 none of the usual stubs have been added. Only change entry_section
97 2014-07-01 Alan Modra <amodra@gmail.com>
99 * sysdep.h: Don't include limits.h and sys/param.h. Don't
100 include unistd.h twice.
101 (LD_PATHMAX): Don't define.
102 * ldlang.c (lang_common): Don't use UINT_MAX.
104 2014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
105 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
106 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
107 Soundararajan <Sounderarajan.D@atmel.com>
109 * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
110 (eavrtiny.c): Add rules for avrtiny emulation source.
111 * Makefile.in: Regenerate.
112 * configure.tgt: Add avrtiny to avr target emulations.
113 * scripttempl/avrtiny.sc: New file. Linker script template for
115 * emulparams/avrtiny.sh: New file. Emulation parameters for
118 2014-06-30 Ulrich Drepper <drepper@gmail.com>
120 * lexsup.c (parse_args): Check whether provided SONAME is empty
121 string. If yes, warn and ignore it. Don't overwrite valid SONAME
124 2014-06-26 Linda Zhang <lindasc@qq.com>
126 * emultempl/pe.em: Initialise insert_timestamp to true.
127 Add a --no-insert-timestamp command line option.
128 * emultempl/pep.em: Likewise.
129 * ld.texinfo: Document that --insert-timestamp is enabled by
130 default and that it now has an inverse command line option.
131 * NEWS: Mention the new behaviour.
133 2014-06-25 Nick Clifton <nickc@redhat.com>
135 * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
137 (ALL_64_EMULATION_SOURCES): ... to here.
138 (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
139 (ALL_64_EMUL_EXTRA_OFILES): New. ... to here.
140 * configure.in (EMUL_EXTRA_OFILES): Include
141 ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
142 * Makefile.in: Regenerate.
143 * configure: Regenerate.
145 2014-06-18 Andreas Tobler <andreast@fgznet.ch>
147 * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
148 (arm*b-*-freebsd*): Add target.
149 * emulparams/armelfb_fbsd.sh: Added.
150 * emulparams/armelf_fbsd.sh: Updated.
151 * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
152 * Makefile.in: Regenerate.
154 2014-06-16 Alan Modra <amodra@gmail.com>
156 * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
157 .rel sections, and __rel_iplt from .rela sections.
158 * scripttempl/nds32elf.sc: Likewise.
159 * Makefile.am (ends32*.c) Depend on nds32elf.sc.
160 * Makefile.in: Regenerate.
162 2014-06-13 Alan Modra <amodra@gmail.com>
165 * ldlang.c (output_bfd_hash_table_free_fn): Delete.
166 (open_output): Don't set it..
167 * ldmain.c (ld_cleanup): ..or call it.
169 2014-06-13 Alan Modra <amodra@gmail.com>
171 * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
172 * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
173 * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
174 * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
176 2014-06-13 Alan Modra <amodra@gmail.com>
178 * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
179 * Makefile.in: Regenerate.
181 2014-06-07 Alan Modra <amodra@gmail.com>
183 * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
184 linker script symbol value override a built-in linker symbol.
186 2014-06-05 Joel Brobecker <brobecker@adacore.com>
188 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
189 bfd's development.sh.
190 * Makefile.in, configure: Regenerate.
192 2014-06-02 Alan Modra <amodra@gmail.com>
194 * emulparams/elf32bfin.sh: Rename from bfin.sh.
195 * emulparams/elf32bfinfd.sh: Update to suit.
196 * emulparams/msp430.sh: Rename from msp430all.sh. Remove
197 MSP430_NAME and msp430X vars.
198 * emulparams/msp430X.sh: New.
199 * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove
200 SCORE_NAME and score7_elf ARCH setting.
201 * emulparams/score7_elf.sh: New.
202 * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
203 (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
204 * Makefile.in: Regenerate.
205 * genscripts.sh: Delete customizer_script param.
207 2014-05-28 Hans-Peter Nilsson <hp@axis.com>
209 * Makefile.am: Change all rules with ${GENSCRIPTS}
210 invocations to be just dependencies.
211 ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
212 (run-genscripts): New rules.
213 * Makefile.in: Regenerate.
215 2014-05-27 DJ Delorie <dj@redhat.com>
217 * ld/ldemul.h (extra_map_file_text): New field.
218 (ldemul_extra_map_file_text): Declare.
219 * ld/ldemul.c (ldemul_extra_map_file_text): Define.
220 * ld/ldlang.c (lang_map): Call it.
222 * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
223 * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
224 * ld/emultempl/armcoff.em: Likewise.
225 * ld/emultempl/beos.em: Likewise.
226 * ld/emultempl/elf32.em: Likewise.
227 * ld/emultempl/generic.em: Likewise.
228 * ld/emultempl/gld960.em: Likewise.
229 * ld/emultempl/gld960c.em: Likewise.
230 * ld/emultempl/linux.em: Likewise.
231 * ld/emultempl/lnk960.em: Likewise.
232 * ld/emultempl/m68kcoff.em: Likewise.
233 * ld/emultempl/pe.em: Likewise.
234 * ld/emultempl/pep.em: Likewise.
235 * ld/emultempl/sunos.em: Likewise.
236 * ld/emultempl/ticoff.em: Likewise.
237 * ld/emultempl/vanilla.em: Likewise.
239 2014-05-24 Alan Modra <amodra@gmail.com>
241 * ldlang.c (base): Move variable to..
242 * mri.c: ..here, and make static.
243 * ldlang.h (base): Delete declaration.
245 2014-05-20 Hans-Peter Nilsson <hp@axis.com>
247 * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
248 * Makefile.in: Regenerate.
250 2014-05-20 Alan Modra <amodra@gmail.com>
253 * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
254 * emultempl/ppc32elf.em (ppc_before_allocation): Call
255 ppc_elf_maybe_strip_sdata_syms.
256 * ldlang.c (size_input_section): Correct output_offset value
257 for excluded input sections.
259 2014-05-16 John Marino <binutils@marino.st>
261 * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
263 2014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
265 * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
266 and gp in PROVIDE_HIDDEN.
268 2014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
270 * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
271 (output_bfd_hash_table_free_fn): New variable.
272 (open_output): Save the _bfd_link_hash_table_free function for the
273 output_bfd into output_bfd_hash_table_free_fn.
274 * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
276 * ldlang.h (output_bfd_hash_table_free_fn): Declare.
278 2014-05-02 Alan Modra <amodra@gmail.com>
280 * emultempl/metagelf.em: Update bfd target vector naming.
281 * emultempl/nios2elf.em: Likewise.
282 * emultempl/spuelf.em: Likewise.
283 * emultempl/tic6xdsbt.em: Likewise.
285 2014-04-22 Christian Svensson <blue@cmd.nu>
287 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
288 * configure.tgt: Likewise.
289 * emulparams/elf32or1k.sh: New file.
290 * emulparams/elf32or1k_linux.sh: New file.
291 * emulparams/elf32openrisc.sh: Delete.
292 * emulparams/or32.sh: Delete.
293 * emulparams/or32elf.sh: Delete.
294 * scripttempl/or32.sc: Delete.
295 * Makefile.in: Regenerate.
297 2014-04-21 Richard Henderson <rth@redhat.com>
299 * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
301 2014-04-16 Steve Ellcey <sellcey@mips.com>
303 * emultempl/elf32.em: Include safe-ctype.h.
305 2014-04-16 Steve Ellcey <sellcey@mips.com>
307 * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
309 2014-04-09 Nick Clifton <nickc@redhat.com>
311 * Makefile.am (default-manifest.o): Remove rule.
312 (EMUL_EXTRA_BINARIES): Delete.
313 (ALL_EMUL_EXTRA_BINARIES): Delete.
314 (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
315 (install-data-local): Remove EMUL_EXTRA_BINARIES.
316 * Makefile.in: Regenerate.
317 * configure.in (all_emul_extra_binaries): Delete.
318 (EMUL_EXTRA_BINARIES): Remove.
319 * configure: Regenerate.
320 * configure.tgt (target_extra_binaries): Delete.
321 * emultempl/default-manifest.rc: Delete.
322 * ld.texinfo: Remove discussion of default manifest.
323 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
324 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
326 2014-04-09 Alan Modra <amodra@gmail.com>
328 * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
329 * emultempl/nds32elf.em: Include bfd_stdint.h.
330 * po/POTFILES.in: Regenerate.
332 2014-04-09 Alan Modra <amodra@gmail.com>
334 * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
335 (LDEMUL_FINISH): Define.
337 2014-04-08 Nick Clifton <nickc@redhat.com>
339 * scripttempl/pe.sc (R_RSRC): Remove default manifest.
340 * scripttempl/pep.sc (R_RSRC): Remove default manifest.
342 2014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
344 * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
345 Move code for parsing build-id option and calculating the build-id to...
346 * ldbuildid.c: New file.
347 * ldbuildid.h: New file.
348 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
350 * Makefile.in: Regenerate.
351 * ld.texinfo: Update --build-id description to mention COFF
353 * NEWS: Mention support for COFF build ids.
354 * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
355 (pecoff_checksum_contents, write_build_id, setup_build_id)
356 (gld_${EMULATION_NAME}_after_open): Handle and implement
358 * emultempl/pep.em: Likewise.
360 2014-04-04 Cary Coutant <ccoutant@google.com>
363 * ld.texinfo: Document optional comma following output section
364 command and overlay command.
366 2014-04-04 Alan Modra <amodra@gmail.com>
368 * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
369 current "fill", not "output_section_statement->fill".
371 2014-03-31 Nick Clifton <nickc@redhat.com>
374 * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
375 section when performing a relocatable link with -z [no]execstack
378 2014-03-27 H.J. Lu <hongjiu.lu@intel.com>
381 * ldmain.c (symbol_warning): New function.
382 (warning_callback): Use it. Scan all input files for a reference
385 2014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
387 * ld.texinfo: Document change in handling of --enable-auto-image-base.
388 * emultempl/pe.em (pe_auto_image_base): Set to default base.
389 (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
390 optional --enable-auto-image-base argument.
391 (gld${EMULATION_NAME}_handle_option): Handle optional
392 --enable-auto-image-base argument.
393 (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
395 2014-03-19 Nick Clifton <nickc@redhat.com>
397 * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
398 * Makefile.in: Regenerate.
399 * emultempl/default-manifest.rc: Fix typo.
400 * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
401 (.rsrc): Add SUBALIGN(4). Remove SORT.
402 * scripttempl/pep.sc: Likewise.
404 2014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
406 * Makefile.am: Use host version of windres.
407 * Makefile.in: Regenerate.
409 2014-03-14 Romain Geissler <romain.geissler@amadeus.com>
410 Alan Modra <amodra@gmail.com>
412 * ldlang.h (full_name_provided): New input flag.
413 * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
414 for -l:namespec. Instead use lang_input_file_is_l_enum with
415 full_name_provided flag.
416 * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
417 full_name_provided flag is set.
418 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
419 Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
420 support. Set DT_NEEDED for -l:namespec as namespec.
421 * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
422 * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
423 Don't handle full_name_provided libraries.
424 * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
425 * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
426 * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
428 2014-03-12 Alan Modra <amodra@gmail.com>
430 * Makefile.in: Regenerate.
432 2014-03-05 Alan Modra <amodra@gmail.com>
434 Update copyright years.
436 2014-03-04 Nick Clifton <nickc@redhat.com>
438 * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
439 * Makefile.in: Regenerate.
441 2014-02-27 Yuri Gribov <y.gribov@samsung.com>
443 * emultempl/armelf.em (OPTION_LONG_PLT): Define.
444 (PARSE_AND_LIST_LONGOPTS): Add long-plt.
445 (PARSE_AND_LIST_OPTIONS): Likewise.
446 (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
447 * ld.texinfo: Document --long-plt.
449 2014-02-27 Alan Modra <amodra@gmail.com>
451 * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
453 * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
455 (LDEMUL_AFTER_OPEN): Don't set for vxworks.
456 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
457 -secure-plt, -bss-plt and -sdata-got when vxworks.
459 2014-02-27 Nick Clifton <nickc@redhat.com>
461 * configure.in (all_emul_extra_binaries): New variable. Populated
462 by invoking configure.tgt.
463 (EMUL_EXTRA_BINARIES): New substitution.
464 * configure: Regenerate.
465 * configure.tgt (target_extra_binaries): New variable. Set to
466 default-manifest.o for Cygwin and MinGW targets.
467 * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
468 by the configure script.
469 (ALL_EMUL_EXTRA_BINARIES): New variable.
470 (default-manifest.o): New rule to build the default manifest.
471 (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
472 (install-data-local): Add EMUL_EXTRA_BINARIES.
473 * Makefile.in: Regenerate.
474 * ld.texinfo: Document default manifest support.
475 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
476 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
477 * emultempl/default-manifest.rc: New file.
478 * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
479 * scripttempl/pep.sc (R_RSRC): Likewise.
481 2014-02-26 Dan Mick <dan.mick@inktank.com>
484 * ldcref.c (cref_sort_array): Compare unmangled names unless
485 demanglng has been requiested.
486 (output_one_cref): Output unmangled name unless demangling has
489 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
490 H.J. Lu <hongjiu.lu@intel.com>
492 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
494 2014-02-19 Alan Modra <amodra@gmail.com>
496 * emultempl/ppc64elf.em (params): Init new field.
497 (ppc_create_output_section_statements): Set params.save_restore_funcs
499 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
500 --no-save-restore-funcs.
502 2014-02-17 Alan Modra <amodra@gmail.com>
504 * emultemps/ppc64elf.em (params): New static struct replacing
505 various other static vars. Adjust code throughout file.
507 2014-02-17 Alan Modra <amodra@gmail.com>
509 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
510 ppc476 workaround for ld -r.
512 2014-02-12 Alan Modra <amodra@gmail.com>
514 * emultempl/ppc32elf.em (pagesize): New static var.
515 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
516 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
518 2014-02-11 Andrew Pinski <apinski@cavium.com>
520 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
521 (ELF_INTERPRETER_NAME): Define.
522 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
524 2014-02-10 Alan Modra <amodra@gmail.com>
526 * po/ld.pot: Regenerate.
528 2014-02-03 Alan Modra <amodra@gmail.com>
530 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
531 plt_style): Delete. Adjust all refs to instead use..
532 (params): ..this. New variable.
533 (ppc_after_open_output): New function. Tweak params and pass to
535 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
536 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
537 relaxation for ppc476 workaround.
538 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
539 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
541 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
543 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
544 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
545 variable which reflects the VMA change due to alignment
546 requirements. Use dotdelta do change the LMA if
547 ALIGN_WITH_INPUT is requested.
549 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
551 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
552 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
555 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
557 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
558 * Makefile.in: Regenerated.
559 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
560 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
561 * emultempl/nios2elf.em: New file.
562 * gen-doc.texi (NIOSII): Set.
563 * ld.texinfo (NIOSII): Set.
565 2014-01-28 Nick Clifton <nickc@redhat.com>
567 * Makefile.am: Remove obsolete MSP430 emulations.
568 * configure.tgt: Likewise.
569 * emulparams/msp430all.sh: Likewise.
570 * Makefile.in: Regenerate.
572 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
575 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
576 orphaned TLS section handling.
578 2014-01-24 Alan Modra <amodra@gmail.com>
580 * ldlang.c (lang_output_section_find_by_flags): Be careful to
581 test look->bfd_section->flags if available rather than
582 look->flags. Separate SEC_THREAD_LOCAL handling from
583 SEC_READONLY loop, and rewrite.
585 2014-01-22 Alan Modra <amodra@gmail.com>
587 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
588 (lang_init): Initialise them.
589 (lang_print_asneeded): New function.
590 (lang_process): Call lang_print_asneeded.
591 * ldlang.h (struct asneeded_minfo): New.
592 (asneeded_list_tail): Declare.
593 * ldmain.c (add_archive_element): Improve archive map heading.
594 * ldmisc.c (minfo): Stash --as-needed info.
596 2014-01-22 Alan Modra <amodra@gmail.com>
598 * ld.h (struct map_symbol_def): Move to..
600 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
602 2014-01-22 Alan Modra <amodra@gmail.com>
604 * ld.texinfo (Output Section Discarding): Mention assigning to dot
605 as a way of keeping otherwise empty sections.
606 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
607 is_dot_plus_0, is_align_conditional): New predicates.
608 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
609 output section, except for some special cases.
610 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
611 end of .heap and .stack.
613 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
615 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
617 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
619 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
621 2014-01-20 Alan Modra <amodra@gmail.com>
623 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
624 by_script. Make iteration a single bit field.
625 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
626 (lang_symbol_defined): Declare.
627 * ldlang.c (lang_statement_iteration): Expand comment a little.
628 (lang_init <lang_definedness_table>): Make it bigger.
629 (lang_track_definedness, lang_symbol_definition): Delete.
630 (lang_definedness_newfunc): Update.
631 (lang_symbol_defined): New function.
632 (lang_update_definedness): Create entries here. Do track whether
633 script definition of symbol is valid, even when also defined in
635 * ldexp.c (fold_name <DEFINED>): Update.
636 (fold_name <NAME>): Allow self-assignment for absolute symbols
637 defined in a linker script.
639 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
640 Alan Modra <amodra@gmail.com>
642 * ldlang.h (lang_output_section_get): Define.
643 * ldlang.c (lang_output_section_get): Likewise.
644 (init_os): Set the output_section userdata to the output
646 * emultempl/hppaelf.em: Use lang_output_section_get instead of
647 lang_output_section_find where applicable.
648 * emultempl/aarch64elf.em: Likewise.
649 * emultempl/aix.em: Likewise.
650 * emultempl/armelf.em: Likewise.
651 * emultempl/m68hc1xelf.em: Likewise.
652 * emultempl/metagelf.em: Likewise.
653 * emultempl/mipself.em: Likewise.
654 * emultempl/ppc64elf.em: Likewise.
655 * emultempl/spuelf.em: Likewise.
657 2014-01-17 Alan Modra <amodra@gmail.com>
659 * genscripts.sh (COMPILE_IN): Don't set if already set.
660 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
662 * emulparams/nds32elf16m.sh: Likewise.
663 * emulparams/nds32elf_linux.sh: Likewise.
664 * emultempl/aix.em: Test COMPILE_IN value is "yes".
665 * emultempl/armcoff.em: Likewise.
666 * emultempl/elf32.em: Likewise.
667 * emultempl/generic.em: Likewise.
668 * emultempl/gld960.em: Likewise.
669 * emultempl/gld960c.em: Likewise.
670 * emultempl/linux.em: Likewise.
671 * emultempl/lnk960.em: Likewise.
672 * emultempl/m68kcoff.em: Likewise.
673 * emultempl/sunos.em: Likewise.
674 * emultempl/ticoff.em: Likewise.
676 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
679 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
681 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
682 for elf32_x86_64 emulation.
683 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
684 for elf_i386 emulation.
686 2014-01-16 Alan Modra <amodra@gmail.com>
688 * ld.h (fat_section_userdata_type, get_userdata): Move to..
689 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
690 * ldlang.c (init_map_userdata): Delete. Fold into..
691 (sort_def_symbol): ..here. Don't attach input section userdata
692 to output sections or global bfd sections.
693 (lang_map): Don't pre-allocate input section userdata.
694 (init_os): Don't allocate userdata for output sections.
695 (print_all_symbols): Update.
697 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
699 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
700 Silence uninitialized warning on ehdr_start_save with older
703 2014-01-15 Alan Modra <amodra@gmail.com>
705 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
706 __ehdr_start before size_dynamic_sections and restore afterwards.
708 2014-01-10 Alan Modra <amodra@gmail.com>
713 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
714 adjust. Tidy comments.
715 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
717 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
719 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
721 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
726 * ldlang.c (lang_size_sections): Properly align RELRO base.
728 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
730 * ldver.c (ldversion): Update copyright year to 2014.
732 For older changes see ChangeLog-2013
734 Copyright (C) 2014 Free Software Foundation, Inc.
736 Copying and distribution of this file, with or without modification,
737 are permitted in any medium without royalty provided the copyright
738 notice and this notice are preserved.
744 version-control: never