1 2015-06-26 H.J. Lu <hongjiu.lu@intel.com>
3 * emulparams/elf_iamcu.sh (COMPILE_IN): New.
5 2015-06-15 Nick Clifton <nickc@redhat.com>
8 * emultempl/pe.em (pe_find_data_imports): Generate an error if a
9 symbol name is too long to handle.
10 * emultempl/pep.em (pep_find_data_imports): Likewise.
12 2015-06-12 Tristan Gingold <gingold@adacore.com>
14 * NEWS: Mention new option.
15 * lexsup.c (parse_args): Handle --print-memory-usage.
16 (ld_options): Add --print-memory-usage.
17 * ldmain.c (main): Call lang_print_memory_usage.
18 * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE.
19 * ldlang.h: Add prototype of lang_print_memory_usage.
20 * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New
22 * ld.texinfo (Options): Document --print-memory-usage.
23 * ld.h (args_type): Add print_memory_usage field.
25 2015-06-08 Nick Clifton <nickc@redhat.com>
27 * po/fr.po: Updated French Translation.
29 2015-05-28 Catherine Moore <clm@codesourcery.com>
30 Paul Brook <paul@codesourcery.com>
32 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
33 Add Compact EH support.
34 * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab
37 2015-05-17 Chung-Lin Tang <cltang@codesourcery.com>
39 * configure.ac (AC_PROG_GREP): Check for grep program.
40 (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options):
41 Enable ELF option printing for emulations containing
42 'TEMPLATE_NAME=elf32'.
43 * configure: Regenerate.
45 2015-05-14 Nick Clifton <nickc@redhat.com>
47 * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd
50 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
52 * configure.tgt: Support i[3-7]86-*-elfiamcu target.
54 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
56 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c.
58 * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is
60 * Makefile.in: Regenerated.
61 * emulparams/elf_iamcu.sh: New file.
63 2015-05-05 Nick Clifton <nickc@redhat.com>
65 * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
66 * scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
67 (.data): Add .lower.data and .either.data.
68 (.bss): Add .lower.bss and .either.bss.
69 (.rodata): Add .lower.rodata and .either.rodata.
70 * emultempl/msp430.em: New file. Implements a new orphan
71 placement algorithm that divides sections between lower and upper
73 * Makefile.am (emsp430elf.c): Depend upon msp430.em.
74 *emsp430X.c): Likewise.
75 * Makefine.in: Regenerate.
77 2015-04-28 Andreas Schwab <schwab@linux-m68k.org>
80 * ldlex.l (INPUTLIST): Increment lineno on newline.
82 2015-04-24 Alan Modra <amodra@gmail.com>
84 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
85 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
87 2015-04-24 DJ Delorie <dj@redhat.com>
89 * Makefile.am (msp430): Rename primary emulation to msp430elf.
90 (emsp430.c): Rename to emsp430elf.c, update dependencies
91 (emsp430X.c): Update dependencies.
92 * Makefile.in: Likewise.
93 * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
94 * emulparams/msp430.sh: Rename to msp430elf.sh.
95 * emulparams/msp430X.sh: Update.
97 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
100 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
102 2015-04-23 Alan Modra <amodra@gmail.com>
104 * emulparams/elf64ppc.sh (GOT): Align.
106 2015-04-22 Alan Modra <amodra@gmail.com>
108 * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add
109 data_seg.relro_offset.
110 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
111 (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
112 * ldlang.c (lang_size_sections): Rewrite code adjusting relro
113 segment base to line up last section on page boundary.
115 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
118 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
120 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
122 * ld.texinfo: Document --compress-debug-sections=.
123 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
124 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd
125 for COMPRESS_DEBUG_GABI_ZLIB.
126 * lexsup.c (elf_static_list_options): Add
127 --compress-debug-sections=.
128 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
129 (xtra_long): Add "compress-debug-sections".
130 (gld${EMULATION_NAME}_handle_option): Handle
131 OPTION_COMPRESS_DEBUG.
133 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
136 * ld.texinfo: Document "-z noextern-protected-data".
137 * ldmain.c (main): Initialize link_info.extern_protected_data
139 * lexsup.c (elf_shlib_list_options): Add
140 "-z [no]extern-protected-data".
141 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
142 * emulparams/elf_i386.sh: Likewise.
143 * emulparams/elf_i386_be.sh: Likewise.
144 * emulparams/elf_i386_chaos.sh: Likewise.
145 * emulparams/elf_i386_ldso.sh: Likewise.
146 * emulparams/elf_i386_vxworks.sh: Likewise.
147 * emulparams/elf_k1om.sh: Likewise.
148 * emulparams/elf_l1om.sh: Likewise.
149 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
150 (PARSE_AND_LIST_OPTIONS): Renamed to ...
151 (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
152 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
153 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
154 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
155 (PARSE_AND_LIST_ARGS_CASE_Z): Append
156 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
157 * emulparams/extern_protected_data.sh: New file.
159 2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
161 * plugin.c (plugin_load_plugins): Removed an extra ';'.
163 2015-04-10 Nick Clifton <nickc@redhat.com>
166 * ld.texinfo (--be8): Add a note about the interaction of this
167 option with the assembler's -EB option.
169 2015-04-10 Alan Modra <amodra@gmail.com>
171 * configure.ac: Set elf_list_options etc. in proper case.
172 * configure: Regenerate.
174 2015-04-10 Alan Modra <amodra@gmail.com>
177 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
179 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
181 * emulparams/elf_x86_64.sh (BNDPLT): Removed.
182 (PARSE_AND_LIST_OPTIONS): New.
183 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
184 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
185 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z.
186 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
188 2015-04-09 Nick Clifton <nickc@redhat.com>
190 * po/fr.po: Updated French translation.
192 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
194 * configure.ac (elf_list_options): Set to TRUE for
195 --enable-targets=all.
196 (elf_shlib_list_options): Likewise.
197 (elf_plt_unwind_list_options): Likewise.
198 * configure: Regenerated.
200 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
202 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
204 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
206 * Makefile.am (ELF_CLFAGS): New.
207 (AM_CFLAGS): Add $(ELF_CLFAGS).
208 * configure.ac (elf_list_options): New. AC_SUBST.
209 (elf_shlib_list_options): Likewise.
210 (elf_plt_unwind_list_options): Likewise.
211 * lexsup.c (elf_shlib_list_options): New.
212 (elf_static_list_options): Likewise.
213 (elf_plt_unwind_list_options): Likewise.
214 (ld_list_options): Likewise.
215 (help): Call ld_list_options.
216 * Makefile.in: Regenerated.
217 * configure: Likewise.
218 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
219 (PARSE_AND_LIST_OPTIONS): Removed.
220 * emultempl/elf32.em (gld_list_options): New.
221 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
222 PARSE_AND_LIST_OPTIONS is defined.
223 (ld_${EMULATION_NAME}_emulation): Replace
224 gld${EMULATION_NAME}_list_options with ${gld_list_options.
226 2015-04-07 Alan Modra <amodra@gmail.com>
229 * ldlang.c (lang_size_sections): Cast shift expression.
231 2015-04-07 Alan Modra <amodra@gmail.com>
233 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
234 (params): Init new field.
235 (ppc_before_allocation): Enable relaxation for pic_fixup.
237 2015-04-07 Nick Clifton <nickc@redhat.com>
239 * ld.h (struct ld_config_type): Add new field: warn_orphan.
240 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
241 OPTION_NO_WARN_ORPHAN.
242 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
243 (parse_args): Handle the new options.
244 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
245 message when an orphan section is placed in the output file.
246 * ld.texinfo: Document the new option.
247 * NEWS: Mention the new feature.
249 2015-04-02 Andrew Turner <andrew@freebsd.org>
251 * Makefile.am: Add FreeBSD aarch64 files.
252 * Makefile.in: Regenerate.
253 * configure.tgt: Add aarch64-*-freebsd* target triple.
254 * emulparams/aarch64fbsd.sh: New file.
255 * emulparams/aarch64fbsdb.sh: New file.
257 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
259 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
260 around a GCC uninitialized warning bug fixed in GCC 4.6.
262 2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
264 * emultempl/aarch64elf.em
265 (aarch64_elf_create_output_section_statements): Add parameter in
266 bfd_elf${ELFSIZE}_aarch64_set_options call.
267 (OPTION_FIX_ERRATUM_843419): Define.
268 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
269 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
271 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
273 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
274 relocating operation.
276 2015-04-01 Alan Modra <amodra@gmail.com>
279 * ldlang.c (lang_size_sections): When alignment of sections
280 results in relro base adjustment being too large, don't go lower
281 than the initial value.
282 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
283 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
284 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
286 2015-04-01 Alan Modra <amodra@gmail.com>
288 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
289 init ehdr_start_save.
291 2015-04-01 Alan Modra <amodra@gmail.com>
293 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
295 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
296 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
297 eelf32ppcsim.c): Rearrange deps for consistency.
298 * Makefile.in: Regenerate.
300 2015-04-01 Ed Schouten <ed@nuxi.nl>
302 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
303 the ehdr_start_save variable.
305 2015-03-31 Ed Schouten <ed@nuxi.nl>
307 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
308 eelf_x86_64_cloudabi.c.
309 (eelf_x86_64_cloudabi.c): New.
310 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
312 * Makefile.in: Regenerated.
313 * emulparams/elf_x86_64_cloudabi.sh: New file.
315 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
317 * configure.ac (AM_ZLIB): Removed.
318 * Makefile.in: Regenerated.
319 * config.in: Likewise.
320 * configure: Likewise.
322 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
324 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
327 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
329 * emultempl/aarch64elf.em
330 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
332 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
334 * ldmain.c (main): Use %F instead of %X for einfo.
336 2015-03-02 Alan Modra <amodra@gmail.com>
338 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
340 2015-02-27 Nick Clifton <nickc@redhat.com>
343 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
344 sense of the following memory region attribute characters.
346 2015-02-27 Alan Modra <amodra@gmail.com>
348 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
349 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
350 eh8300sxelf_linux.c): Do not invoke genscripts here.
351 * Makefile.in: Regenerate.
353 2015-02-24 Nick Clifton <nickc@redhat.com>
355 * Makefile.am (ev850.c): Add dependency upon
356 $(srcdir)/emultempl/v850elf.em.
357 (ev850_rh850.c): Likewise.
358 * Makefile.in: Regenerate.
359 * emultempl/v850elf.em: New file.
360 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
361 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
362 * scripttempl/v850.sc: Add .note.renesas section.
363 * scripttempl/v850_rh850.sc: Likewise.
365 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
367 * scripttempl/avr.sc: Add new user_signatures region. Define and
368 use symbols for all region lengths.
369 * scripttempl/avrtiny.sc: Define and use symbols for all region
372 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
374 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
375 * Makefile.in: Regenerate.
376 * configure.tgt: Add h8300-*-linux
377 * emulparams/h8300elf_linux.sh: Add new emulation.
378 * emulparams/h8300helf_linux.sh: Likewise.
379 * emulparams/h8300self_linux.sh: Likewise.
380 * emulparams/h8300sxelf_linux.sh: Likewise.
382 2015-02-23 Nick Clifton <nickc@redhat.com>
384 * lexsup.c (parse_args): Produce a more reasonable error message
385 when -ixxx or -rxxx is the last option on the linker command line.
387 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
390 * testplug2.c (allsymbolsread_silent): New.
391 (set_register_hook): Handle allsymbolsreadsilent.
392 (onall_symbols_read): Skip a message if allsymbolsread_silent is
395 2015-02-14 Alan Modra <amodra@gmail.com>
398 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
399 * ldlang.c (lang_process): Don't set loading_lto_outputs.
400 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
402 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
404 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
406 * NEWS: Mention support for LLVM plugin.
408 2015-02-13 Alan Modra <amodra@gmail.com>
410 * ld.texinfo (Options <--defsym>): Correct cross reference.
412 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
414 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
415 option compatibility.
417 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
419 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
420 "error:" for LDPL_FATAL and LDPL_ERROR.
421 * testplug2.c (parse_option): Handle fatal, error and warning.
423 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
425 * testplug2.c (dump_tv_tag): Removed.
426 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
428 * testplug3.c (dump_tv_tag): Removed.
429 (onclaim_file): Fix typo.
431 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
434 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
436 (libldtestplug2_la_SOURCES): New.
437 (libldtestplug2_la_CFLAGS): Likewise.
438 (libldtestplug2_la_LDFLAGS): Likewise.
439 (libldtestplug3_la_SOURCES): New.
440 (libldtestplug3_la_CFLAGS): Likewise.
441 (libldtestplug3_la_LDFLAGS): Likewise.
442 * Makefile.in: Regenerated.
443 * testplug2.c: New file.
444 * testplug3.c: Likewise.
446 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
449 * plugin.c: Include ../bfd/plugin.h.
450 (plugin_get_ir_dummy_bfd): Call bfd_create with
451 link_info.output_bfd instead of srctemplate. Copy BFD info
452 from srctemplate only if it doesn't use BFD plugin target
454 (plugin_load_plugins): Call register_ld_plugin_object_p with
456 (plugin_maybe_claim): Renamed to ...
457 (plugin_object_p): This. Return dummy BFD target vector if
458 input is calimed by plugin library, otherwise return NULL.
459 Update plugin_format and plugin_dummy_bfd.
460 (plugin_maybe_claim): New. Use plugin_object_p.
462 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
464 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
466 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
468 * plugin.c (plugin_input_file_t): Add use_mmap.
469 (plugin_pagesize): New.
470 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
471 (plugin_load_plugins): Initialize plugin_pagesize.
472 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
475 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
477 * plugin.c (get_view): Align offset passed to mmap.
479 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
481 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
482 if plugin isn't active or there is no thing more to claim.
484 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
486 * plugin.c (plugin_maybe_claim): Check format against bfd_object
489 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
491 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
494 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
496 * plugin.c: Include "libbfd.h".
497 (plugin_strdup): New.
498 (plugin_maybe_claim): Remove the argument of pointer to struct
499 ld_plugin_input_file. Open and handle input entry.
500 * plugin.h (plugin_maybe_claim): Updated.
501 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
502 without passing a pointer to struct ld_plugin_input_file.
503 * ldmain.c: Don't include "libbfd.h".
504 (add_archive_element): Call plugin_maybe_claim directly without
505 passing a pointer to struct ld_plugin_input_file.
507 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
509 * ld.texinfo: Document -z text, -z notext and -z textoff.
510 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
511 -z text, -z notext and -z textoff.
513 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
515 * configure.ac: Add AC_FUNC_MMAP.
516 * config.in: Regenerated.
517 * configure: Likewise.
518 * plugin.c: Include <sys/mman.h>.
519 (MAP_FAILED): New. Defined if not defined.
520 (PROT_READ): Likewise.
521 (MAP_PRIVATE): Likewise.
522 (view_buffer_t): New.
523 (plugin_input_file_t): Add view_buffer.
524 (get_view): Try mmap and cache the view buffer.
525 (plugin_maybe_claim): Initialize view_buffer.
527 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
529 * plugin.c (release_input_file): Set fd to -1 after closing it.
530 (plugin_maybe_claim): Close fd only if fd != -1.
532 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
535 * plugin.c: Include <errno.h>.
536 (errno): New. Declare if needed.
537 (plugin_input_file_t): New.
538 (get_input_file): Implemented.
539 (get_view): Likewise.
540 (release_input_file): Likewise.
541 (add_symbols): Updated.
542 (get_symbols): Likewise.
543 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
544 only for a bfd_object input.
546 2015-02-02 Alan Modra <amodra@gmail.com>
548 * emultempl/ppc64elf.em (toc_section_name): New var.
549 (ppc_after_open): Set it.
550 (ppc_before_allocation): Use it.
551 (gld${EMULATION_NAME}_after_allocation): Here too.
553 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
555 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
556 with link_info.lto_plugin_active.
557 * ldlang.c (lang_process): Likewise.
558 * ldmain.c (add_archive_element): Likewise.
559 * plugin.c (plugin_active_plugins_p): Removed.
560 * plugin.h (plugin_active_plugins_p): Likewise.
562 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
564 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
566 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
568 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
571 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
572 (get_view): New function.
573 (set_tv_header): Handle LDPT_GET_VIEW.
574 * testplug.c (tag_names): Add LDPT_GET_VIEW.
576 (dump_tv_tag): Handle LDPT_GET_VIEW.
577 (parse_tv_tag): Likewise.
579 2015-01-28 Alan Modra <amodra@gmail.com>
581 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
582 * emultempl/ppc64elf.em (params): Init new field.
583 (ppc_after_open): New function.
584 (LDEMUL_AFTER_OPEN): Define.
585 * ldlang.c (lang_final): Whitespace fix.
587 2015-01-28 James Bowman <james.bowman@ftdichip.com>
589 * Makefile.am: Add FT32 files.
590 * configure.tgt: Handle FT32 target.
591 * emulparams/elf32ft32.sh: New file.
592 * scripttempl/ft32.sc: New file.
593 * Makefile.in: Regenerate.
595 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
598 * ldexp.c (fold_name): Fold LENGTH only after
599 lang_first_phase_enum.
600 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
602 * ldlang.h (struct memory_region_struct): Add origin_exp and
604 * ldlang.c (lang_do_memory_regions): New.
605 (lang_memory_region_lookup): Initialize origin_exp and
607 (lang_process): Call lang_do_memory_regions.
609 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
611 * ldlang.c (print_assignment): Only evaluate the expression for a
612 PROVIDE'd assignment when the destination is being defined.
613 Display a special message for PROVIDE'd symbols that are not being
616 2015-01-20 Alan Modra <amodra@gmail.com>
618 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
619 (OTHER_BSS_SYMBOLS): ..this.
620 (OTHER_PLT_RELOC_SECTIONS): Don't define.
621 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
622 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
623 (OTHER_RELRO_SECTIONS_2): ..here.
624 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
626 2015-01-20 Alan Modra <amodra@gmail.com>
628 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
629 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
630 (OTHER_RELRO_SECTIONS_2): ..here.
631 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
632 PLT_BEFORE_GOT): Define.
633 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
634 PLT_BEFORE_GOT combination.
635 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
637 2015-01-20 Alan Modra <amodra@gmail.com>
639 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
640 (OTHER_RELRO_SECTIONS_2): ..here, new define.
641 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
643 2015-01-19 Alan Modra <amodra@gmail.com>
646 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
648 2015-01-14 Jiong Wang <jiong.wang@arm.com>
650 * ld-arm/elf32-reject.s: New testcase.
651 * ld-arm/elf32-reject.d: Likewise.
652 * ld-arm/elf32-reject-pie.s: Likewise.
653 * ld-arm/elf32-reject-pie.d: Likewise.
654 * ld-arm/arm-elf.exp: Run new testcases.
655 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
656 * ld-arm/ifunc-7.rd: Likewise.
657 * ld-arm/ifunc-7.gd: Likewise.
658 * ld-arm/ifunc-7.dd: Likewise.
659 * ld-arm/ifunc-8.s: Likewise.
660 * ld-arm/ifunc-8.rd: Likewise.
661 * ld-arm/ifunc-8.gd: Likewise.
662 * ld-arm/ifunc-8.dd: Likewise.
664 2015-01-01 Alan Modra <amodra@gmail.com>
666 * ldver.c (ldversion): Just print current year.
668 2015-01-01 Alan Modra <amodra@gmail.com>
670 Update year range in copyright notice of all files.
672 For older changes see ChangeLog-2014
674 Copyright (C) 2015 Free Software Foundation, Inc.
676 Copying and distribution of this file, with or without modification,
677 are permitted in any medium without royalty provided the copyright
678 notice and this notice are preserved.
684 version-control: never