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