1 2015-11-20 Maciej W. Rozycki <macro@imgtec.com>
3 * configure.tgt <mips*el-mti-elf*, mips*el-img-elf*>: Add
6 2015-11-19 Alan Modra <amodra@gmail.com>
9 * ldlang.c (lang_size_sections): Don't ignore .tbss when
10 adjusting start of relro region.
12 2015-11-16 Nick Clifton <nickc@redhat.com>
15 * emultempl/armelf.em (_set_symbols): New function. Enables
16 relaxation for non-relocatable links.
17 (LDEMUL_SET_SYMBOLS): Define.
19 2015-11-13 Tristan Gingold <gingold@adacore.com>
21 * configure: Regenerate.
23 2015-11-13 Tristan Gingold <gingold@adacore.com>
25 * NEWS: Add marker for 2.26.
27 2015-11-05 Alan Modra <amodra@gmail.com>
29 * Makefile.in: Regenerate.
31 2015-11-05 Alan Modra <amodra@gmail.com>
34 * ld.texinfo (DATA_SEGMENT_ALIGN): Correct second expression.
36 2015-10-30 Nick Clifton <nickc@redhat.com>
38 * po/zh_CN.po: Updated (simplified) Chinese translation.
40 2015-10-29 Ed Schouten <ed@nuxi.nl>
42 * Makefile.am (ALL_64_EMULATION_SOURCES): Add support for
43 CloudABI on aarch64. For this target we have to make sure we use
44 ELFOSABI_CLOUDABI instead of ELFOSABI_NONE.
45 * configure.tgt (targ_emul): Likewise.
46 * emulparams/aarch64cloudabi.sh: New file.
47 * emulparams/aarch64cloudabib.sh: New file.
48 * Makefile.in: Regenerate.
50 2015-10-29 Nick Clifton <nickc@redhat.com>
53 * lexsup.c (parse_args): Correct error message for an option that
54 is missing its argument if that option is the last one on the
57 2015-10-29 Alan Modra <amodra@gmail.com>
60 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Pass
61 updated flags to lang_output_section_find_by_flags.
62 * emultempl/mmo.em (mmo_place_orphan): Merge flags for any
63 other input sections that might match a new output section to
65 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
66 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
67 * ldlang.c (lang_output_section_find_by_flags): Add sec_flags param.
68 * ldlang.h (lang_output_section_find_by_flags): Update prototype.
70 2015-10-29 Matthias Klose <doko@ubuntu.com>
72 * ld.texinfo (Options <-rpath>): Fix typo.
74 2015-10-28 Alan Modra <amodra@gmail.com>
77 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Check flags
78 before calling _bfd_elf_match_sections_by_type. Merge flags for
79 any other input sections that might match a new output section to
82 2015-10-27 Laurent Alfonsi <laurent.alfonsi@st.com>
83 Christophe Monat <christophe.monat@st.com>
85 * ld.texinfo: Add description of the STM32L4xx erratum
87 * NEWS: Mention the new feature.
88 * emultempl/armelf.em (stm32l4xx_fix): New.
89 (arm_elf_before_allocation): Choose the type of fix, scan for
91 (gld${EMULATION_NAME}_finish): Fix veneer locations.
92 (arm_elf_create_output_section_statements): Propagate
94 (PARSE_AND_LIST_PROLOGUE): Define OPTION_STM32L4XX_FIX.
95 (PARSE_AND_LIST_LONGOPTS): Add entry for handling
96 --fix-stm32l4xx-629360.
97 (PARSE_AND_LIST_OPTION): Add entry for helping on
98 --fix-stm32l4xx-629360.
99 (PARSE_AND_LIST_ARGS_CASES): Treat OPTION_STM32L4XX_FIX.
101 2015-10-27 Alan Modra <amodra@gmail.com>
104 * ldlang.c (lang_insert_orphan): Evaluate __start_* and __stop_*
105 symbol PROVIDE expressions.
106 * ldexp.c (exp_fold_tree_1 <etree_provide>): Define undefweak
109 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
111 * configure.ac: Properly check
112 --enable-compressed-debug-sections={yes,all}.
113 * configure: Regenerated.
115 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
118 * configure.ac: Handle --enable-compressed-debug-sections=*,ld,*.
119 * configure: Regenerated.
121 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
123 * ld/ld.texinfo: Document "-z call-nop=PADDING" option.
124 * emulparams/call_nop.sh: New file.
125 * emulparams/elf_i386_be.sh: Source
126 ${srcdir}/emulparams/call_nop.sh.
127 * emulparams/elf_i386_chaos.sh: Likewise.
128 * emulparams/elf_i386_ldso.sh: Likewise.
129 * emulparams/elf_i386_vxworks.sh: Likewise.
130 * emulparams/elf_iamcu.sh: Likewise.
131 * emulparams/elf_k1om.sh: Likewise.
132 * emulparams/elf_l1om.sh: Likewise.
133 * emulparams/elf_x86_64.sh: Likewise.
134 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
135 link_info.call_nop_byte if $CALL_NOP_BYTE isn't empty.
137 2015-10-21 Nick Clifton <nickc@redhat.com>
140 * configure.ac: Add --enable-compressed-debug-sections with
141 options of all, none or ld.
142 * configure: Regenerate.
143 * config.in: Regenerate.
144 * ld.texinfo: Document how to determine the default action for
146 * ldmain.c (main): If DEFAULT_FLAG_COMPRESS_DEBUG is defined then
147 set the compress_debug field of the link_info structure to
149 * lexsup.c (elf_static_list_options): Output the default setting
150 for the --compress-debug-sections option.
151 * NEWS: Mention the new configure option.
153 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
155 * ld.texinfo: Fix a typo for "-z noextern-protected-data".
157 2015-10-15 Simon Dardis <Simon.Dardis@imgtec.com>
159 * ld/ldexp.c: (try_copy_symbol_flags): New. Factored out from...
160 (exp_fold_tree_1): Here. Cope with ternary operator in
161 assignments. Use new helper.
163 2015-10-14 Nick Clifton <nickc@redhat.com>
165 * po/zh_TW.po: Updated Chinese translation.
167 2015-10-13 Nick Clifton <nickc@redhat.com>
169 * po/zh_TW.po: Updated Chinese translation.
171 2015-10-07 Claudiu Zissulescu <claziss@synopsys.com>
172 Cupertino Miranda <cmiranda@synopsys.com>
174 * configure.tgt: Added target arc-*-elf* and arc*-*-linux-uclibc*.
175 * emulparams/arcebelf_prof.sh: New file
176 * emulparams/arcebelf.sh: Likewise.
177 * emulparams/arceblinux_prof.sh: Likewise.
178 * emulparams/arceblinux.sh: Likewise.
179 * emulparams/arcelf_prof.sh: Likewise.
180 * emulparams/arcelf.sh: Likewise.
181 * emulparams/arclinux_prof.sh: Likewise.
182 * emulparams/arclinux.sh: Likewise.
183 * emulparams/arcv2elfx.sh: Likewise.
184 * emulparams/arcv2elf.sh: Likewise.
185 * emultempl/arclinux.em: Likewise.
186 * scripttempl/arclinux.sc: Likewise.
187 * scripttempl/elfarc.sc: Likewise.
188 * scripttempl/elfarcv2.sc: Likewise
189 * Makefile.am: Add new ARC emulations.
190 * Makefile.in: Regenerate.
191 * NEWS: Mention the new feature.
193 2015-10-04 H.J. Lu <hongjiu.lu@intel.com>
195 * configure.tgt (targ_extra_emuls): Add elf_iamcu for Solaris2/x86.
197 2015-10-01 Kaz Kojima <kkojima@rr.iij4u.or.jp>
199 * configure.tgt (targ_extra_emuls): Remove shlelf and
200 shelf from sh*-*-linux cases.
202 2015-09-30 Rich Felker <dalias@libc.org>
204 * configure.tgt (targ_extra_emuls): Add fdpic and misc
205 emulations to sh*-*-linux* targets.
207 2015-09-29 Nick Clifton <nickc@redhat.com>
210 * ld.texinfo (Options): Fix spelling mistake.
212 2015-09-24 Alan Modra <amodra@gmail.com>
215 * ldmain.c (main): Always enable --sysroot.
216 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
217 prepend sysroot to relative rpath/runpath.
219 2015-09-23 Nick Clifton <nickc@redhat.com>
221 * emultempl/elf32.em (ehdr_start_empty): New static variable.
222 (before_allocation): Use it to initialise ehdr_start_save.
223 * emultempl/pe.em (write_build_id): Remove useless double
225 * emultempl/pep.em (write_build_id): Likewise.
227 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
229 * emultempl/alphaelf.em (alpha_after_parse): Call
230 gld${EMULATION_NAME}_after_parse instead of
232 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
233 * emultempl/crxelf.em (crxelf_after_parse); Likewise.
234 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
235 * emultempl/mipself.em (mips_after_parse): Likewise.
236 * emultempl/nds32elf.em (nds32_elf_after_parse): Likewise.
237 * emultempl/elf32.em: Don't include ldlex.h.
238 (gld${EMULATION_NAME}_after_parse): New function.
239 (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT]
240 <OPTION_PIE>: Removed.
241 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default
242 with gld${EMULATION_NAME}_after_parse.
243 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse):
245 (ia64elf_after_parse): This. Call
246 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
247 (LDEMUL_AFTER_PARSE): Replace gld${EMULATION_NAME}_after_parse
248 with ia64elf_after_parse.
250 2015-09-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
252 * emulparams/solaris2.sh (GENERATE_PIE_SCRIPT): Set to yes.
254 * emultempl/elf32.em: Include ldlex.h.
255 (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT]
256 <OPTION_PIE>: Set DF_1_PIE.
258 2015-09-22 Alan Modra <amodra@gmail.com>
260 * ld.texinfo: Put --dotsyms/--no-dotsyms on separate lines.
261 Ditto for --save-restore-funcs and --tls-get-addr-optimize.
263 2015-09-20 Rich Felker <dalias@libc.org>
265 * ld.texinfo (--no-dynamic-linker): Document.
266 * ldlex.h (enum option_values): Add OPTION_NO_DYNAMIC_LINKER.
267 * lexsup.c (ld_options, parse_args): Handle --no-dynamic-linker.
269 2015-09-18 Alan Modra <amodra@gmail.com>
271 * ld.texinfo: Document PowerPC64 --{no-,}save-restore-funcs.
273 2015-09-18 Alan Modra <amodra@gmail.com>
275 * emultempl/ppc64elf.em (params): Init tls_get_addr_opt field to -1.
276 (OPTION_TLS_GET_ADDR_OPT): Define.
277 (PARSE_AND_LIST_LONGOPTS): Handle --tls-get-addr-opt.
278 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
279 * ld.texinfo: Document --tls-get-addr-optimize and
280 --no-tls-get-addr-optimize.
282 2015-09-18 Alan Modra <amodra@gmail.com>
285 * ldexp.h (struct ldexp_control): Add rel_from_abs.
286 (ldexp_finalize_syms): Declare.
287 * ldexp.c (new_rel_from_abs): Keep absolute for expressions
288 outside of output section statements. Set rel_from_abs.
289 (make_abs, exp_fold_tree, exp_fold_tree_no_dot): Clear rel_from_abs.
290 (struct definedness_hash_entry): Add final_sec, and comment.
291 (update_definedness): Set final_sec.
292 (set_sym_sections, ldexp_finalize_syms): New functions.
293 * ldlang.c (lang_process): Call ldexp_finalize_syms.
295 2015-09-10 Nick Clifton <nickc@redhat.com>
297 * po/zh_CN.po: Updated simplified Chinese translation.
299 2015-09-09 James Bowman <james.bowman@ftdichip.com>
301 * scripttempl/ft32.sc: default linker script RAM and
304 2015-09-09 Nick Clifton <nickc@redhat.com>
306 * po/zh_CN.po: Updated simplified Chinese translation.
308 2015-09-08 Nick Clifton <nickc@redhat.com>
310 * ld.texinfo (Source Code Reference): Extend description to
311 include an example using arrays.
313 2015-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
315 * ld.h (enum orphan_handling_enum): New.
316 (ld_config_type): Remove warn_orphan, add orphan_handling.
317 * ldemul.c (ldemul_place_orphan): Remove warning about orphan
319 * ldlang.c (ldlang_place_orphan): New function.
320 (lang_place_orphans): Call ldlang_place_orphan.
321 * ldlex.h (enum option_values): Remove OPTION_WARN_ORPHAN and
322 OPTION_NO_WARN_ORPHAN, add OPTION_ORPHAN_HANDLING.
323 * lexsup.c (ld_options): Remove 'warn-orphan' and
324 'no-warn-orphan', add 'orphan-handling'.
325 (parse_args): Remove handling for OPTION_WARN_ORPHAN and
326 OPTION_NO_WARN_ORPHAN, add handling for OPTION_ORPHAN_HANDLING.
327 * NEWS: Replace text about --warn-orphan with --orphan-handling.
328 * ld.texinfo (Options): Remove --warn-orphan entry and add
329 entry on --orphan-handling.
330 (Orphan Sections): Add reference to relevant command line options.
332 2015-09-03 Nick Clifton <nickc@redhat.com>
334 * ld.texinfo (--build-id): Fix typo. The COFF/PE build-id section
335 is called .buildid not .build-id.
337 2015-09-03 Nick Clifton <nickc@redhat.com>
339 (Source Code Reference): Fix off-by-one typo in example of how to
340 use linker script symbols in C source code.
342 2015-08-19 Alan Modra <amodra@gmail.com>
344 * emultempl/aix.em: Don't set link_info.pic.
345 * emultempl/pe.em: Likewise.
346 * emultempl/pep.em: Likewise.
347 * emultempl/sunos.em: Likewise.
348 * lexsup.c (parse_args): Likewise. Set type_pie for -pie.
349 * plugin.c (set_tv_header <LDPT_LINKER_OUTPUT>): Simplify.
351 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
353 * ld/ldctor.c: Replace shared, executable, relocatable and pie
354 fields with bfd_link_executable, bfd_link_dll,
355 bfd_link_relocatable, bfd_link_pic and bfd_link_pie.
356 * ld/ldemul.c: Likewise.
357 * ld/ldfile.c: Likewise.
358 * ld/ldlang.c: Likewise.
359 * ld/ldmain.c: Likewise.
360 * ld/ldwrite.c: Likewise.
361 * ld/lexsup.c: Likewise.
362 * ld/pe-dll.c: Likewise.
363 * ld/plugin.c: Likewise.
364 * ld/emultempl/aarch64elf.em: Likewise.
365 * ld/emultempl/aix.em: Likewise.
366 * ld/emultempl/alphaelf.em: Likewise.
367 * ld/emultempl/armcoff.em: Likewise.
368 * ld/emultempl/armelf.em: Likewise.
369 * ld/emultempl/avrelf.em: Likewise.
370 * ld/emultempl/beos.em: Likewise.
371 * ld/emultempl/cr16elf.em: Likewise.
372 * ld/emultempl/elf-generic.em: Likewise.
373 * ld/emultempl/elf32.em: Likewise.
374 * ld/emultempl/genelf.em: Likewise.
375 * ld/emultempl/generic.em: Likewise.
376 * ld/emultempl/gld960.em: Likewise.
377 * ld/emultempl/gld960c.em: Likewise.
378 * ld/emultempl/hppaelf.em: Likewise.
379 * ld/emultempl/irix.em: Likewise.
380 * ld/emultempl/linux.em: Likewise.
381 * ld/emultempl/lnk960.em: Likewise.
382 * ld/emultempl/m68hc1xelf.em: Likewise.
383 * ld/emultempl/m68kcoff.em: Likewise.
384 * ld/emultempl/m68kelf.em: Likewise.
385 * ld/emultempl/metagelf.em: Likewise.
386 * ld/emultempl/mipself.em: Likewise.
387 * ld/emultempl/mmo.em: Likewise.
388 * ld/emultempl/msp430.em: Likewise.
389 * ld/emultempl/nds32elf.em: Likewise.
390 * ld/emultempl/needrelax.em: Likewise.
391 * ld/emultempl/nios2elf.em: Likewise.
392 * ld/emultempl/pe.em: Likewise.
393 * ld/emultempl/pep.em: Likewise.
394 * ld/emultempl/ppc32elf.em: Likewise.
395 * ld/emultempl/ppc64elf.em: Likewise.
396 * ld/emultempl/sh64elf.em: Likewise.
397 * ld/emultempl/solaris2.em: Likewise.
398 * ld/emultempl/spuelf.em: Likewise.
399 * ld/emultempl/sunos.em: Likewise.
400 * ld/emultempl/tic6xdsbt.em: Likewise.
401 * ld/emultempl/ticoff.em: Likewise.
402 * ld/emultempl/v850elf.em: Likewise.
403 * ld/emultempl/vms.em: Likewise.
404 * ld/emultempl/vxworks.em: Likewise.
406 2015-08-18 Alan Modra <amodra@gmail.com>
408 * ldexp.c (exp_fold_tree_1): Clear linker_def on symbol assignment.
410 2015-08-06 Alan Modra <amodra@gmail.com>
412 * ldexp.c (align_dot_val): Delete.
413 (fold_unary <ALIGN_K, NEXT>): Revert 2015-07-10 change.
414 (is_align_conditional): Revert 2015-07-20 change.
415 (exp_fold_tree_1): Likewise, but keep expanded comment.
416 * scripttempl/elf.sc (.ldata, .bss): Revert 2015-07-20 change.
417 * ld.texinfo (<ALIGN>): Correct description.
419 2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
421 * ld.texinfo (Options): Document --require-defined option.
422 * ldlang.c (struct require_defined_symbol): New structure.
423 (require_defined_symbol_list): New variable.
424 (ldlang_add_require_defined): New function.
425 (ldlang_check_require_defined_symbols): New function.
426 (lang_process): Check required symbols are defined.
427 * ldlang.h (ldlang_add_require_defined): Declare.
428 * ldlex.h (enum option_values): Add OPTION_REQUIRE_DEFINED_SYMBOL.
429 * lexsup.c (ld_options): Add '--require-defined' entry.
430 (parse_args): Handle '--requre-defined' entry.
431 * NEWS: Mention new '--require-defined' option.
433 2015-08-03 Andrew Burgess <andrew.burgess@embecosm.com>
435 * ld.texinfo (MEMORY): Explain that multiple MEMORY commands are
438 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
440 * lexsup.c (parse_args): Don't set link_info.executable to
441 TRUE for link_info.relocatable.
443 2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
445 * configure: Regenerated.
447 2015-07-24 Nick Clifton <nickc@redhat.com>
449 * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for
450 the _-rl78_abs__ symbol.
452 2015-07-20 Alan Modra <amodra@gmail.com>
454 * emulparams/criself.sh (INIT_ADDR, FINI_ADDR): Define.
455 (INIT_START, FINI_START): Don't ALIGN.
456 * scriptempl/elf.sc (.init, .fini): Apply INIT_ADDR/FINI_ADDR.
458 2015-07-20 Alan Modra <amodra@gmail.com>
460 * scripttempl/elf.sc (.ldata, .bss): Align absolute value of dot.
461 * ldexp.c (is_align_conditional): Handle binary ALIGN.
462 (exp_fold_tree_1): Move code setting SEC_KEEP for assignments to
463 dot inside output sections. Handle absolute expressions.
465 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
467 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Make
468 --compress-debug-sections=zlib the same as
469 --compress-debug-sections=zlib-gabi.
470 * ld.texinfo: Change --compress-debug-sections=zlib to zlib-gabi.
472 2015-07-14 Nick Clifton <nickc@redhat.com>
474 * ld.texinfo (Options): Add missing period after @xref.
476 2015-07-10 Alan Modra <amodra@gmail.com>
478 * ldexp.c (align_dot_val): New function.
479 (fold_unary <ALIGN_K, NEXT>): Use it.
481 2015-07-03 Kai Tietz <ktietz@redhat.com>
484 * scripttempl/pep.sc: Mark .idata*, .CRT*, .tls*,
485 .rsrc*, .init, .ctor*, .dtor*, .fini, .jcr,
486 .eh_frame, .pdata. .xdata, and .gcc_except_table sections
488 * scripttempl/pe.sc: Likewise.
489 * ld.texinfo: Document that --gc-sections has experimental support
490 for COFF and PE targets.
491 * NEWS: Mention experimental support.
493 2015-07-03 Alan Modra <amodra@gmail.com>
495 * Makefile.am (eelf32or1k.c, eelf32or1k_linux.c): Depend on ELF_DEPS.
496 * Makefile.in: Regenerate.
498 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
500 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option):
501 Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB.
503 2015-06-26 H.J. Lu <hongjiu.lu@intel.com>
505 * emulparams/elf_iamcu.sh (COMPILE_IN): New.
507 2015-06-15 Nick Clifton <nickc@redhat.com>
510 * emultempl/pe.em (pe_find_data_imports): Generate an error if a
511 symbol name is too long to handle.
512 * emultempl/pep.em (pep_find_data_imports): Likewise.
514 2015-06-12 Tristan Gingold <gingold@adacore.com>
516 * NEWS: Mention new option.
517 * lexsup.c (parse_args): Handle --print-memory-usage.
518 (ld_options): Add --print-memory-usage.
519 * ldmain.c (main): Call lang_print_memory_usage.
520 * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE.
521 * ldlang.h: Add prototype of lang_print_memory_usage.
522 * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New
524 * ld.texinfo (Options): Document --print-memory-usage.
525 * ld.h (args_type): Add print_memory_usage field.
527 2015-06-08 Nick Clifton <nickc@redhat.com>
529 * po/fr.po: Updated French Translation.
531 2015-05-28 Catherine Moore <clm@codesourcery.com>
532 Paul Brook <paul@codesourcery.com>
534 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
535 Add Compact EH support.
536 * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab
539 2015-05-17 Chung-Lin Tang <cltang@codesourcery.com>
541 * configure.ac (AC_PROG_GREP): Check for grep program.
542 (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options):
543 Enable ELF option printing for emulations containing
544 'TEMPLATE_NAME=elf32'.
545 * configure: Regenerate.
547 2015-05-14 Nick Clifton <nickc@redhat.com>
549 * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd
552 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
554 * configure.tgt: Support i[3-7]86-*-elfiamcu target.
556 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
558 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c.
560 * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is
562 * Makefile.in: Regenerated.
563 * emulparams/elf_iamcu.sh: New file.
565 2015-05-05 Nick Clifton <nickc@redhat.com>
567 * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
568 * scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
569 (.data): Add .lower.data and .either.data.
570 (.bss): Add .lower.bss and .either.bss.
571 (.rodata): Add .lower.rodata and .either.rodata.
572 * emultempl/msp430.em: New file. Implements a new orphan
573 placement algorithm that divides sections between lower and upper
575 * Makefile.am (emsp430elf.c): Depend upon msp430.em.
576 *emsp430X.c): Likewise.
577 * Makefine.in: Regenerate.
579 2015-04-28 Andreas Schwab <schwab@linux-m68k.org>
582 * ldlex.l (INPUTLIST): Increment lineno on newline.
584 2015-04-24 Alan Modra <amodra@gmail.com>
586 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
587 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
589 2015-04-24 DJ Delorie <dj@redhat.com>
591 * Makefile.am (msp430): Rename primary emulation to msp430elf.
592 (emsp430.c): Rename to emsp430elf.c, update dependencies
593 (emsp430X.c): Update dependencies.
594 * Makefile.in: Likewise.
595 * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
596 * emulparams/msp430.sh: Rename to msp430elf.sh.
597 * emulparams/msp430X.sh: Update.
599 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
602 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
604 2015-04-23 Alan Modra <amodra@gmail.com>
606 * emulparams/elf64ppc.sh (GOT): Align.
608 2015-04-22 Alan Modra <amodra@gmail.com>
610 * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add
611 data_seg.relro_offset.
612 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
613 (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
614 * ldlang.c (lang_size_sections): Rewrite code adjusting relro
615 segment base to line up last section on page boundary.
617 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
620 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
622 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
624 * ld.texinfo: Document --compress-debug-sections=.
625 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
626 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd
627 for COMPRESS_DEBUG_GABI_ZLIB.
628 * lexsup.c (elf_static_list_options): Add
629 --compress-debug-sections=.
630 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
631 (xtra_long): Add "compress-debug-sections".
632 (gld${EMULATION_NAME}_handle_option): Handle
633 OPTION_COMPRESS_DEBUG.
635 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
638 * ld.texinfo: Document "-z noextern-protected-data".
639 * ldmain.c (main): Initialize link_info.extern_protected_data
641 * lexsup.c (elf_shlib_list_options): Add
642 "-z [no]extern-protected-data".
643 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
644 * emulparams/elf_i386.sh: Likewise.
645 * emulparams/elf_i386_be.sh: Likewise.
646 * emulparams/elf_i386_chaos.sh: Likewise.
647 * emulparams/elf_i386_ldso.sh: Likewise.
648 * emulparams/elf_i386_vxworks.sh: Likewise.
649 * emulparams/elf_k1om.sh: Likewise.
650 * emulparams/elf_l1om.sh: Likewise.
651 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
652 (PARSE_AND_LIST_OPTIONS): Renamed to ...
653 (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
654 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
655 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
656 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
657 (PARSE_AND_LIST_ARGS_CASE_Z): Append
658 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
659 * emulparams/extern_protected_data.sh: New file.
661 2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
663 * plugin.c (plugin_load_plugins): Removed an extra ';'.
665 2015-04-10 Nick Clifton <nickc@redhat.com>
668 * ld.texinfo (--be8): Add a note about the interaction of this
669 option with the assembler's -EB option.
671 2015-04-10 Alan Modra <amodra@gmail.com>
673 * configure.ac: Set elf_list_options etc. in proper case.
674 * configure: Regenerate.
676 2015-04-10 Alan Modra <amodra@gmail.com>
679 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
681 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
683 * emulparams/elf_x86_64.sh (BNDPLT): Removed.
684 (PARSE_AND_LIST_OPTIONS): New.
685 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
686 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
687 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z.
688 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
690 2015-04-09 Nick Clifton <nickc@redhat.com>
692 * po/fr.po: Updated French translation.
694 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
696 * configure.ac (elf_list_options): Set to TRUE for
697 --enable-targets=all.
698 (elf_shlib_list_options): Likewise.
699 (elf_plt_unwind_list_options): Likewise.
700 * configure: Regenerated.
702 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
704 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
706 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
708 * Makefile.am (ELF_CLFAGS): New.
709 (AM_CFLAGS): Add $(ELF_CLFAGS).
710 * configure.ac (elf_list_options): New. AC_SUBST.
711 (elf_shlib_list_options): Likewise.
712 (elf_plt_unwind_list_options): Likewise.
713 * lexsup.c (elf_shlib_list_options): New.
714 (elf_static_list_options): Likewise.
715 (elf_plt_unwind_list_options): Likewise.
716 (ld_list_options): Likewise.
717 (help): Call ld_list_options.
718 * Makefile.in: Regenerated.
719 * configure: Likewise.
720 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
721 (PARSE_AND_LIST_OPTIONS): Removed.
722 * emultempl/elf32.em (gld_list_options): New.
723 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
724 PARSE_AND_LIST_OPTIONS is defined.
725 (ld_${EMULATION_NAME}_emulation): Replace
726 gld${EMULATION_NAME}_list_options with ${gld_list_options.
728 2015-04-07 Alan Modra <amodra@gmail.com>
731 * ldlang.c (lang_size_sections): Cast shift expression.
733 2015-04-07 Alan Modra <amodra@gmail.com>
735 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
736 (params): Init new field.
737 (ppc_before_allocation): Enable relaxation for pic_fixup.
739 2015-04-07 Nick Clifton <nickc@redhat.com>
741 * ld.h (struct ld_config_type): Add new field: warn_orphan.
742 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
743 OPTION_NO_WARN_ORPHAN.
744 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
745 (parse_args): Handle the new options.
746 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
747 message when an orphan section is placed in the output file.
748 * ld.texinfo: Document the new option.
749 * NEWS: Mention the new feature.
751 2015-04-02 Andrew Turner <andrew@freebsd.org>
753 * Makefile.am: Add FreeBSD aarch64 files.
754 * Makefile.in: Regenerate.
755 * configure.tgt: Add aarch64-*-freebsd* target triple.
756 * emulparams/aarch64fbsd.sh: New file.
757 * emulparams/aarch64fbsdb.sh: New file.
759 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
761 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
762 around a GCC uninitialized warning bug fixed in GCC 4.6.
764 2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
766 * emultempl/aarch64elf.em
767 (aarch64_elf_create_output_section_statements): Add parameter in
768 bfd_elf${ELFSIZE}_aarch64_set_options call.
769 (OPTION_FIX_ERRATUM_843419): Define.
770 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
771 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
773 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
775 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
776 relocating operation.
778 2015-04-01 Alan Modra <amodra@gmail.com>
781 * ldlang.c (lang_size_sections): When alignment of sections
782 results in relro base adjustment being too large, don't go lower
783 than the initial value.
784 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
785 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
786 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
788 2015-04-01 Alan Modra <amodra@gmail.com>
790 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
791 init ehdr_start_save.
793 2015-04-01 Alan Modra <amodra@gmail.com>
795 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
797 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
798 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
799 eelf32ppcsim.c): Rearrange deps for consistency.
800 * Makefile.in: Regenerate.
802 2015-04-01 Ed Schouten <ed@nuxi.nl>
804 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
805 the ehdr_start_save variable.
807 2015-03-31 Ed Schouten <ed@nuxi.nl>
809 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
810 eelf_x86_64_cloudabi.c.
811 (eelf_x86_64_cloudabi.c): New.
812 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
814 * Makefile.in: Regenerated.
815 * emulparams/elf_x86_64_cloudabi.sh: New file.
817 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
819 * configure.ac (AM_ZLIB): Removed.
820 * Makefile.in: Regenerated.
821 * config.in: Likewise.
822 * configure: Likewise.
824 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
826 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
829 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
831 * emultempl/aarch64elf.em
832 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
834 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
836 * ldmain.c (main): Use %F instead of %X for einfo.
838 2015-03-02 Alan Modra <amodra@gmail.com>
840 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
842 2015-02-27 Nick Clifton <nickc@redhat.com>
845 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
846 sense of the following memory region attribute characters.
848 2015-02-27 Alan Modra <amodra@gmail.com>
850 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
851 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
852 eh8300sxelf_linux.c): Do not invoke genscripts here.
853 * Makefile.in: Regenerate.
855 2015-02-24 Nick Clifton <nickc@redhat.com>
857 * Makefile.am (ev850.c): Add dependency upon
858 $(srcdir)/emultempl/v850elf.em.
859 (ev850_rh850.c): Likewise.
860 * Makefile.in: Regenerate.
861 * emultempl/v850elf.em: New file.
862 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
863 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
864 * scripttempl/v850.sc: Add .note.renesas section.
865 * scripttempl/v850_rh850.sc: Likewise.
867 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
869 * scripttempl/avr.sc: Add new user_signatures region. Define and
870 use symbols for all region lengths.
871 * scripttempl/avrtiny.sc: Define and use symbols for all region
874 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
876 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
877 * Makefile.in: Regenerate.
878 * configure.tgt: Add h8300-*-linux
879 * emulparams/h8300elf_linux.sh: Add new emulation.
880 * emulparams/h8300helf_linux.sh: Likewise.
881 * emulparams/h8300self_linux.sh: Likewise.
882 * emulparams/h8300sxelf_linux.sh: Likewise.
884 2015-02-23 Nick Clifton <nickc@redhat.com>
886 * lexsup.c (parse_args): Produce a more reasonable error message
887 when -ixxx or -rxxx is the last option on the linker command line.
889 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
892 * testplug2.c (allsymbolsread_silent): New.
893 (set_register_hook): Handle allsymbolsreadsilent.
894 (onall_symbols_read): Skip a message if allsymbolsread_silent is
897 2015-02-14 Alan Modra <amodra@gmail.com>
900 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
901 * ldlang.c (lang_process): Don't set loading_lto_outputs.
902 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
904 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
906 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
908 * NEWS: Mention support for LLVM plugin.
910 2015-02-13 Alan Modra <amodra@gmail.com>
912 * ld.texinfo (Options <--defsym>): Correct cross reference.
914 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
916 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
917 option compatibility.
919 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
921 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
922 "error:" for LDPL_FATAL and LDPL_ERROR.
923 * testplug2.c (parse_option): Handle fatal, error and warning.
925 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
927 * testplug2.c (dump_tv_tag): Removed.
928 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
930 * testplug3.c (dump_tv_tag): Removed.
931 (onclaim_file): Fix typo.
933 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
936 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
938 (libldtestplug2_la_SOURCES): New.
939 (libldtestplug2_la_CFLAGS): Likewise.
940 (libldtestplug2_la_LDFLAGS): Likewise.
941 (libldtestplug3_la_SOURCES): New.
942 (libldtestplug3_la_CFLAGS): Likewise.
943 (libldtestplug3_la_LDFLAGS): Likewise.
944 * Makefile.in: Regenerated.
945 * testplug2.c: New file.
946 * testplug3.c: Likewise.
948 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
951 * plugin.c: Include ../bfd/plugin.h.
952 (plugin_get_ir_dummy_bfd): Call bfd_create with
953 link_info.output_bfd instead of srctemplate. Copy BFD info
954 from srctemplate only if it doesn't use BFD plugin target
956 (plugin_load_plugins): Call register_ld_plugin_object_p with
958 (plugin_maybe_claim): Renamed to ...
959 (plugin_object_p): This. Return dummy BFD target vector if
960 input is calimed by plugin library, otherwise return NULL.
961 Update plugin_format and plugin_dummy_bfd.
962 (plugin_maybe_claim): New. Use plugin_object_p.
964 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
966 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
968 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
970 * plugin.c (plugin_input_file_t): Add use_mmap.
971 (plugin_pagesize): New.
972 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
973 (plugin_load_plugins): Initialize plugin_pagesize.
974 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
977 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
979 * plugin.c (get_view): Align offset passed to mmap.
981 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
983 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
984 if plugin isn't active or there is no thing more to claim.
986 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
988 * plugin.c (plugin_maybe_claim): Check format against bfd_object
991 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
993 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
996 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
998 * plugin.c: Include "libbfd.h".
999 (plugin_strdup): New.
1000 (plugin_maybe_claim): Remove the argument of pointer to struct
1001 ld_plugin_input_file. Open and handle input entry.
1002 * plugin.h (plugin_maybe_claim): Updated.
1003 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
1004 without passing a pointer to struct ld_plugin_input_file.
1005 * ldmain.c: Don't include "libbfd.h".
1006 (add_archive_element): Call plugin_maybe_claim directly without
1007 passing a pointer to struct ld_plugin_input_file.
1009 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
1011 * ld.texinfo: Document -z text, -z notext and -z textoff.
1012 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
1013 -z text, -z notext and -z textoff.
1015 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
1017 * configure.ac: Add AC_FUNC_MMAP.
1018 * config.in: Regenerated.
1019 * configure: Likewise.
1020 * plugin.c: Include <sys/mman.h>.
1021 (MAP_FAILED): New. Defined if not defined.
1022 (PROT_READ): Likewise.
1023 (MAP_PRIVATE): Likewise.
1024 (view_buffer_t): New.
1025 (plugin_input_file_t): Add view_buffer.
1026 (get_view): Try mmap and cache the view buffer.
1027 (plugin_maybe_claim): Initialize view_buffer.
1029 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
1031 * plugin.c (release_input_file): Set fd to -1 after closing it.
1032 (plugin_maybe_claim): Close fd only if fd != -1.
1034 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
1037 * plugin.c: Include <errno.h>.
1038 (errno): New. Declare if needed.
1039 (plugin_input_file_t): New.
1040 (get_input_file): Implemented.
1041 (get_view): Likewise.
1042 (release_input_file): Likewise.
1043 (add_symbols): Updated.
1044 (get_symbols): Likewise.
1045 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
1046 only for a bfd_object input.
1048 2015-02-02 Alan Modra <amodra@gmail.com>
1050 * emultempl/ppc64elf.em (toc_section_name): New var.
1051 (ppc_after_open): Set it.
1052 (ppc_before_allocation): Use it.
1053 (gld${EMULATION_NAME}_after_allocation): Here too.
1055 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
1057 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
1058 with link_info.lto_plugin_active.
1059 * ldlang.c (lang_process): Likewise.
1060 * ldmain.c (add_archive_element): Likewise.
1061 * plugin.c (plugin_active_plugins_p): Removed.
1062 * plugin.h (plugin_active_plugins_p): Likewise.
1064 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
1066 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
1068 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
1070 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
1073 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
1074 (get_view): New function.
1075 (set_tv_header): Handle LDPT_GET_VIEW.
1076 * testplug.c (tag_names): Add LDPT_GET_VIEW.
1078 (dump_tv_tag): Handle LDPT_GET_VIEW.
1079 (parse_tv_tag): Likewise.
1081 2015-01-28 Alan Modra <amodra@gmail.com>
1083 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
1084 * emultempl/ppc64elf.em (params): Init new field.
1085 (ppc_after_open): New function.
1086 (LDEMUL_AFTER_OPEN): Define.
1087 * ldlang.c (lang_final): Whitespace fix.
1089 2015-01-28 James Bowman <james.bowman@ftdichip.com>
1091 * Makefile.am: Add FT32 files.
1092 * configure.tgt: Handle FT32 target.
1093 * emulparams/elf32ft32.sh: New file.
1094 * scripttempl/ft32.sc: New file.
1095 * Makefile.in: Regenerate.
1097 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1100 * ldexp.c (fold_name): Fold LENGTH only after
1101 lang_first_phase_enum.
1102 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
1104 * ldlang.h (struct memory_region_struct): Add origin_exp and
1106 * ldlang.c (lang_do_memory_regions): New.
1107 (lang_memory_region_lookup): Initialize origin_exp and
1109 (lang_process): Call lang_do_memory_regions.
1111 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
1113 * ldlang.c (print_assignment): Only evaluate the expression for a
1114 PROVIDE'd assignment when the destination is being defined.
1115 Display a special message for PROVIDE'd symbols that are not being
1118 2015-01-20 Alan Modra <amodra@gmail.com>
1120 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
1121 (OTHER_BSS_SYMBOLS): ..this.
1122 (OTHER_PLT_RELOC_SECTIONS): Don't define.
1123 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
1124 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
1125 (OTHER_RELRO_SECTIONS_2): ..here.
1126 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
1128 2015-01-20 Alan Modra <amodra@gmail.com>
1130 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
1131 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
1132 (OTHER_RELRO_SECTIONS_2): ..here.
1133 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
1134 PLT_BEFORE_GOT): Define.
1135 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
1136 PLT_BEFORE_GOT combination.
1137 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
1139 2015-01-20 Alan Modra <amodra@gmail.com>
1141 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
1142 (OTHER_RELRO_SECTIONS_2): ..here, new define.
1143 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
1145 2015-01-19 Alan Modra <amodra@gmail.com>
1148 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
1150 2015-01-14 Jiong Wang <jiong.wang@arm.com>
1152 * ld-arm/elf32-reject.s: New testcase.
1153 * ld-arm/elf32-reject.d: Likewise.
1154 * ld-arm/elf32-reject-pie.s: Likewise.
1155 * ld-arm/elf32-reject-pie.d: Likewise.
1156 * ld-arm/arm-elf.exp: Run new testcases.
1157 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
1158 * ld-arm/ifunc-7.rd: Likewise.
1159 * ld-arm/ifunc-7.gd: Likewise.
1160 * ld-arm/ifunc-7.dd: Likewise.
1161 * ld-arm/ifunc-8.s: Likewise.
1162 * ld-arm/ifunc-8.rd: Likewise.
1163 * ld-arm/ifunc-8.gd: Likewise.
1164 * ld-arm/ifunc-8.dd: Likewise.
1166 2015-01-01 Alan Modra <amodra@gmail.com>
1168 * ldver.c (ldversion): Just print current year.
1170 2015-01-01 Alan Modra <amodra@gmail.com>
1172 Update year range in copyright notice of all files.
1174 For older changes see ChangeLog-2014
1176 Copyright (C) 2015 Free Software Foundation, Inc.
1178 Copying and distribution of this file, with or without modification,
1179 are permitted in any medium without royalty provided the copyright
1180 notice and this notice are preserved.
1186 version-control: never