1 2014-07-08 Will Newton <will.newton@linaro.org>
3 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase
4 alignment to 64kB boundary.
6 2014-07-04 Alan Modra <amodra@gmail.com>
8 * configure.ac: Update "configure.in" comments.
9 * configure: Regenerate.
11 2014-07-04 Alan Modra <amodra@gmail.com>
13 * configure.ac: Rename from configure.in.
14 * Makefile.in: Regenerate.
15 * config.in: Regenerate.
17 2014-07-04 Alan Modra <amodra@gmail.com>
19 * configure.in: Include bfd/version.m4.
20 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
21 (BFD_VERSION): Delete.
22 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
23 * configure: Regenerate.
24 * Makefile.in: Regenerate.
26 2014-07-03 Alan Modra <amodra@gmail.com>
29 * ldlang.c (load_symbols): Always check flags.reload.
30 (open_input_bfds): Always reload --as-needed shared libraries,
31 not just when rescanning.
32 * ldlang.h (struct lang_input_statement_flags): Update reload comment.
33 * plugin.c (plugin_should_reload): Assume shared library arg.
34 * plugin.h (plugin_should_reload): Update comment.
36 2014-07-01 Alan Modra <amodra@gmail.com>
38 * emultempl/ppc64elf.em (stub_added): Delete.
39 (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
40 none of the usual stubs have been added. Only change entry_section
43 2014-07-01 Alan Modra <amodra@gmail.com>
45 * sysdep.h: Don't include limits.h and sys/param.h. Don't
46 include unistd.h twice.
47 (LD_PATHMAX): Don't define.
48 * ldlang.c (lang_common): Don't use UINT_MAX.
50 2014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
51 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
52 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
53 Soundararajan <Sounderarajan.D@atmel.com>
55 * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
56 (eavrtiny.c): Add rules for avrtiny emulation source.
57 * Makefile.in: Regenerate.
58 * configure.tgt: Add avrtiny to avr target emulations.
59 * scripttempl/avrtiny.sc: New file. Linker script template for
61 * emulparams/avrtiny.sh: New file. Emulation parameters for
64 2014-06-30 Ulrich Drepper <drepper@gmail.com>
66 * lexsup.c (parse_args): Check whether provided SONAME is empty
67 string. If yes, warn and ignore it. Don't overwrite valid SONAME
70 2014-06-26 Linda Zhang <lindasc@qq.com>
72 * emultempl/pe.em: Initialise insert_timestamp to true.
73 Add a --no-insert-timestamp command line option.
74 * emultempl/pep.em: Likewise.
75 * ld.texinfo: Document that --insert-timestamp is enabled by
76 default and that it now has an inverse command line option.
77 * NEWS: Mention the new behaviour.
79 2014-06-25 Nick Clifton <nickc@redhat.com>
81 * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
83 (ALL_64_EMULATION_SOURCES): ... to here.
84 (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
85 (ALL_64_EMUL_EXTRA_OFILES): New. ... to here.
86 * configure.in (EMUL_EXTRA_OFILES): Include
87 ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
88 * Makefile.in: Regenerate.
89 * configure: Regenerate.
91 2014-06-18 Andreas Tobler <andreast@fgznet.ch>
93 * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
94 (arm*b-*-freebsd*): Add target.
95 * emulparams/armelfb_fbsd.sh: Added.
96 * emulparams/armelf_fbsd.sh: Updated.
97 * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
98 * Makefile.in: Regenerate.
100 2014-06-16 Alan Modra <amodra@gmail.com>
102 * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
103 .rel sections, and __rel_iplt from .rela sections.
104 * scripttempl/nds32elf.sc: Likewise.
105 * Makefile.am (ends32*.c) Depend on nds32elf.sc.
106 * Makefile.in: Regenerate.
108 2014-06-13 Alan Modra <amodra@gmail.com>
111 * ldlang.c (output_bfd_hash_table_free_fn): Delete.
112 (open_output): Don't set it..
113 * ldmain.c (ld_cleanup): ..or call it.
115 2014-06-13 Alan Modra <amodra@gmail.com>
117 * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
118 * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
119 * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
120 * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
122 2014-06-13 Alan Modra <amodra@gmail.com>
124 * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
125 * Makefile.in: Regenerate.
127 2014-06-07 Alan Modra <amodra@gmail.com>
129 * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
130 linker script symbol value override a built-in linker symbol.
132 2014-06-05 Joel Brobecker <brobecker@adacore.com>
134 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
135 bfd's development.sh.
136 * Makefile.in, configure: Regenerate.
138 2014-06-02 Alan Modra <amodra@gmail.com>
140 * emulparams/elf32bfin.sh: Rename from bfin.sh.
141 * emulparams/elf32bfinfd.sh: Update to suit.
142 * emulparams/msp430.sh: Rename from msp430all.sh. Remove
143 MSP430_NAME and msp430X vars.
144 * emulparams/msp430X.sh: New.
145 * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove
146 SCORE_NAME and score7_elf ARCH setting.
147 * emulparams/score7_elf.sh: New.
148 * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
149 (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
150 * Makefile.in: Regenerate.
151 * genscripts.sh: Delete customizer_script param.
153 2014-05-28 Hans-Peter Nilsson <hp@axis.com>
155 * Makefile.am: Change all rules with ${GENSCRIPTS}
156 invocations to be just dependencies.
157 ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
158 (run-genscripts): New rules.
159 * Makefile.in: Regenerate.
161 2014-05-27 DJ Delorie <dj@redhat.com>
163 * ld/ldemul.h (extra_map_file_text): New field.
164 (ldemul_extra_map_file_text): Declare.
165 * ld/ldemul.c (ldemul_extra_map_file_text): Define.
166 * ld/ldlang.c (lang_map): Call it.
168 * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
169 * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
170 * ld/emultempl/armcoff.em: Likewise.
171 * ld/emultempl/beos.em: Likewise.
172 * ld/emultempl/elf32.em: Likewise.
173 * ld/emultempl/generic.em: Likewise.
174 * ld/emultempl/gld960.em: Likewise.
175 * ld/emultempl/gld960c.em: Likewise.
176 * ld/emultempl/linux.em: Likewise.
177 * ld/emultempl/lnk960.em: Likewise.
178 * ld/emultempl/m68kcoff.em: Likewise.
179 * ld/emultempl/pe.em: Likewise.
180 * ld/emultempl/pep.em: Likewise.
181 * ld/emultempl/sunos.em: Likewise.
182 * ld/emultempl/ticoff.em: Likewise.
183 * ld/emultempl/vanilla.em: Likewise.
185 2014-05-24 Alan Modra <amodra@gmail.com>
187 * ldlang.c (base): Move variable to..
188 * mri.c: ..here, and make static.
189 * ldlang.h (base): Delete declaration.
191 2014-05-20 Hans-Peter Nilsson <hp@axis.com>
193 * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
194 * Makefile.in: Regenerate.
196 2014-05-20 Alan Modra <amodra@gmail.com>
199 * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
200 * emultempl/ppc32elf.em (ppc_before_allocation): Call
201 ppc_elf_maybe_strip_sdata_syms.
202 * ldlang.c (size_input_section): Correct output_offset value
203 for excluded input sections.
205 2014-05-16 John Marino <binutils@marino.st>
207 * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
209 2014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
211 * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
212 and gp in PROVIDE_HIDDEN.
214 2014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
216 * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
217 (output_bfd_hash_table_free_fn): New variable.
218 (open_output): Save the _bfd_link_hash_table_free function for the
219 output_bfd into output_bfd_hash_table_free_fn.
220 * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
222 * ldlang.h (output_bfd_hash_table_free_fn): Declare.
224 2014-05-02 Alan Modra <amodra@gmail.com>
226 * emultempl/metagelf.em: Update bfd target vector naming.
227 * emultempl/nios2elf.em: Likewise.
228 * emultempl/spuelf.em: Likewise.
229 * emultempl/tic6xdsbt.em: Likewise.
231 2014-04-22 Christian Svensson <blue@cmd.nu>
233 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
234 * configure.tgt: Likewise.
235 * emulparams/elf32or1k.sh: New file.
236 * emulparams/elf32or1k_linux.sh: New file.
237 * emulparams/elf32openrisc.sh: Delete.
238 * emulparams/or32.sh: Delete.
239 * emulparams/or32elf.sh: Delete.
240 * scripttempl/or32.sc: Delete.
241 * Makefile.in: Regenerate.
243 2014-04-21 Richard Henderson <rth@redhat.com>
245 * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
247 2014-04-16 Steve Ellcey <sellcey@mips.com>
249 * emultempl/elf32.em: Include safe-ctype.h.
251 2014-04-16 Steve Ellcey <sellcey@mips.com>
253 * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
255 2014-04-09 Nick Clifton <nickc@redhat.com>
257 * Makefile.am (default-manifest.o): Remove rule.
258 (EMUL_EXTRA_BINARIES): Delete.
259 (ALL_EMUL_EXTRA_BINARIES): Delete.
260 (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
261 (install-data-local): Remove EMUL_EXTRA_BINARIES.
262 * Makefile.in: Regenerate.
263 * configure.in (all_emul_extra_binaries): Delete.
264 (EMUL_EXTRA_BINARIES): Remove.
265 * configure: Regenerate.
266 * configure.tgt (target_extra_binaries): Delete.
267 * emultempl/default-manifest.rc: Delete.
268 * ld.texinfo: Remove discussion of default manifest.
269 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
270 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
272 2014-04-09 Alan Modra <amodra@gmail.com>
274 * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
275 * emultempl/nds32elf.em: Include bfd_stdint.h.
276 * po/POTFILES.in: Regenerate.
278 2014-04-09 Alan Modra <amodra@gmail.com>
280 * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
281 (LDEMUL_FINISH): Define.
283 2014-04-08 Nick Clifton <nickc@redhat.com>
285 * scripttempl/pe.sc (R_RSRC): Remove default manifest.
286 * scripttempl/pep.sc (R_RSRC): Remove default manifest.
288 2014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
290 * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
291 Move code for parsing build-id option and calculating the build-id to...
292 * ldbuildid.c: New file.
293 * ldbuildid.h: New file.
294 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
296 * Makefile.in: Regenerate.
297 * ld.texinfo: Update --build-id description to mention COFF
299 * NEWS: Mention support for COFF build ids.
300 * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
301 (pecoff_checksum_contents, write_build_id, setup_build_id)
302 (gld_${EMULATION_NAME}_after_open): Handle and implement
304 * emultempl/pep.em: Likewise.
306 2014-04-04 Cary Coutant <ccoutant@google.com>
309 * ld.texinfo: Document optional comma following output section
310 command and overlay command.
312 2014-04-04 Alan Modra <amodra@gmail.com>
314 * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
315 current "fill", not "output_section_statement->fill".
317 2014-03-31 Nick Clifton <nickc@redhat.com>
320 * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
321 section when performing a relocatable link with -z [no]execstack
324 2014-03-27 H.J. Lu <hongjiu.lu@intel.com>
327 * ldmain.c (symbol_warning): New function.
328 (warning_callback): Use it. Scan all input files for a reference
331 2014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
333 * ld.texinfo: Document change in handling of --enable-auto-image-base.
334 * emultempl/pe.em (pe_auto_image_base): Set to default base.
335 (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
336 optional --enable-auto-image-base argument.
337 (gld${EMULATION_NAME}_handle_option): Handle optional
338 --enable-auto-image-base argument.
339 (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
341 2014-03-19 Nick Clifton <nickc@redhat.com>
343 * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
344 * Makefile.in: Regenerate.
345 * emultempl/default-manifest.rc: Fix typo.
346 * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
347 (.rsrc): Add SUBALIGN(4). Remove SORT.
348 * scripttempl/pep.sc: Likewise.
350 2014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
352 * Makefile.am: Use host version of windres.
353 * Makefile.in: Regenerate.
355 2014-03-14 Romain Geissler <romain.geissler@amadeus.com>
356 Alan Modra <amodra@gmail.com>
358 * ldlang.h (full_name_provided): New input flag.
359 * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
360 for -l:namespec. Instead use lang_input_file_is_l_enum with
361 full_name_provided flag.
362 * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
363 full_name_provided flag is set.
364 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
365 Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
366 support. Set DT_NEEDED for -l:namespec as namespec.
367 * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
368 * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
369 Don't handle full_name_provided libraries.
370 * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
371 * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
372 * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
374 2014-03-12 Alan Modra <amodra@gmail.com>
376 * Makefile.in: Regenerate.
378 2014-03-05 Alan Modra <amodra@gmail.com>
380 Update copyright years.
382 2014-03-04 Nick Clifton <nickc@redhat.com>
384 * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
385 * Makefile.in: Regenerate.
387 2014-02-27 Yuri Gribov <y.gribov@samsung.com>
389 * emultempl/armelf.em (OPTION_LONG_PLT): Define.
390 (PARSE_AND_LIST_LONGOPTS): Add long-plt.
391 (PARSE_AND_LIST_OPTIONS): Likewise.
392 (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
393 * ld.texinfo: Document --long-plt.
395 2014-02-27 Alan Modra <amodra@gmail.com>
397 * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
399 * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
401 (LDEMUL_AFTER_OPEN): Don't set for vxworks.
402 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
403 -secure-plt, -bss-plt and -sdata-got when vxworks.
405 2014-02-27 Nick Clifton <nickc@redhat.com>
407 * configure.in (all_emul_extra_binaries): New variable. Populated
408 by invoking configure.tgt.
409 (EMUL_EXTRA_BINARIES): New substitution.
410 * configure: Regenerate.
411 * configure.tgt (target_extra_binaries): New variable. Set to
412 default-manifest.o for Cygwin and MinGW targets.
413 * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
414 by the configure script.
415 (ALL_EMUL_EXTRA_BINARIES): New variable.
416 (default-manifest.o): New rule to build the default manifest.
417 (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
418 (install-data-local): Add EMUL_EXTRA_BINARIES.
419 * Makefile.in: Regenerate.
420 * ld.texinfo: Document default manifest support.
421 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
422 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
423 * emultempl/default-manifest.rc: New file.
424 * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
425 * scripttempl/pep.sc (R_RSRC): Likewise.
427 2014-02-26 Dan Mick <dan.mick@inktank.com>
430 * ldcref.c (cref_sort_array): Compare unmangled names unless
431 demanglng has been requiested.
432 (output_one_cref): Output unmangled name unless demangling has
435 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
436 H.J. Lu <hongjiu.lu@intel.com>
438 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
440 2014-02-19 Alan Modra <amodra@gmail.com>
442 * emultempl/ppc64elf.em (params): Init new field.
443 (ppc_create_output_section_statements): Set params.save_restore_funcs
445 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
446 --no-save-restore-funcs.
448 2014-02-17 Alan Modra <amodra@gmail.com>
450 * emultemps/ppc64elf.em (params): New static struct replacing
451 various other static vars. Adjust code throughout file.
453 2014-02-17 Alan Modra <amodra@gmail.com>
455 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
456 ppc476 workaround for ld -r.
458 2014-02-12 Alan Modra <amodra@gmail.com>
460 * emultempl/ppc32elf.em (pagesize): New static var.
461 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
462 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
464 2014-02-11 Andrew Pinski <apinski@cavium.com>
466 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
467 (ELF_INTERPRETER_NAME): Define.
468 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
470 2014-02-10 Alan Modra <amodra@gmail.com>
472 * po/ld.pot: Regenerate.
474 2014-02-03 Alan Modra <amodra@gmail.com>
476 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
477 plt_style): Delete. Adjust all refs to instead use..
478 (params): ..this. New variable.
479 (ppc_after_open_output): New function. Tweak params and pass to
481 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
482 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
483 relaxation for ppc476 workaround.
484 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
485 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
487 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
489 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
490 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
491 variable which reflects the VMA change due to alignment
492 requirements. Use dotdelta do change the LMA if
493 ALIGN_WITH_INPUT is requested.
495 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
497 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
498 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
501 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
503 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
504 * Makefile.in: Regenerated.
505 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
506 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
507 * emultempl/nios2elf.em: New file.
508 * gen-doc.texi (NIOSII): Set.
509 * ld.texinfo (NIOSII): Set.
511 2014-01-28 Nick Clifton <nickc@redhat.com>
513 * Makefile.am: Remove obsolete MSP430 emulations.
514 * configure.tgt: Likewise.
515 * emulparams/msp430all.sh: Likewise.
516 * Makefile.in: Regenerate.
518 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
521 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
522 orphaned TLS section handling.
524 2014-01-24 Alan Modra <amodra@gmail.com>
526 * ldlang.c (lang_output_section_find_by_flags): Be careful to
527 test look->bfd_section->flags if available rather than
528 look->flags. Separate SEC_THREAD_LOCAL handling from
529 SEC_READONLY loop, and rewrite.
531 2014-01-22 Alan Modra <amodra@gmail.com>
533 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
534 (lang_init): Initialise them.
535 (lang_print_asneeded): New function.
536 (lang_process): Call lang_print_asneeded.
537 * ldlang.h (struct asneeded_minfo): New.
538 (asneeded_list_tail): Declare.
539 * ldmain.c (add_archive_element): Improve archive map heading.
540 * ldmisc.c (minfo): Stash --as-needed info.
542 2014-01-22 Alan Modra <amodra@gmail.com>
544 * ld.h (struct map_symbol_def): Move to..
546 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
548 2014-01-22 Alan Modra <amodra@gmail.com>
550 * ld.texinfo (Output Section Discarding): Mention assigning to dot
551 as a way of keeping otherwise empty sections.
552 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
553 is_dot_plus_0, is_align_conditional): New predicates.
554 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
555 output section, except for some special cases.
556 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
557 end of .heap and .stack.
559 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
561 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
563 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
565 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
567 2014-01-20 Alan Modra <amodra@gmail.com>
569 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
570 by_script. Make iteration a single bit field.
571 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
572 (lang_symbol_defined): Declare.
573 * ldlang.c (lang_statement_iteration): Expand comment a little.
574 (lang_init <lang_definedness_table>): Make it bigger.
575 (lang_track_definedness, lang_symbol_definition): Delete.
576 (lang_definedness_newfunc): Update.
577 (lang_symbol_defined): New function.
578 (lang_update_definedness): Create entries here. Do track whether
579 script definition of symbol is valid, even when also defined in
581 * ldexp.c (fold_name <DEFINED>): Update.
582 (fold_name <NAME>): Allow self-assignment for absolute symbols
583 defined in a linker script.
585 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
586 Alan Modra <amodra@gmail.com>
588 * ldlang.h (lang_output_section_get): Define.
589 * ldlang.c (lang_output_section_get): Likewise.
590 (init_os): Set the output_section userdata to the output
592 * emultempl/hppaelf.em: Use lang_output_section_get instead of
593 lang_output_section_find where applicable.
594 * emultempl/aarch64elf.em: Likewise.
595 * emultempl/aix.em: Likewise.
596 * emultempl/armelf.em: Likewise.
597 * emultempl/m68hc1xelf.em: Likewise.
598 * emultempl/metagelf.em: Likewise.
599 * emultempl/mipself.em: Likewise.
600 * emultempl/ppc64elf.em: Likewise.
601 * emultempl/spuelf.em: Likewise.
603 2014-01-17 Alan Modra <amodra@gmail.com>
605 * genscripts.sh (COMPILE_IN): Don't set if already set.
606 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
608 * emulparams/nds32elf16m.sh: Likewise.
609 * emulparams/nds32elf_linux.sh: Likewise.
610 * emultempl/aix.em: Test COMPILE_IN value is "yes".
611 * emultempl/armcoff.em: Likewise.
612 * emultempl/elf32.em: Likewise.
613 * emultempl/generic.em: Likewise.
614 * emultempl/gld960.em: Likewise.
615 * emultempl/gld960c.em: Likewise.
616 * emultempl/linux.em: Likewise.
617 * emultempl/lnk960.em: Likewise.
618 * emultempl/m68kcoff.em: Likewise.
619 * emultempl/sunos.em: Likewise.
620 * emultempl/ticoff.em: Likewise.
622 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
625 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
627 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
628 for elf32_x86_64 emulation.
629 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
630 for elf_i386 emulation.
632 2014-01-16 Alan Modra <amodra@gmail.com>
634 * ld.h (fat_section_userdata_type, get_userdata): Move to..
635 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
636 * ldlang.c (init_map_userdata): Delete. Fold into..
637 (sort_def_symbol): ..here. Don't attach input section userdata
638 to output sections or global bfd sections.
639 (lang_map): Don't pre-allocate input section userdata.
640 (init_os): Don't allocate userdata for output sections.
641 (print_all_symbols): Update.
643 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
645 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
646 Silence uninitialized warning on ehdr_start_save with older
649 2014-01-15 Alan Modra <amodra@gmail.com>
651 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
652 __ehdr_start before size_dynamic_sections and restore afterwards.
654 2014-01-10 Alan Modra <amodra@gmail.com>
659 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
660 adjust. Tidy comments.
661 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
663 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
665 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
667 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
672 * ldlang.c (lang_size_sections): Properly align RELRO base.
674 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
676 * ldver.c (ldversion): Update copyright year to 2014.
678 For older changes see ChangeLog-2013
680 Copyright (C) 2014 Free Software Foundation, Inc.
682 Copying and distribution of this file, with or without modification,
683 are permitted in any medium without royalty provided the copyright
684 notice and this notice are preserved.
690 version-control: never