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