1 2015-10-27 Laurent Alfonsi <laurent.alfonsi@st.com>
2 Christophe Monat <christophe.monat@st.com>
4 * ld.texinfo: Add description of the STM32L4xx erratum
6 * NEWS: Mention the new feature.
7 * emultempl/armelf.em (stm32l4xx_fix): New.
8 (arm_elf_before_allocation): Choose the type of fix, scan for
10 (gld${EMULATION_NAME}_finish): Fix veneer locations.
11 (arm_elf_create_output_section_statements): Propagate
13 (PARSE_AND_LIST_PROLOGUE): Define OPTION_STM32L4XX_FIX.
14 (PARSE_AND_LIST_LONGOPTS): Add entry for handling
15 --fix-stm32l4xx-629360.
16 (PARSE_AND_LIST_OPTION): Add entry for helping on
17 --fix-stm32l4xx-629360.
18 (PARSE_AND_LIST_ARGS_CASES): Treat OPTION_STM32L4XX_FIX.
20 2015-10-27 Alan Modra <amodra@gmail.com>
23 * ldlang.c (lang_insert_orphan): Evaluate __start_* and __stop_*
24 symbol PROVIDE expressions.
25 * ldexp.c (exp_fold_tree_1 <etree_provide>): Define undefweak
28 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
30 * configure.ac: Properly check
31 --enable-compressed-debug-sections={yes,all}.
32 * configure: Regenerated.
34 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
37 * configure.ac: Handle --enable-compressed-debug-sections=*,ld,*.
38 * configure: Regenerated.
40 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
42 * ld/ld.texinfo: Document "-z call-nop=PADDING" option.
43 * emulparams/call_nop.sh: New file.
44 * emulparams/elf_i386_be.sh: Source
45 ${srcdir}/emulparams/call_nop.sh.
46 * emulparams/elf_i386_chaos.sh: Likewise.
47 * emulparams/elf_i386_ldso.sh: Likewise.
48 * emulparams/elf_i386_vxworks.sh: Likewise.
49 * emulparams/elf_iamcu.sh: Likewise.
50 * emulparams/elf_k1om.sh: Likewise.
51 * emulparams/elf_l1om.sh: Likewise.
52 * emulparams/elf_x86_64.sh: Likewise.
53 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
54 link_info.call_nop_byte if $CALL_NOP_BYTE isn't empty.
56 2015-10-21 Nick Clifton <nickc@redhat.com>
59 * configure.ac: Add --enable-compressed-debug-sections with
60 options of all, none or ld.
61 * configure: Regenerate.
62 * config.in: Regenerate.
63 * ld.texinfo: Document how to determine the default action for
65 * ldmain.c (main): If DEFAULT_FLAG_COMPRESS_DEBUG is defined then
66 set the compress_debug field of the link_info structure to
68 * lexsup.c (elf_static_list_options): Output the default setting
69 for the --compress-debug-sections option.
70 * NEWS: Mention the new configure option.
72 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
74 * ld.texinfo: Fix a typo for "-z noextern-protected-data".
76 2015-10-15 Simon Dardis <Simon.Dardis@imgtec.com>
78 * ld/ldexp.c: (try_copy_symbol_flags): New. Factored out from...
79 (exp_fold_tree_1): Here. Cope with ternary operator in
80 assignments. Use new helper.
82 2015-10-14 Nick Clifton <nickc@redhat.com>
84 * po/zh_TW.po: Updated Chinese translation.
86 2015-10-13 Nick Clifton <nickc@redhat.com>
88 * po/zh_TW.po: Updated Chinese translation.
90 2015-10-07 Claudiu Zissulescu <claziss@synopsys.com>
91 Cupertino Miranda <cmiranda@synopsys.com>
93 * configure.tgt: Added target arc-*-elf* and arc*-*-linux-uclibc*.
94 * emulparams/arcebelf_prof.sh: New file
95 * emulparams/arcebelf.sh: Likewise.
96 * emulparams/arceblinux_prof.sh: Likewise.
97 * emulparams/arceblinux.sh: Likewise.
98 * emulparams/arcelf_prof.sh: Likewise.
99 * emulparams/arcelf.sh: Likewise.
100 * emulparams/arclinux_prof.sh: Likewise.
101 * emulparams/arclinux.sh: Likewise.
102 * emulparams/arcv2elfx.sh: Likewise.
103 * emulparams/arcv2elf.sh: Likewise.
104 * emultempl/arclinux.em: Likewise.
105 * scripttempl/arclinux.sc: Likewise.
106 * scripttempl/elfarc.sc: Likewise.
107 * scripttempl/elfarcv2.sc: Likewise
108 * Makefile.am: Add new ARC emulations.
109 * Makefile.in: Regenerate.
110 * NEWS: Mention the new feature.
112 2015-10-04 H.J. Lu <hongjiu.lu@intel.com>
114 * configure.tgt (targ_extra_emuls): Add elf_iamcu for Solaris2/x86.
116 2015-10-01 Kaz Kojima <kkojima@rr.iij4u.or.jp>
118 * configure.tgt (targ_extra_emuls): Remove shlelf and
119 shelf from sh*-*-linux cases.
121 2015-09-30 Rich Felker <dalias@libc.org>
123 * configure.tgt (targ_extra_emuls): Add fdpic and misc
124 emulations to sh*-*-linux* targets.
126 2015-09-29 Nick Clifton <nickc@redhat.com>
129 * ld.texinfo (Options): Fix spelling mistake.
131 2015-09-24 Alan Modra <amodra@gmail.com>
134 * ldmain.c (main): Always enable --sysroot.
135 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
136 prepend sysroot to relative rpath/runpath.
138 2015-09-23 Nick Clifton <nickc@redhat.com>
140 * emultempl/elf32.em (ehdr_start_empty): New static variable.
141 (before_allocation): Use it to initialise ehdr_start_save.
142 * emultempl/pe.em (write_build_id): Remove useless double
144 * emultempl/pep.em (write_build_id): Likewise.
146 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
148 * emultempl/alphaelf.em (alpha_after_parse): Call
149 gld${EMULATION_NAME}_after_parse instead of
151 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
152 * emultempl/crxelf.em (crxelf_after_parse); Likewise.
153 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
154 * emultempl/mipself.em (mips_after_parse): Likewise.
155 * emultempl/nds32elf.em (nds32_elf_after_parse): Likewise.
156 * emultempl/elf32.em: Don't include ldlex.h.
157 (gld${EMULATION_NAME}_after_parse): New function.
158 (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT]
159 <OPTION_PIE>: Removed.
160 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default
161 with gld${EMULATION_NAME}_after_parse.
162 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse):
164 (ia64elf_after_parse): This. Call
165 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
166 (LDEMUL_AFTER_PARSE): Replace gld${EMULATION_NAME}_after_parse
167 with ia64elf_after_parse.
169 2015-09-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
171 * emulparams/solaris2.sh (GENERATE_PIE_SCRIPT): Set to yes.
173 * emultempl/elf32.em: Include ldlex.h.
174 (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT]
175 <OPTION_PIE>: Set DF_1_PIE.
177 2015-09-22 Alan Modra <amodra@gmail.com>
179 * ld.texinfo: Put --dotsyms/--no-dotsyms on separate lines.
180 Ditto for --save-restore-funcs and --tls-get-addr-optimize.
182 2015-09-20 Rich Felker <dalias@libc.org>
184 * ld.texinfo (--no-dynamic-linker): Document.
185 * ldlex.h (enum option_values): Add OPTION_NO_DYNAMIC_LINKER.
186 * lexsup.c (ld_options, parse_args): Handle --no-dynamic-linker.
188 2015-09-18 Alan Modra <amodra@gmail.com>
190 * ld.texinfo: Document PowerPC64 --{no-,}save-restore-funcs.
192 2015-09-18 Alan Modra <amodra@gmail.com>
194 * emultempl/ppc64elf.em (params): Init tls_get_addr_opt field to -1.
195 (OPTION_TLS_GET_ADDR_OPT): Define.
196 (PARSE_AND_LIST_LONGOPTS): Handle --tls-get-addr-opt.
197 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
198 * ld.texinfo: Document --tls-get-addr-optimize and
199 --no-tls-get-addr-optimize.
201 2015-09-18 Alan Modra <amodra@gmail.com>
204 * ldexp.h (struct ldexp_control): Add rel_from_abs.
205 (ldexp_finalize_syms): Declare.
206 * ldexp.c (new_rel_from_abs): Keep absolute for expressions
207 outside of output section statements. Set rel_from_abs.
208 (make_abs, exp_fold_tree, exp_fold_tree_no_dot): Clear rel_from_abs.
209 (struct definedness_hash_entry): Add final_sec, and comment.
210 (update_definedness): Set final_sec.
211 (set_sym_sections, ldexp_finalize_syms): New functions.
212 * ldlang.c (lang_process): Call ldexp_finalize_syms.
214 2015-09-10 Nick Clifton <nickc@redhat.com>
216 * po/zh_CN.po: Updated simplified Chinese translation.
218 2015-09-09 James Bowman <james.bowman@ftdichip.com>
220 * scripttempl/ft32.sc: default linker script RAM and
223 2015-09-09 Nick Clifton <nickc@redhat.com>
225 * po/zh_CN.po: Updated simplified Chinese translation.
227 2015-09-08 Nick Clifton <nickc@redhat.com>
229 * ld.texinfo (Source Code Reference): Extend description to
230 include an example using arrays.
232 2015-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
234 * ld.h (enum orphan_handling_enum): New.
235 (ld_config_type): Remove warn_orphan, add orphan_handling.
236 * ldemul.c (ldemul_place_orphan): Remove warning about orphan
238 * ldlang.c (ldlang_place_orphan): New function.
239 (lang_place_orphans): Call ldlang_place_orphan.
240 * ldlex.h (enum option_values): Remove OPTION_WARN_ORPHAN and
241 OPTION_NO_WARN_ORPHAN, add OPTION_ORPHAN_HANDLING.
242 * lexsup.c (ld_options): Remove 'warn-orphan' and
243 'no-warn-orphan', add 'orphan-handling'.
244 (parse_args): Remove handling for OPTION_WARN_ORPHAN and
245 OPTION_NO_WARN_ORPHAN, add handling for OPTION_ORPHAN_HANDLING.
246 * NEWS: Replace text about --warn-orphan with --orphan-handling.
247 * ld.texinfo (Options): Remove --warn-orphan entry and add
248 entry on --orphan-handling.
249 (Orphan Sections): Add reference to relevant command line options.
251 2015-09-03 Nick Clifton <nickc@redhat.com>
253 * ld.texinfo (--build-id): Fix typo. The COFF/PE build-id section
254 is called .buildid not .build-id.
256 2015-09-03 Nick Clifton <nickc@redhat.com>
258 (Source Code Reference): Fix off-by-one typo in example of how to
259 use linker script symbols in C source code.
261 2015-08-19 Alan Modra <amodra@gmail.com>
263 * emultempl/aix.em: Don't set link_info.pic.
264 * emultempl/pe.em: Likewise.
265 * emultempl/pep.em: Likewise.
266 * emultempl/sunos.em: Likewise.
267 * lexsup.c (parse_args): Likewise. Set type_pie for -pie.
268 * plugin.c (set_tv_header <LDPT_LINKER_OUTPUT>): Simplify.
270 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
272 * ld/ldctor.c: Replace shared, executable, relocatable and pie
273 fields with bfd_link_executable, bfd_link_dll,
274 bfd_link_relocatable, bfd_link_pic and bfd_link_pie.
275 * ld/ldemul.c: Likewise.
276 * ld/ldfile.c: Likewise.
277 * ld/ldlang.c: Likewise.
278 * ld/ldmain.c: Likewise.
279 * ld/ldwrite.c: Likewise.
280 * ld/lexsup.c: Likewise.
281 * ld/pe-dll.c: Likewise.
282 * ld/plugin.c: Likewise.
283 * ld/emultempl/aarch64elf.em: Likewise.
284 * ld/emultempl/aix.em: Likewise.
285 * ld/emultempl/alphaelf.em: Likewise.
286 * ld/emultempl/armcoff.em: Likewise.
287 * ld/emultempl/armelf.em: Likewise.
288 * ld/emultempl/avrelf.em: Likewise.
289 * ld/emultempl/beos.em: Likewise.
290 * ld/emultempl/cr16elf.em: Likewise.
291 * ld/emultempl/elf-generic.em: Likewise.
292 * ld/emultempl/elf32.em: Likewise.
293 * ld/emultempl/genelf.em: Likewise.
294 * ld/emultempl/generic.em: Likewise.
295 * ld/emultempl/gld960.em: Likewise.
296 * ld/emultempl/gld960c.em: Likewise.
297 * ld/emultempl/hppaelf.em: Likewise.
298 * ld/emultempl/irix.em: Likewise.
299 * ld/emultempl/linux.em: Likewise.
300 * ld/emultempl/lnk960.em: Likewise.
301 * ld/emultempl/m68hc1xelf.em: Likewise.
302 * ld/emultempl/m68kcoff.em: Likewise.
303 * ld/emultempl/m68kelf.em: Likewise.
304 * ld/emultempl/metagelf.em: Likewise.
305 * ld/emultempl/mipself.em: Likewise.
306 * ld/emultempl/mmo.em: Likewise.
307 * ld/emultempl/msp430.em: Likewise.
308 * ld/emultempl/nds32elf.em: Likewise.
309 * ld/emultempl/needrelax.em: Likewise.
310 * ld/emultempl/nios2elf.em: Likewise.
311 * ld/emultempl/pe.em: Likewise.
312 * ld/emultempl/pep.em: Likewise.
313 * ld/emultempl/ppc32elf.em: Likewise.
314 * ld/emultempl/ppc64elf.em: Likewise.
315 * ld/emultempl/sh64elf.em: Likewise.
316 * ld/emultempl/solaris2.em: Likewise.
317 * ld/emultempl/spuelf.em: Likewise.
318 * ld/emultempl/sunos.em: Likewise.
319 * ld/emultempl/tic6xdsbt.em: Likewise.
320 * ld/emultempl/ticoff.em: Likewise.
321 * ld/emultempl/v850elf.em: Likewise.
322 * ld/emultempl/vms.em: Likewise.
323 * ld/emultempl/vxworks.em: Likewise.
325 2015-08-18 Alan Modra <amodra@gmail.com>
327 * ldexp.c (exp_fold_tree_1): Clear linker_def on symbol assignment.
329 2015-08-06 Alan Modra <amodra@gmail.com>
331 * ldexp.c (align_dot_val): Delete.
332 (fold_unary <ALIGN_K, NEXT>): Revert 2015-07-10 change.
333 (is_align_conditional): Revert 2015-07-20 change.
334 (exp_fold_tree_1): Likewise, but keep expanded comment.
335 * scripttempl/elf.sc (.ldata, .bss): Revert 2015-07-20 change.
336 * ld.texinfo (<ALIGN>): Correct description.
338 2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
340 * ld.texinfo (Options): Document --require-defined option.
341 * ldlang.c (struct require_defined_symbol): New structure.
342 (require_defined_symbol_list): New variable.
343 (ldlang_add_require_defined): New function.
344 (ldlang_check_require_defined_symbols): New function.
345 (lang_process): Check required symbols are defined.
346 * ldlang.h (ldlang_add_require_defined): Declare.
347 * ldlex.h (enum option_values): Add OPTION_REQUIRE_DEFINED_SYMBOL.
348 * lexsup.c (ld_options): Add '--require-defined' entry.
349 (parse_args): Handle '--requre-defined' entry.
350 * NEWS: Mention new '--require-defined' option.
352 2015-08-03 Andrew Burgess <andrew.burgess@embecosm.com>
354 * ld.texinfo (MEMORY): Explain that multiple MEMORY commands are
357 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
359 * lexsup.c (parse_args): Don't set link_info.executable to
360 TRUE for link_info.relocatable.
362 2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
364 * configure: Regenerated.
366 2015-07-24 Nick Clifton <nickc@redhat.com>
368 * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for
369 the _-rl78_abs__ symbol.
371 2015-07-20 Alan Modra <amodra@gmail.com>
373 * emulparams/criself.sh (INIT_ADDR, FINI_ADDR): Define.
374 (INIT_START, FINI_START): Don't ALIGN.
375 * scriptempl/elf.sc (.init, .fini): Apply INIT_ADDR/FINI_ADDR.
377 2015-07-20 Alan Modra <amodra@gmail.com>
379 * scripttempl/elf.sc (.ldata, .bss): Align absolute value of dot.
380 * ldexp.c (is_align_conditional): Handle binary ALIGN.
381 (exp_fold_tree_1): Move code setting SEC_KEEP for assignments to
382 dot inside output sections. Handle absolute expressions.
384 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
386 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Make
387 --compress-debug-sections=zlib the same as
388 --compress-debug-sections=zlib-gabi.
389 * ld.texinfo: Change --compress-debug-sections=zlib to zlib-gabi.
391 2015-07-14 Nick Clifton <nickc@redhat.com>
393 * ld.texinfo (Options): Add missing period after @xref.
395 2015-07-10 Alan Modra <amodra@gmail.com>
397 * ldexp.c (align_dot_val): New function.
398 (fold_unary <ALIGN_K, NEXT>): Use it.
400 2015-07-03 Kai Tietz <ktietz@redhat.com>
403 * scripttempl/pep.sc: Mark .idata*, .CRT*, .tls*,
404 .rsrc*, .init, .ctor*, .dtor*, .fini, .jcr,
405 .eh_frame, .pdata. .xdata, and .gcc_except_table sections
407 * scripttempl/pe.sc: Likewise.
408 * ld.texinfo: Document that --gc-sections has experimental support
409 for COFF and PE targets.
410 * NEWS: Mention experimental support.
412 2015-07-03 Alan Modra <amodra@gmail.com>
414 * Makefile.am (eelf32or1k.c, eelf32or1k_linux.c): Depend on ELF_DEPS.
415 * Makefile.in: Regenerate.
417 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
419 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option):
420 Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB.
422 2015-06-26 H.J. Lu <hongjiu.lu@intel.com>
424 * emulparams/elf_iamcu.sh (COMPILE_IN): New.
426 2015-06-15 Nick Clifton <nickc@redhat.com>
429 * emultempl/pe.em (pe_find_data_imports): Generate an error if a
430 symbol name is too long to handle.
431 * emultempl/pep.em (pep_find_data_imports): Likewise.
433 2015-06-12 Tristan Gingold <gingold@adacore.com>
435 * NEWS: Mention new option.
436 * lexsup.c (parse_args): Handle --print-memory-usage.
437 (ld_options): Add --print-memory-usage.
438 * ldmain.c (main): Call lang_print_memory_usage.
439 * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE.
440 * ldlang.h: Add prototype of lang_print_memory_usage.
441 * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New
443 * ld.texinfo (Options): Document --print-memory-usage.
444 * ld.h (args_type): Add print_memory_usage field.
446 2015-06-08 Nick Clifton <nickc@redhat.com>
448 * po/fr.po: Updated French Translation.
450 2015-05-28 Catherine Moore <clm@codesourcery.com>
451 Paul Brook <paul@codesourcery.com>
453 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
454 Add Compact EH support.
455 * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab
458 2015-05-17 Chung-Lin Tang <cltang@codesourcery.com>
460 * configure.ac (AC_PROG_GREP): Check for grep program.
461 (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options):
462 Enable ELF option printing for emulations containing
463 'TEMPLATE_NAME=elf32'.
464 * configure: Regenerate.
466 2015-05-14 Nick Clifton <nickc@redhat.com>
468 * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd
471 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
473 * configure.tgt: Support i[3-7]86-*-elfiamcu target.
475 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
477 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c.
479 * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is
481 * Makefile.in: Regenerated.
482 * emulparams/elf_iamcu.sh: New file.
484 2015-05-05 Nick Clifton <nickc@redhat.com>
486 * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
487 * scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
488 (.data): Add .lower.data and .either.data.
489 (.bss): Add .lower.bss and .either.bss.
490 (.rodata): Add .lower.rodata and .either.rodata.
491 * emultempl/msp430.em: New file. Implements a new orphan
492 placement algorithm that divides sections between lower and upper
494 * Makefile.am (emsp430elf.c): Depend upon msp430.em.
495 *emsp430X.c): Likewise.
496 * Makefine.in: Regenerate.
498 2015-04-28 Andreas Schwab <schwab@linux-m68k.org>
501 * ldlex.l (INPUTLIST): Increment lineno on newline.
503 2015-04-24 Alan Modra <amodra@gmail.com>
505 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
506 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
508 2015-04-24 DJ Delorie <dj@redhat.com>
510 * Makefile.am (msp430): Rename primary emulation to msp430elf.
511 (emsp430.c): Rename to emsp430elf.c, update dependencies
512 (emsp430X.c): Update dependencies.
513 * Makefile.in: Likewise.
514 * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
515 * emulparams/msp430.sh: Rename to msp430elf.sh.
516 * emulparams/msp430X.sh: Update.
518 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
521 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
523 2015-04-23 Alan Modra <amodra@gmail.com>
525 * emulparams/elf64ppc.sh (GOT): Align.
527 2015-04-22 Alan Modra <amodra@gmail.com>
529 * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add
530 data_seg.relro_offset.
531 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
532 (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
533 * ldlang.c (lang_size_sections): Rewrite code adjusting relro
534 segment base to line up last section on page boundary.
536 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
539 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
541 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
543 * ld.texinfo: Document --compress-debug-sections=.
544 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
545 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd
546 for COMPRESS_DEBUG_GABI_ZLIB.
547 * lexsup.c (elf_static_list_options): Add
548 --compress-debug-sections=.
549 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
550 (xtra_long): Add "compress-debug-sections".
551 (gld${EMULATION_NAME}_handle_option): Handle
552 OPTION_COMPRESS_DEBUG.
554 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
557 * ld.texinfo: Document "-z noextern-protected-data".
558 * ldmain.c (main): Initialize link_info.extern_protected_data
560 * lexsup.c (elf_shlib_list_options): Add
561 "-z [no]extern-protected-data".
562 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
563 * emulparams/elf_i386.sh: Likewise.
564 * emulparams/elf_i386_be.sh: Likewise.
565 * emulparams/elf_i386_chaos.sh: Likewise.
566 * emulparams/elf_i386_ldso.sh: Likewise.
567 * emulparams/elf_i386_vxworks.sh: Likewise.
568 * emulparams/elf_k1om.sh: Likewise.
569 * emulparams/elf_l1om.sh: Likewise.
570 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
571 (PARSE_AND_LIST_OPTIONS): Renamed to ...
572 (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
573 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
574 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
575 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
576 (PARSE_AND_LIST_ARGS_CASE_Z): Append
577 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
578 * emulparams/extern_protected_data.sh: New file.
580 2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
582 * plugin.c (plugin_load_plugins): Removed an extra ';'.
584 2015-04-10 Nick Clifton <nickc@redhat.com>
587 * ld.texinfo (--be8): Add a note about the interaction of this
588 option with the assembler's -EB option.
590 2015-04-10 Alan Modra <amodra@gmail.com>
592 * configure.ac: Set elf_list_options etc. in proper case.
593 * configure: Regenerate.
595 2015-04-10 Alan Modra <amodra@gmail.com>
598 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
600 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
602 * emulparams/elf_x86_64.sh (BNDPLT): Removed.
603 (PARSE_AND_LIST_OPTIONS): New.
604 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
605 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
606 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z.
607 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
609 2015-04-09 Nick Clifton <nickc@redhat.com>
611 * po/fr.po: Updated French translation.
613 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
615 * configure.ac (elf_list_options): Set to TRUE for
616 --enable-targets=all.
617 (elf_shlib_list_options): Likewise.
618 (elf_plt_unwind_list_options): Likewise.
619 * configure: Regenerated.
621 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
623 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
625 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
627 * Makefile.am (ELF_CLFAGS): New.
628 (AM_CFLAGS): Add $(ELF_CLFAGS).
629 * configure.ac (elf_list_options): New. AC_SUBST.
630 (elf_shlib_list_options): Likewise.
631 (elf_plt_unwind_list_options): Likewise.
632 * lexsup.c (elf_shlib_list_options): New.
633 (elf_static_list_options): Likewise.
634 (elf_plt_unwind_list_options): Likewise.
635 (ld_list_options): Likewise.
636 (help): Call ld_list_options.
637 * Makefile.in: Regenerated.
638 * configure: Likewise.
639 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
640 (PARSE_AND_LIST_OPTIONS): Removed.
641 * emultempl/elf32.em (gld_list_options): New.
642 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
643 PARSE_AND_LIST_OPTIONS is defined.
644 (ld_${EMULATION_NAME}_emulation): Replace
645 gld${EMULATION_NAME}_list_options with ${gld_list_options.
647 2015-04-07 Alan Modra <amodra@gmail.com>
650 * ldlang.c (lang_size_sections): Cast shift expression.
652 2015-04-07 Alan Modra <amodra@gmail.com>
654 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
655 (params): Init new field.
656 (ppc_before_allocation): Enable relaxation for pic_fixup.
658 2015-04-07 Nick Clifton <nickc@redhat.com>
660 * ld.h (struct ld_config_type): Add new field: warn_orphan.
661 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
662 OPTION_NO_WARN_ORPHAN.
663 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
664 (parse_args): Handle the new options.
665 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
666 message when an orphan section is placed in the output file.
667 * ld.texinfo: Document the new option.
668 * NEWS: Mention the new feature.
670 2015-04-02 Andrew Turner <andrew@freebsd.org>
672 * Makefile.am: Add FreeBSD aarch64 files.
673 * Makefile.in: Regenerate.
674 * configure.tgt: Add aarch64-*-freebsd* target triple.
675 * emulparams/aarch64fbsd.sh: New file.
676 * emulparams/aarch64fbsdb.sh: New file.
678 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
680 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
681 around a GCC uninitialized warning bug fixed in GCC 4.6.
683 2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
685 * emultempl/aarch64elf.em
686 (aarch64_elf_create_output_section_statements): Add parameter in
687 bfd_elf${ELFSIZE}_aarch64_set_options call.
688 (OPTION_FIX_ERRATUM_843419): Define.
689 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
690 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
692 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
694 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
695 relocating operation.
697 2015-04-01 Alan Modra <amodra@gmail.com>
700 * ldlang.c (lang_size_sections): When alignment of sections
701 results in relro base adjustment being too large, don't go lower
702 than the initial value.
703 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
704 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
705 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
707 2015-04-01 Alan Modra <amodra@gmail.com>
709 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
710 init ehdr_start_save.
712 2015-04-01 Alan Modra <amodra@gmail.com>
714 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
716 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
717 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
718 eelf32ppcsim.c): Rearrange deps for consistency.
719 * Makefile.in: Regenerate.
721 2015-04-01 Ed Schouten <ed@nuxi.nl>
723 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
724 the ehdr_start_save variable.
726 2015-03-31 Ed Schouten <ed@nuxi.nl>
728 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
729 eelf_x86_64_cloudabi.c.
730 (eelf_x86_64_cloudabi.c): New.
731 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
733 * Makefile.in: Regenerated.
734 * emulparams/elf_x86_64_cloudabi.sh: New file.
736 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
738 * configure.ac (AM_ZLIB): Removed.
739 * Makefile.in: Regenerated.
740 * config.in: Likewise.
741 * configure: Likewise.
743 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
745 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
748 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
750 * emultempl/aarch64elf.em
751 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
753 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
755 * ldmain.c (main): Use %F instead of %X for einfo.
757 2015-03-02 Alan Modra <amodra@gmail.com>
759 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
761 2015-02-27 Nick Clifton <nickc@redhat.com>
764 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
765 sense of the following memory region attribute characters.
767 2015-02-27 Alan Modra <amodra@gmail.com>
769 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
770 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
771 eh8300sxelf_linux.c): Do not invoke genscripts here.
772 * Makefile.in: Regenerate.
774 2015-02-24 Nick Clifton <nickc@redhat.com>
776 * Makefile.am (ev850.c): Add dependency upon
777 $(srcdir)/emultempl/v850elf.em.
778 (ev850_rh850.c): Likewise.
779 * Makefile.in: Regenerate.
780 * emultempl/v850elf.em: New file.
781 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
782 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
783 * scripttempl/v850.sc: Add .note.renesas section.
784 * scripttempl/v850_rh850.sc: Likewise.
786 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
788 * scripttempl/avr.sc: Add new user_signatures region. Define and
789 use symbols for all region lengths.
790 * scripttempl/avrtiny.sc: Define and use symbols for all region
793 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
795 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
796 * Makefile.in: Regenerate.
797 * configure.tgt: Add h8300-*-linux
798 * emulparams/h8300elf_linux.sh: Add new emulation.
799 * emulparams/h8300helf_linux.sh: Likewise.
800 * emulparams/h8300self_linux.sh: Likewise.
801 * emulparams/h8300sxelf_linux.sh: Likewise.
803 2015-02-23 Nick Clifton <nickc@redhat.com>
805 * lexsup.c (parse_args): Produce a more reasonable error message
806 when -ixxx or -rxxx is the last option on the linker command line.
808 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
811 * testplug2.c (allsymbolsread_silent): New.
812 (set_register_hook): Handle allsymbolsreadsilent.
813 (onall_symbols_read): Skip a message if allsymbolsread_silent is
816 2015-02-14 Alan Modra <amodra@gmail.com>
819 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
820 * ldlang.c (lang_process): Don't set loading_lto_outputs.
821 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
823 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
825 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
827 * NEWS: Mention support for LLVM plugin.
829 2015-02-13 Alan Modra <amodra@gmail.com>
831 * ld.texinfo (Options <--defsym>): Correct cross reference.
833 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
835 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
836 option compatibility.
838 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
840 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
841 "error:" for LDPL_FATAL and LDPL_ERROR.
842 * testplug2.c (parse_option): Handle fatal, error and warning.
844 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
846 * testplug2.c (dump_tv_tag): Removed.
847 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
849 * testplug3.c (dump_tv_tag): Removed.
850 (onclaim_file): Fix typo.
852 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
855 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
857 (libldtestplug2_la_SOURCES): New.
858 (libldtestplug2_la_CFLAGS): Likewise.
859 (libldtestplug2_la_LDFLAGS): Likewise.
860 (libldtestplug3_la_SOURCES): New.
861 (libldtestplug3_la_CFLAGS): Likewise.
862 (libldtestplug3_la_LDFLAGS): Likewise.
863 * Makefile.in: Regenerated.
864 * testplug2.c: New file.
865 * testplug3.c: Likewise.
867 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
870 * plugin.c: Include ../bfd/plugin.h.
871 (plugin_get_ir_dummy_bfd): Call bfd_create with
872 link_info.output_bfd instead of srctemplate. Copy BFD info
873 from srctemplate only if it doesn't use BFD plugin target
875 (plugin_load_plugins): Call register_ld_plugin_object_p with
877 (plugin_maybe_claim): Renamed to ...
878 (plugin_object_p): This. Return dummy BFD target vector if
879 input is calimed by plugin library, otherwise return NULL.
880 Update plugin_format and plugin_dummy_bfd.
881 (plugin_maybe_claim): New. Use plugin_object_p.
883 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
885 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
887 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
889 * plugin.c (plugin_input_file_t): Add use_mmap.
890 (plugin_pagesize): New.
891 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
892 (plugin_load_plugins): Initialize plugin_pagesize.
893 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
896 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
898 * plugin.c (get_view): Align offset passed to mmap.
900 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
902 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
903 if plugin isn't active or there is no thing more to claim.
905 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
907 * plugin.c (plugin_maybe_claim): Check format against bfd_object
910 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
912 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
915 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
917 * plugin.c: Include "libbfd.h".
918 (plugin_strdup): New.
919 (plugin_maybe_claim): Remove the argument of pointer to struct
920 ld_plugin_input_file. Open and handle input entry.
921 * plugin.h (plugin_maybe_claim): Updated.
922 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
923 without passing a pointer to struct ld_plugin_input_file.
924 * ldmain.c: Don't include "libbfd.h".
925 (add_archive_element): Call plugin_maybe_claim directly without
926 passing a pointer to struct ld_plugin_input_file.
928 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
930 * ld.texinfo: Document -z text, -z notext and -z textoff.
931 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
932 -z text, -z notext and -z textoff.
934 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
936 * configure.ac: Add AC_FUNC_MMAP.
937 * config.in: Regenerated.
938 * configure: Likewise.
939 * plugin.c: Include <sys/mman.h>.
940 (MAP_FAILED): New. Defined if not defined.
941 (PROT_READ): Likewise.
942 (MAP_PRIVATE): Likewise.
943 (view_buffer_t): New.
944 (plugin_input_file_t): Add view_buffer.
945 (get_view): Try mmap and cache the view buffer.
946 (plugin_maybe_claim): Initialize view_buffer.
948 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
950 * plugin.c (release_input_file): Set fd to -1 after closing it.
951 (plugin_maybe_claim): Close fd only if fd != -1.
953 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
956 * plugin.c: Include <errno.h>.
957 (errno): New. Declare if needed.
958 (plugin_input_file_t): New.
959 (get_input_file): Implemented.
960 (get_view): Likewise.
961 (release_input_file): Likewise.
962 (add_symbols): Updated.
963 (get_symbols): Likewise.
964 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
965 only for a bfd_object input.
967 2015-02-02 Alan Modra <amodra@gmail.com>
969 * emultempl/ppc64elf.em (toc_section_name): New var.
970 (ppc_after_open): Set it.
971 (ppc_before_allocation): Use it.
972 (gld${EMULATION_NAME}_after_allocation): Here too.
974 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
976 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
977 with link_info.lto_plugin_active.
978 * ldlang.c (lang_process): Likewise.
979 * ldmain.c (add_archive_element): Likewise.
980 * plugin.c (plugin_active_plugins_p): Removed.
981 * plugin.h (plugin_active_plugins_p): Likewise.
983 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
985 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
987 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
989 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
992 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
993 (get_view): New function.
994 (set_tv_header): Handle LDPT_GET_VIEW.
995 * testplug.c (tag_names): Add LDPT_GET_VIEW.
997 (dump_tv_tag): Handle LDPT_GET_VIEW.
998 (parse_tv_tag): Likewise.
1000 2015-01-28 Alan Modra <amodra@gmail.com>
1002 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
1003 * emultempl/ppc64elf.em (params): Init new field.
1004 (ppc_after_open): New function.
1005 (LDEMUL_AFTER_OPEN): Define.
1006 * ldlang.c (lang_final): Whitespace fix.
1008 2015-01-28 James Bowman <james.bowman@ftdichip.com>
1010 * Makefile.am: Add FT32 files.
1011 * configure.tgt: Handle FT32 target.
1012 * emulparams/elf32ft32.sh: New file.
1013 * scripttempl/ft32.sc: New file.
1014 * Makefile.in: Regenerate.
1016 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1019 * ldexp.c (fold_name): Fold LENGTH only after
1020 lang_first_phase_enum.
1021 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
1023 * ldlang.h (struct memory_region_struct): Add origin_exp and
1025 * ldlang.c (lang_do_memory_regions): New.
1026 (lang_memory_region_lookup): Initialize origin_exp and
1028 (lang_process): Call lang_do_memory_regions.
1030 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
1032 * ldlang.c (print_assignment): Only evaluate the expression for a
1033 PROVIDE'd assignment when the destination is being defined.
1034 Display a special message for PROVIDE'd symbols that are not being
1037 2015-01-20 Alan Modra <amodra@gmail.com>
1039 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
1040 (OTHER_BSS_SYMBOLS): ..this.
1041 (OTHER_PLT_RELOC_SECTIONS): Don't define.
1042 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
1043 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
1044 (OTHER_RELRO_SECTIONS_2): ..here.
1045 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
1047 2015-01-20 Alan Modra <amodra@gmail.com>
1049 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
1050 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
1051 (OTHER_RELRO_SECTIONS_2): ..here.
1052 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
1053 PLT_BEFORE_GOT): Define.
1054 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
1055 PLT_BEFORE_GOT combination.
1056 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
1058 2015-01-20 Alan Modra <amodra@gmail.com>
1060 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
1061 (OTHER_RELRO_SECTIONS_2): ..here, new define.
1062 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
1064 2015-01-19 Alan Modra <amodra@gmail.com>
1067 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
1069 2015-01-14 Jiong Wang <jiong.wang@arm.com>
1071 * ld-arm/elf32-reject.s: New testcase.
1072 * ld-arm/elf32-reject.d: Likewise.
1073 * ld-arm/elf32-reject-pie.s: Likewise.
1074 * ld-arm/elf32-reject-pie.d: Likewise.
1075 * ld-arm/arm-elf.exp: Run new testcases.
1076 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
1077 * ld-arm/ifunc-7.rd: Likewise.
1078 * ld-arm/ifunc-7.gd: Likewise.
1079 * ld-arm/ifunc-7.dd: Likewise.
1080 * ld-arm/ifunc-8.s: Likewise.
1081 * ld-arm/ifunc-8.rd: Likewise.
1082 * ld-arm/ifunc-8.gd: Likewise.
1083 * ld-arm/ifunc-8.dd: Likewise.
1085 2015-01-01 Alan Modra <amodra@gmail.com>
1087 * ldver.c (ldversion): Just print current year.
1089 2015-01-01 Alan Modra <amodra@gmail.com>
1091 Update year range in copyright notice of all files.
1093 For older changes see ChangeLog-2014
1095 Copyright (C) 2015 Free Software Foundation, Inc.
1097 Copying and distribution of this file, with or without modification,
1098 are permitted in any medium without royalty provided the copyright
1099 notice and this notice are preserved.
1105 version-control: never