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