1 2014-08-18 Alan Modra <amodra@gmail.com>
3 * ld.texinfo (--as-needed): Clarify that references from libraries
4 must be from needed libraries.
6 2014-08-18 Alan Modra <amodra@gmail.com>
8 * emultempl/aarch64elf.em (gld${EMULATION_NAME}_after_allocation):
9 Handle error status from bfd_elf_discard_info.
10 * emultempl/armelf.em: Likewise.
11 * emultempl/elf32.em: Likewise.
12 * emultempl/hppaelf.em: Likewise.
13 * emultempl/metagelf.em: Likewise.
14 * emultempl/nios2elf.em: Likewise.
15 * emultempl/ppc64elf.em: Likewise.
16 * emultempl/tic6xdsbt.em: Likewise.
17 * emultempl/vms.em: Likewise.
19 2014-08-14 Alan Modra <amodra@gmail.com>
22 * ldlang.c (map_head_is_link_order): Rename from
23 stripped_excluded_sections.
24 (lang_clear_os_map): New function, extracted from..
25 (strip_excluded_output_sections): ..here.
26 * ldlang.h (lang_clear_os_map): Declare.
27 * ldwrite.c (ldwrite): Call lang_clear_os_map.
28 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
31 2014-08-14 Alan Modra <amodra@gmail.com>
33 * configure.ac: Move AC_PROG_CC and other macros earlier. Delete
34 plugin checks now done in config/plugins.m4.
35 * config.in: Regenerate.
36 * configure: Regenerate.
38 2014-08-14 Alan Modra <amodra@gmail.com>
40 * plugin.c (is_ir_dummy_bfd): Test BFD_PLUGIN flag rather than
43 2014-08-13 Yaakov Selkowitz <yselkowi@redhat.com>
45 * pe-dll.c (autofilter_entry_type autofilter_symbollist_i386): Add
48 2014-08-13 Alan Modra <amodra@gmail.com>
50 * ldlang.c (open_input_bfds): Don't use bfd_elf_get_dyn_lib_class.
52 2014-08-12 Alan Modra <amodra@gmail.com>
54 * ldlang.h (struct lang_input_statement_flags): Don't make "reload"
55 field conditional on ENABLE_PLUGINS.
56 * ldlang.c (open_input_bfds): Expand plugin_should_reload.
57 * plugin.h (plugin_should_reload): Delete.
58 * plugin.c (plugin_should_reload): Delete.
60 2014-08-12 Alan Modra <amodra@gmail.com>
62 * ldmain.c (notice): Update args.
63 * plugin.c (plugin_notice): Likewise. Follow warning sym link.
64 Handle new indirect symbol.
66 2014-08-12 Alan Modra <amodra@gmail.com>
68 * plugin.c (plugin_load_plugins): Set link_info.lto_plugin_active.
70 2014-08-08 Ulrich Drepper <drepper@gmail.com>
72 * ldlang.h (struct lang_input_statement_flags): Add pushed
74 * ldlex.h (enum option_values): Add OPTION_PUSH_STATE and
76 * lexsup.c (ld_options): Add entries for --push-state and
78 (parse_args): Handle OPTION_PUSH_STATE and OPTION_POP_STATE.
79 * ld.texinfo: Document --push-state and --pop-state.
81 2014-08-06 H.J. Lu <hongjiu.lu@intel.com>
84 * plugin.c (plugin_opt_plugin_arg): Drop --pass-through.
86 2014-08-05 Alan Modra <amodra@gmail.com>
88 * Makefile.in: Regenerate.
90 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
92 * emulparams/elf32bmip.sh: Add .MIPS.abiflags.
93 * emulparams/elf32bmipn32-defs.sh: Likewise.
94 * emulparams/elf64bmip-defs.sh: Likewise.
96 2014-07-27 Anthony Green <green@moxielogic.com>
98 * Makefile.am (ALL_EMULATION_SOURCES): Add moxiebox support.
100 * configure.tgt (targ_extra_ofiles): Add moxie-*-moxiebox*.
101 * emulparams/moxiebox.sh (TEXT_START_ADDR): New file.
102 * Makefile.in: Rebuilt.
104 2014-07-17 Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
106 * emulparams/elf32or1k_linux.sh (TEXT_START_ADDR): Increase from
107 0x0 to first page boundary at 0x2000.
109 2014-07-10 Max Filippov <jcmvbkbc@gmail.com>
111 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section):
112 correctly handle missing dot in section name after
113 ".gnu.linkonce.prop.".
115 2014-07-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
117 * scripttempl/avr.sc: Remove KEEP for .data and
118 force .bss VMA to end of .data VMA.
120 2014-07-08 Will Newton <will.newton@linaro.org>
122 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase
123 alignment to 64kB boundary.
125 2014-07-04 Alan Modra <amodra@gmail.com>
127 * configure.ac: Update "configure.in" comments.
128 * configure: Regenerate.
130 2014-07-04 Alan Modra <amodra@gmail.com>
132 * configure.ac: Rename from configure.in.
133 * Makefile.in: Regenerate.
134 * config.in: Regenerate.
136 2014-07-04 Alan Modra <amodra@gmail.com>
138 * configure.in: Include bfd/version.m4.
139 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
140 (BFD_VERSION): Delete.
141 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
142 * configure: Regenerate.
143 * Makefile.in: Regenerate.
145 2014-07-03 Alan Modra <amodra@gmail.com>
148 * ldlang.c (load_symbols): Always check flags.reload.
149 (open_input_bfds): Always reload --as-needed shared libraries,
150 not just when rescanning.
151 * ldlang.h (struct lang_input_statement_flags): Update reload comment.
152 * plugin.c (plugin_should_reload): Assume shared library arg.
153 * plugin.h (plugin_should_reload): Update comment.
155 2014-07-01 Alan Modra <amodra@gmail.com>
157 * emultempl/ppc64elf.em (stub_added): Delete.
158 (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
159 none of the usual stubs have been added. Only change entry_section
162 2014-07-01 Alan Modra <amodra@gmail.com>
164 * sysdep.h: Don't include limits.h and sys/param.h. Don't
165 include unistd.h twice.
166 (LD_PATHMAX): Don't define.
167 * ldlang.c (lang_common): Don't use UINT_MAX.
169 2014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
170 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
171 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
172 Soundararajan <Sounderarajan.D@atmel.com>
174 * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
175 (eavrtiny.c): Add rules for avrtiny emulation source.
176 * Makefile.in: Regenerate.
177 * configure.tgt: Add avrtiny to avr target emulations.
178 * scripttempl/avrtiny.sc: New file. Linker script template for
180 * emulparams/avrtiny.sh: New file. Emulation parameters for
183 2014-06-30 Ulrich Drepper <drepper@gmail.com>
185 * lexsup.c (parse_args): Check whether provided SONAME is empty
186 string. If yes, warn and ignore it. Don't overwrite valid SONAME
189 2014-06-26 Linda Zhang <lindasc@qq.com>
191 * emultempl/pe.em: Initialise insert_timestamp to true.
192 Add a --no-insert-timestamp command line option.
193 * emultempl/pep.em: Likewise.
194 * ld.texinfo: Document that --insert-timestamp is enabled by
195 default and that it now has an inverse command line option.
196 * NEWS: Mention the new behaviour.
198 2014-06-25 Nick Clifton <nickc@redhat.com>
200 * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
202 (ALL_64_EMULATION_SOURCES): ... to here.
203 (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
204 (ALL_64_EMUL_EXTRA_OFILES): New. ... to here.
205 * configure.in (EMUL_EXTRA_OFILES): Include
206 ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
207 * Makefile.in: Regenerate.
208 * configure: Regenerate.
210 2014-06-18 Andreas Tobler <andreast@fgznet.ch>
212 * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
213 (arm*b-*-freebsd*): Add target.
214 * emulparams/armelfb_fbsd.sh: Added.
215 * emulparams/armelf_fbsd.sh: Updated.
216 * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
217 * Makefile.in: Regenerate.
219 2014-06-16 Alan Modra <amodra@gmail.com>
221 * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
222 .rel sections, and __rel_iplt from .rela sections.
223 * scripttempl/nds32elf.sc: Likewise.
224 * Makefile.am (ends32*.c) Depend on nds32elf.sc.
225 * Makefile.in: Regenerate.
227 2014-06-13 Alan Modra <amodra@gmail.com>
230 * ldlang.c (output_bfd_hash_table_free_fn): Delete.
231 (open_output): Don't set it..
232 * ldmain.c (ld_cleanup): ..or call it.
234 2014-06-13 Alan Modra <amodra@gmail.com>
236 * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
237 * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
238 * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
239 * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
241 2014-06-13 Alan Modra <amodra@gmail.com>
243 * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
244 * Makefile.in: Regenerate.
246 2014-06-07 Alan Modra <amodra@gmail.com>
248 * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
249 linker script symbol value override a built-in linker symbol.
251 2014-06-05 Joel Brobecker <brobecker@adacore.com>
253 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
254 bfd's development.sh.
255 * Makefile.in, configure: Regenerate.
257 2014-06-02 Alan Modra <amodra@gmail.com>
259 * emulparams/elf32bfin.sh: Rename from bfin.sh.
260 * emulparams/elf32bfinfd.sh: Update to suit.
261 * emulparams/msp430.sh: Rename from msp430all.sh. Remove
262 MSP430_NAME and msp430X vars.
263 * emulparams/msp430X.sh: New.
264 * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove
265 SCORE_NAME and score7_elf ARCH setting.
266 * emulparams/score7_elf.sh: New.
267 * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
268 (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
269 * Makefile.in: Regenerate.
270 * genscripts.sh: Delete customizer_script param.
272 2014-05-28 Hans-Peter Nilsson <hp@axis.com>
274 * Makefile.am: Change all rules with ${GENSCRIPTS}
275 invocations to be just dependencies.
276 ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
277 (run-genscripts): New rules.
278 * Makefile.in: Regenerate.
280 2014-05-27 DJ Delorie <dj@redhat.com>
282 * ld/ldemul.h (extra_map_file_text): New field.
283 (ldemul_extra_map_file_text): Declare.
284 * ld/ldemul.c (ldemul_extra_map_file_text): Define.
285 * ld/ldlang.c (lang_map): Call it.
287 * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
288 * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
289 * ld/emultempl/armcoff.em: Likewise.
290 * ld/emultempl/beos.em: Likewise.
291 * ld/emultempl/elf32.em: Likewise.
292 * ld/emultempl/generic.em: Likewise.
293 * ld/emultempl/gld960.em: Likewise.
294 * ld/emultempl/gld960c.em: Likewise.
295 * ld/emultempl/linux.em: Likewise.
296 * ld/emultempl/lnk960.em: Likewise.
297 * ld/emultempl/m68kcoff.em: Likewise.
298 * ld/emultempl/pe.em: Likewise.
299 * ld/emultempl/pep.em: Likewise.
300 * ld/emultempl/sunos.em: Likewise.
301 * ld/emultempl/ticoff.em: Likewise.
302 * ld/emultempl/vanilla.em: Likewise.
304 2014-05-24 Alan Modra <amodra@gmail.com>
306 * ldlang.c (base): Move variable to..
307 * mri.c: ..here, and make static.
308 * ldlang.h (base): Delete declaration.
310 2014-05-20 Hans-Peter Nilsson <hp@axis.com>
312 * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
313 * Makefile.in: Regenerate.
315 2014-05-20 Alan Modra <amodra@gmail.com>
318 * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
319 * emultempl/ppc32elf.em (ppc_before_allocation): Call
320 ppc_elf_maybe_strip_sdata_syms.
321 * ldlang.c (size_input_section): Correct output_offset value
322 for excluded input sections.
324 2014-05-16 John Marino <binutils@marino.st>
326 * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
328 2014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
330 * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
331 and gp in PROVIDE_HIDDEN.
333 2014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
335 * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
336 (output_bfd_hash_table_free_fn): New variable.
337 (open_output): Save the _bfd_link_hash_table_free function for the
338 output_bfd into output_bfd_hash_table_free_fn.
339 * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
341 * ldlang.h (output_bfd_hash_table_free_fn): Declare.
343 2014-05-02 Alan Modra <amodra@gmail.com>
345 * emultempl/metagelf.em: Update bfd target vector naming.
346 * emultempl/nios2elf.em: Likewise.
347 * emultempl/spuelf.em: Likewise.
348 * emultempl/tic6xdsbt.em: Likewise.
350 2014-04-22 Christian Svensson <blue@cmd.nu>
352 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
353 * configure.tgt: Likewise.
354 * emulparams/elf32or1k.sh: New file.
355 * emulparams/elf32or1k_linux.sh: New file.
356 * emulparams/elf32openrisc.sh: Delete.
357 * emulparams/or32.sh: Delete.
358 * emulparams/or32elf.sh: Delete.
359 * scripttempl/or32.sc: Delete.
360 * Makefile.in: Regenerate.
362 2014-04-21 Richard Henderson <rth@redhat.com>
364 * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
366 2014-04-16 Steve Ellcey <sellcey@mips.com>
368 * emultempl/elf32.em: Include safe-ctype.h.
370 2014-04-16 Steve Ellcey <sellcey@mips.com>
372 * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
374 2014-04-09 Nick Clifton <nickc@redhat.com>
376 * Makefile.am (default-manifest.o): Remove rule.
377 (EMUL_EXTRA_BINARIES): Delete.
378 (ALL_EMUL_EXTRA_BINARIES): Delete.
379 (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
380 (install-data-local): Remove EMUL_EXTRA_BINARIES.
381 * Makefile.in: Regenerate.
382 * configure.in (all_emul_extra_binaries): Delete.
383 (EMUL_EXTRA_BINARIES): Remove.
384 * configure: Regenerate.
385 * configure.tgt (target_extra_binaries): Delete.
386 * emultempl/default-manifest.rc: Delete.
387 * ld.texinfo: Remove discussion of default manifest.
388 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
389 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
391 2014-04-09 Alan Modra <amodra@gmail.com>
393 * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
394 * emultempl/nds32elf.em: Include bfd_stdint.h.
395 * po/POTFILES.in: Regenerate.
397 2014-04-09 Alan Modra <amodra@gmail.com>
399 * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
400 (LDEMUL_FINISH): Define.
402 2014-04-08 Nick Clifton <nickc@redhat.com>
404 * scripttempl/pe.sc (R_RSRC): Remove default manifest.
405 * scripttempl/pep.sc (R_RSRC): Remove default manifest.
407 2014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
409 * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
410 Move code for parsing build-id option and calculating the build-id to...
411 * ldbuildid.c: New file.
412 * ldbuildid.h: New file.
413 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
415 * Makefile.in: Regenerate.
416 * ld.texinfo: Update --build-id description to mention COFF
418 * NEWS: Mention support for COFF build ids.
419 * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
420 (pecoff_checksum_contents, write_build_id, setup_build_id)
421 (gld_${EMULATION_NAME}_after_open): Handle and implement
423 * emultempl/pep.em: Likewise.
425 2014-04-04 Cary Coutant <ccoutant@google.com>
428 * ld.texinfo: Document optional comma following output section
429 command and overlay command.
431 2014-04-04 Alan Modra <amodra@gmail.com>
433 * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
434 current "fill", not "output_section_statement->fill".
436 2014-03-31 Nick Clifton <nickc@redhat.com>
439 * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
440 section when performing a relocatable link with -z [no]execstack
443 2014-03-27 H.J. Lu <hongjiu.lu@intel.com>
446 * ldmain.c (symbol_warning): New function.
447 (warning_callback): Use it. Scan all input files for a reference
450 2014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
452 * ld.texinfo: Document change in handling of --enable-auto-image-base.
453 * emultempl/pe.em (pe_auto_image_base): Set to default base.
454 (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
455 optional --enable-auto-image-base argument.
456 (gld${EMULATION_NAME}_handle_option): Handle optional
457 --enable-auto-image-base argument.
458 (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
460 2014-03-19 Nick Clifton <nickc@redhat.com>
462 * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
463 * Makefile.in: Regenerate.
464 * emultempl/default-manifest.rc: Fix typo.
465 * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
466 (.rsrc): Add SUBALIGN(4). Remove SORT.
467 * scripttempl/pep.sc: Likewise.
469 2014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
471 * Makefile.am: Use host version of windres.
472 * Makefile.in: Regenerate.
474 2014-03-14 Romain Geissler <romain.geissler@amadeus.com>
475 Alan Modra <amodra@gmail.com>
477 * ldlang.h (full_name_provided): New input flag.
478 * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
479 for -l:namespec. Instead use lang_input_file_is_l_enum with
480 full_name_provided flag.
481 * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
482 full_name_provided flag is set.
483 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
484 Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
485 support. Set DT_NEEDED for -l:namespec as namespec.
486 * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
487 * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
488 Don't handle full_name_provided libraries.
489 * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
490 * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
491 * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
493 2014-03-12 Alan Modra <amodra@gmail.com>
495 * Makefile.in: Regenerate.
497 2014-03-05 Alan Modra <amodra@gmail.com>
499 Update copyright years.
501 2014-03-04 Nick Clifton <nickc@redhat.com>
503 * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
504 * Makefile.in: Regenerate.
506 2014-02-27 Yuri Gribov <y.gribov@samsung.com>
508 * emultempl/armelf.em (OPTION_LONG_PLT): Define.
509 (PARSE_AND_LIST_LONGOPTS): Add long-plt.
510 (PARSE_AND_LIST_OPTIONS): Likewise.
511 (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
512 * ld.texinfo: Document --long-plt.
514 2014-02-27 Alan Modra <amodra@gmail.com>
516 * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
518 * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
520 (LDEMUL_AFTER_OPEN): Don't set for vxworks.
521 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
522 -secure-plt, -bss-plt and -sdata-got when vxworks.
524 2014-02-27 Nick Clifton <nickc@redhat.com>
526 * configure.in (all_emul_extra_binaries): New variable. Populated
527 by invoking configure.tgt.
528 (EMUL_EXTRA_BINARIES): New substitution.
529 * configure: Regenerate.
530 * configure.tgt (target_extra_binaries): New variable. Set to
531 default-manifest.o for Cygwin and MinGW targets.
532 * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
533 by the configure script.
534 (ALL_EMUL_EXTRA_BINARIES): New variable.
535 (default-manifest.o): New rule to build the default manifest.
536 (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
537 (install-data-local): Add EMUL_EXTRA_BINARIES.
538 * Makefile.in: Regenerate.
539 * ld.texinfo: Document default manifest support.
540 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
541 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
542 * emultempl/default-manifest.rc: New file.
543 * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
544 * scripttempl/pep.sc (R_RSRC): Likewise.
546 2014-02-26 Dan Mick <dan.mick@inktank.com>
549 * ldcref.c (cref_sort_array): Compare unmangled names unless
550 demanglng has been requiested.
551 (output_one_cref): Output unmangled name unless demangling has
554 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
555 H.J. Lu <hongjiu.lu@intel.com>
557 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
559 2014-02-19 Alan Modra <amodra@gmail.com>
561 * emultempl/ppc64elf.em (params): Init new field.
562 (ppc_create_output_section_statements): Set params.save_restore_funcs
564 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
565 --no-save-restore-funcs.
567 2014-02-17 Alan Modra <amodra@gmail.com>
569 * emultemps/ppc64elf.em (params): New static struct replacing
570 various other static vars. Adjust code throughout file.
572 2014-02-17 Alan Modra <amodra@gmail.com>
574 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
575 ppc476 workaround for ld -r.
577 2014-02-12 Alan Modra <amodra@gmail.com>
579 * emultempl/ppc32elf.em (pagesize): New static var.
580 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
581 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
583 2014-02-11 Andrew Pinski <apinski@cavium.com>
585 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
586 (ELF_INTERPRETER_NAME): Define.
587 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
589 2014-02-10 Alan Modra <amodra@gmail.com>
591 * po/ld.pot: Regenerate.
593 2014-02-03 Alan Modra <amodra@gmail.com>
595 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
596 plt_style): Delete. Adjust all refs to instead use..
597 (params): ..this. New variable.
598 (ppc_after_open_output): New function. Tweak params and pass to
600 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
601 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
602 relaxation for ppc476 workaround.
603 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
604 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
606 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
608 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
609 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
610 variable which reflects the VMA change due to alignment
611 requirements. Use dotdelta do change the LMA if
612 ALIGN_WITH_INPUT is requested.
614 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
616 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
617 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
620 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
622 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
623 * Makefile.in: Regenerated.
624 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
625 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
626 * emultempl/nios2elf.em: New file.
627 * gen-doc.texi (NIOSII): Set.
628 * ld.texinfo (NIOSII): Set.
630 2014-01-28 Nick Clifton <nickc@redhat.com>
632 * Makefile.am: Remove obsolete MSP430 emulations.
633 * configure.tgt: Likewise.
634 * emulparams/msp430all.sh: Likewise.
635 * Makefile.in: Regenerate.
637 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
640 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
641 orphaned TLS section handling.
643 2014-01-24 Alan Modra <amodra@gmail.com>
645 * ldlang.c (lang_output_section_find_by_flags): Be careful to
646 test look->bfd_section->flags if available rather than
647 look->flags. Separate SEC_THREAD_LOCAL handling from
648 SEC_READONLY loop, and rewrite.
650 2014-01-22 Alan Modra <amodra@gmail.com>
652 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
653 (lang_init): Initialise them.
654 (lang_print_asneeded): New function.
655 (lang_process): Call lang_print_asneeded.
656 * ldlang.h (struct asneeded_minfo): New.
657 (asneeded_list_tail): Declare.
658 * ldmain.c (add_archive_element): Improve archive map heading.
659 * ldmisc.c (minfo): Stash --as-needed info.
661 2014-01-22 Alan Modra <amodra@gmail.com>
663 * ld.h (struct map_symbol_def): Move to..
665 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
667 2014-01-22 Alan Modra <amodra@gmail.com>
669 * ld.texinfo (Output Section Discarding): Mention assigning to dot
670 as a way of keeping otherwise empty sections.
671 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
672 is_dot_plus_0, is_align_conditional): New predicates.
673 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
674 output section, except for some special cases.
675 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
676 end of .heap and .stack.
678 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
680 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
682 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
684 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
686 2014-01-20 Alan Modra <amodra@gmail.com>
688 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
689 by_script. Make iteration a single bit field.
690 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
691 (lang_symbol_defined): Declare.
692 * ldlang.c (lang_statement_iteration): Expand comment a little.
693 (lang_init <lang_definedness_table>): Make it bigger.
694 (lang_track_definedness, lang_symbol_definition): Delete.
695 (lang_definedness_newfunc): Update.
696 (lang_symbol_defined): New function.
697 (lang_update_definedness): Create entries here. Do track whether
698 script definition of symbol is valid, even when also defined in
700 * ldexp.c (fold_name <DEFINED>): Update.
701 (fold_name <NAME>): Allow self-assignment for absolute symbols
702 defined in a linker script.
704 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
705 Alan Modra <amodra@gmail.com>
707 * ldlang.h (lang_output_section_get): Define.
708 * ldlang.c (lang_output_section_get): Likewise.
709 (init_os): Set the output_section userdata to the output
711 * emultempl/hppaelf.em: Use lang_output_section_get instead of
712 lang_output_section_find where applicable.
713 * emultempl/aarch64elf.em: Likewise.
714 * emultempl/aix.em: Likewise.
715 * emultempl/armelf.em: Likewise.
716 * emultempl/m68hc1xelf.em: Likewise.
717 * emultempl/metagelf.em: Likewise.
718 * emultempl/mipself.em: Likewise.
719 * emultempl/ppc64elf.em: Likewise.
720 * emultempl/spuelf.em: Likewise.
722 2014-01-17 Alan Modra <amodra@gmail.com>
724 * genscripts.sh (COMPILE_IN): Don't set if already set.
725 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
727 * emulparams/nds32elf16m.sh: Likewise.
728 * emulparams/nds32elf_linux.sh: Likewise.
729 * emultempl/aix.em: Test COMPILE_IN value is "yes".
730 * emultempl/armcoff.em: Likewise.
731 * emultempl/elf32.em: Likewise.
732 * emultempl/generic.em: Likewise.
733 * emultempl/gld960.em: Likewise.
734 * emultempl/gld960c.em: Likewise.
735 * emultempl/linux.em: Likewise.
736 * emultempl/lnk960.em: Likewise.
737 * emultempl/m68kcoff.em: Likewise.
738 * emultempl/sunos.em: Likewise.
739 * emultempl/ticoff.em: Likewise.
741 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
744 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
746 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
747 for elf32_x86_64 emulation.
748 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
749 for elf_i386 emulation.
751 2014-01-16 Alan Modra <amodra@gmail.com>
753 * ld.h (fat_section_userdata_type, get_userdata): Move to..
754 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
755 * ldlang.c (init_map_userdata): Delete. Fold into..
756 (sort_def_symbol): ..here. Don't attach input section userdata
757 to output sections or global bfd sections.
758 (lang_map): Don't pre-allocate input section userdata.
759 (init_os): Don't allocate userdata for output sections.
760 (print_all_symbols): Update.
762 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
764 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
765 Silence uninitialized warning on ehdr_start_save with older
768 2014-01-15 Alan Modra <amodra@gmail.com>
770 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
771 __ehdr_start before size_dynamic_sections and restore afterwards.
773 2014-01-10 Alan Modra <amodra@gmail.com>
778 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
779 adjust. Tidy comments.
780 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
782 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
784 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
786 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
791 * ldlang.c (lang_size_sections): Properly align RELRO base.
793 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
795 * ldver.c (ldversion): Update copyright year to 2014.
797 For older changes see ChangeLog-2013
799 Copyright (C) 2014 Free Software Foundation, Inc.
801 Copying and distribution of this file, with or without modification,
802 are permitted in any medium without royalty provided the copyright
803 notice and this notice are preserved.
809 version-control: never