1 2015-06-12 Tristan Gingold <gingold@adacore.com>
3 * NEWS: Mention new option.
4 * lexsup.c (parse_args): Handle --print-memory-usage.
5 (ld_options): Add --print-memory-usage.
6 * ldmain.c (main): Call lang_print_memory_usage.
7 * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE.
8 * ldlang.h: Add prototype of lang_print_memory_usage.
9 * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New
11 * ld.texinfo (Options): Document --print-memory-usage.
12 * ld.h (args_type): Add print_memory_usage field.
14 2015-06-08 Nick Clifton <nickc@redhat.com>
16 * po/fr.po: Updated French Translation.
18 2015-05-28 Catherine Moore <clm@codesourcery.com>
19 Paul Brook <paul@codesourcery.com>
21 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
22 Add Compact EH support.
23 * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab
26 2015-05-17 Chung-Lin Tang <cltang@codesourcery.com>
28 * configure.ac (AC_PROG_GREP): Check for grep program.
29 (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options):
30 Enable ELF option printing for emulations containing
31 'TEMPLATE_NAME=elf32'.
32 * configure: Regenerate.
34 2015-05-14 Nick Clifton <nickc@redhat.com>
36 * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd
39 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
41 * configure.tgt: Support i[3-7]86-*-elfiamcu target.
43 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
45 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c.
47 * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is
49 * Makefile.in: Regenerated.
50 * emulparams/elf_iamcu.sh: New file.
52 2015-05-05 Nick Clifton <nickc@redhat.com>
54 * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
55 * scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
56 (.data): Add .lower.data and .either.data.
57 (.bss): Add .lower.bss and .either.bss.
58 (.rodata): Add .lower.rodata and .either.rodata.
59 * emultempl/msp430.em: New file. Implements a new orphan
60 placement algorithm that divides sections between lower and upper
62 * Makefile.am (emsp430elf.c): Depend upon msp430.em.
63 *emsp430X.c): Likewise.
64 * Makefine.in: Regenerate.
66 2015-04-28 Andreas Schwab <schwab@linux-m68k.org>
69 * ldlex.l (INPUTLIST): Increment lineno on newline.
71 2015-04-24 Alan Modra <amodra@gmail.com>
73 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
74 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
76 2015-04-24 DJ Delorie <dj@redhat.com>
78 * Makefile.am (msp430): Rename primary emulation to msp430elf.
79 (emsp430.c): Rename to emsp430elf.c, update dependencies
80 (emsp430X.c): Update dependencies.
81 * Makefile.in: Likewise.
82 * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
83 * emulparams/msp430.sh: Rename to msp430elf.sh.
84 * emulparams/msp430X.sh: Update.
86 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
89 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
91 2015-04-23 Alan Modra <amodra@gmail.com>
93 * emulparams/elf64ppc.sh (GOT): Align.
95 2015-04-22 Alan Modra <amodra@gmail.com>
97 * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add
98 data_seg.relro_offset.
99 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
100 (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
101 * ldlang.c (lang_size_sections): Rewrite code adjusting relro
102 segment base to line up last section on page boundary.
104 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
107 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
109 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
111 * ld.texinfo: Document --compress-debug-sections=.
112 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
113 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd
114 for COMPRESS_DEBUG_GABI_ZLIB.
115 * lexsup.c (elf_static_list_options): Add
116 --compress-debug-sections=.
117 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
118 (xtra_long): Add "compress-debug-sections".
119 (gld${EMULATION_NAME}_handle_option): Handle
120 OPTION_COMPRESS_DEBUG.
122 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
125 * ld.texinfo: Document "-z noextern-protected-data".
126 * ldmain.c (main): Initialize link_info.extern_protected_data
128 * lexsup.c (elf_shlib_list_options): Add
129 "-z [no]extern-protected-data".
130 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
131 * emulparams/elf_i386.sh: Likewise.
132 * emulparams/elf_i386_be.sh: Likewise.
133 * emulparams/elf_i386_chaos.sh: Likewise.
134 * emulparams/elf_i386_ldso.sh: Likewise.
135 * emulparams/elf_i386_vxworks.sh: Likewise.
136 * emulparams/elf_k1om.sh: Likewise.
137 * emulparams/elf_l1om.sh: Likewise.
138 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
139 (PARSE_AND_LIST_OPTIONS): Renamed to ...
140 (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
141 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
142 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
143 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
144 (PARSE_AND_LIST_ARGS_CASE_Z): Append
145 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
146 * emulparams/extern_protected_data.sh: New file.
148 2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
150 * plugin.c (plugin_load_plugins): Removed an extra ';'.
152 2015-04-10 Nick Clifton <nickc@redhat.com>
155 * ld.texinfo (--be8): Add a note about the interaction of this
156 option with the assembler's -EB option.
158 2015-04-10 Alan Modra <amodra@gmail.com>
160 * configure.ac: Set elf_list_options etc. in proper case.
161 * configure: Regenerate.
163 2015-04-10 Alan Modra <amodra@gmail.com>
166 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
168 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
170 * emulparams/elf_x86_64.sh (BNDPLT): Removed.
171 (PARSE_AND_LIST_OPTIONS): New.
172 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
173 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
174 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z.
175 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
177 2015-04-09 Nick Clifton <nickc@redhat.com>
179 * po/fr.po: Updated French translation.
181 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
183 * configure.ac (elf_list_options): Set to TRUE for
184 --enable-targets=all.
185 (elf_shlib_list_options): Likewise.
186 (elf_plt_unwind_list_options): Likewise.
187 * configure: Regenerated.
189 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
191 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
193 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
195 * Makefile.am (ELF_CLFAGS): New.
196 (AM_CFLAGS): Add $(ELF_CLFAGS).
197 * configure.ac (elf_list_options): New. AC_SUBST.
198 (elf_shlib_list_options): Likewise.
199 (elf_plt_unwind_list_options): Likewise.
200 * lexsup.c (elf_shlib_list_options): New.
201 (elf_static_list_options): Likewise.
202 (elf_plt_unwind_list_options): Likewise.
203 (ld_list_options): Likewise.
204 (help): Call ld_list_options.
205 * Makefile.in: Regenerated.
206 * configure: Likewise.
207 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
208 (PARSE_AND_LIST_OPTIONS): Removed.
209 * emultempl/elf32.em (gld_list_options): New.
210 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
211 PARSE_AND_LIST_OPTIONS is defined.
212 (ld_${EMULATION_NAME}_emulation): Replace
213 gld${EMULATION_NAME}_list_options with ${gld_list_options.
215 2015-04-07 Alan Modra <amodra@gmail.com>
218 * ldlang.c (lang_size_sections): Cast shift expression.
220 2015-04-07 Alan Modra <amodra@gmail.com>
222 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
223 (params): Init new field.
224 (ppc_before_allocation): Enable relaxation for pic_fixup.
226 2015-04-07 Nick Clifton <nickc@redhat.com>
228 * ld.h (struct ld_config_type): Add new field: warn_orphan.
229 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
230 OPTION_NO_WARN_ORPHAN.
231 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
232 (parse_args): Handle the new options.
233 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
234 message when an orphan section is placed in the output file.
235 * ld.texinfo: Document the new option.
236 * NEWS: Mention the new feature.
238 2015-04-02 Andrew Turner <andrew@freebsd.org>
240 * Makefile.am: Add FreeBSD aarch64 files.
241 * Makefile.in: Regenerate.
242 * configure.tgt: Add aarch64-*-freebsd* target triple.
243 * emulparams/aarch64fbsd.sh: New file.
244 * emulparams/aarch64fbsdb.sh: New file.
246 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
248 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
249 around a GCC uninitialized warning bug fixed in GCC 4.6.
251 2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
253 * emultempl/aarch64elf.em
254 (aarch64_elf_create_output_section_statements): Add parameter in
255 bfd_elf${ELFSIZE}_aarch64_set_options call.
256 (OPTION_FIX_ERRATUM_843419): Define.
257 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
258 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
260 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
262 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
263 relocating operation.
265 2015-04-01 Alan Modra <amodra@gmail.com>
268 * ldlang.c (lang_size_sections): When alignment of sections
269 results in relro base adjustment being too large, don't go lower
270 than the initial value.
271 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
272 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
273 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
275 2015-04-01 Alan Modra <amodra@gmail.com>
277 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
278 init ehdr_start_save.
280 2015-04-01 Alan Modra <amodra@gmail.com>
282 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
284 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
285 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
286 eelf32ppcsim.c): Rearrange deps for consistency.
287 * Makefile.in: Regenerate.
289 2015-04-01 Ed Schouten <ed@nuxi.nl>
291 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
292 the ehdr_start_save variable.
294 2015-03-31 Ed Schouten <ed@nuxi.nl>
296 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
297 eelf_x86_64_cloudabi.c.
298 (eelf_x86_64_cloudabi.c): New.
299 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
301 * Makefile.in: Regenerated.
302 * emulparams/elf_x86_64_cloudabi.sh: New file.
304 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
306 * configure.ac (AM_ZLIB): Removed.
307 * Makefile.in: Regenerated.
308 * config.in: Likewise.
309 * configure: Likewise.
311 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
313 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
316 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
318 * emultempl/aarch64elf.em
319 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
321 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
323 * ldmain.c (main): Use %F instead of %X for einfo.
325 2015-03-02 Alan Modra <amodra@gmail.com>
327 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
329 2015-02-27 Nick Clifton <nickc@redhat.com>
332 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
333 sense of the following memory region attribute characters.
335 2015-02-27 Alan Modra <amodra@gmail.com>
337 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
338 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
339 eh8300sxelf_linux.c): Do not invoke genscripts here.
340 * Makefile.in: Regenerate.
342 2015-02-24 Nick Clifton <nickc@redhat.com>
344 * Makefile.am (ev850.c): Add dependency upon
345 $(srcdir)/emultempl/v850elf.em.
346 (ev850_rh850.c): Likewise.
347 * Makefile.in: Regenerate.
348 * emultempl/v850elf.em: New file.
349 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
350 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
351 * scripttempl/v850.sc: Add .note.renesas section.
352 * scripttempl/v850_rh850.sc: Likewise.
354 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
356 * scripttempl/avr.sc: Add new user_signatures region. Define and
357 use symbols for all region lengths.
358 * scripttempl/avrtiny.sc: Define and use symbols for all region
361 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
363 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
364 * Makefile.in: Regenerate.
365 * configure.tgt: Add h8300-*-linux
366 * emulparams/h8300elf_linux.sh: Add new emulation.
367 * emulparams/h8300helf_linux.sh: Likewise.
368 * emulparams/h8300self_linux.sh: Likewise.
369 * emulparams/h8300sxelf_linux.sh: Likewise.
371 2015-02-23 Nick Clifton <nickc@redhat.com>
373 * lexsup.c (parse_args): Produce a more reasonable error message
374 when -ixxx or -rxxx is the last option on the linker command line.
376 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
379 * testplug2.c (allsymbolsread_silent): New.
380 (set_register_hook): Handle allsymbolsreadsilent.
381 (onall_symbols_read): Skip a message if allsymbolsread_silent is
384 2015-02-14 Alan Modra <amodra@gmail.com>
387 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
388 * ldlang.c (lang_process): Don't set loading_lto_outputs.
389 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
391 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
393 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
395 * NEWS: Mention support for LLVM plugin.
397 2015-02-13 Alan Modra <amodra@gmail.com>
399 * ld.texinfo (Options <--defsym>): Correct cross reference.
401 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
403 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
404 option compatibility.
406 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
408 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
409 "error:" for LDPL_FATAL and LDPL_ERROR.
410 * testplug2.c (parse_option): Handle fatal, error and warning.
412 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
414 * testplug2.c (dump_tv_tag): Removed.
415 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
417 * testplug3.c (dump_tv_tag): Removed.
418 (onclaim_file): Fix typo.
420 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
423 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
425 (libldtestplug2_la_SOURCES): New.
426 (libldtestplug2_la_CFLAGS): Likewise.
427 (libldtestplug2_la_LDFLAGS): Likewise.
428 (libldtestplug3_la_SOURCES): New.
429 (libldtestplug3_la_CFLAGS): Likewise.
430 (libldtestplug3_la_LDFLAGS): Likewise.
431 * Makefile.in: Regenerated.
432 * testplug2.c: New file.
433 * testplug3.c: Likewise.
435 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
438 * plugin.c: Include ../bfd/plugin.h.
439 (plugin_get_ir_dummy_bfd): Call bfd_create with
440 link_info.output_bfd instead of srctemplate. Copy BFD info
441 from srctemplate only if it doesn't use BFD plugin target
443 (plugin_load_plugins): Call register_ld_plugin_object_p with
445 (plugin_maybe_claim): Renamed to ...
446 (plugin_object_p): This. Return dummy BFD target vector if
447 input is calimed by plugin library, otherwise return NULL.
448 Update plugin_format and plugin_dummy_bfd.
449 (plugin_maybe_claim): New. Use plugin_object_p.
451 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
453 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
455 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
457 * plugin.c (plugin_input_file_t): Add use_mmap.
458 (plugin_pagesize): New.
459 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
460 (plugin_load_plugins): Initialize plugin_pagesize.
461 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
464 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
466 * plugin.c (get_view): Align offset passed to mmap.
468 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
470 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
471 if plugin isn't active or there is no thing more to claim.
473 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
475 * plugin.c (plugin_maybe_claim): Check format against bfd_object
478 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
480 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
483 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
485 * plugin.c: Include "libbfd.h".
486 (plugin_strdup): New.
487 (plugin_maybe_claim): Remove the argument of pointer to struct
488 ld_plugin_input_file. Open and handle input entry.
489 * plugin.h (plugin_maybe_claim): Updated.
490 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
491 without passing a pointer to struct ld_plugin_input_file.
492 * ldmain.c: Don't include "libbfd.h".
493 (add_archive_element): Call plugin_maybe_claim directly without
494 passing a pointer to struct ld_plugin_input_file.
496 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
498 * ld.texinfo: Document -z text, -z notext and -z textoff.
499 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
500 -z text, -z notext and -z textoff.
502 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
504 * configure.ac: Add AC_FUNC_MMAP.
505 * config.in: Regenerated.
506 * configure: Likewise.
507 * plugin.c: Include <sys/mman.h>.
508 (MAP_FAILED): New. Defined if not defined.
509 (PROT_READ): Likewise.
510 (MAP_PRIVATE): Likewise.
511 (view_buffer_t): New.
512 (plugin_input_file_t): Add view_buffer.
513 (get_view): Try mmap and cache the view buffer.
514 (plugin_maybe_claim): Initialize view_buffer.
516 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
518 * plugin.c (release_input_file): Set fd to -1 after closing it.
519 (plugin_maybe_claim): Close fd only if fd != -1.
521 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
524 * plugin.c: Include <errno.h>.
525 (errno): New. Declare if needed.
526 (plugin_input_file_t): New.
527 (get_input_file): Implemented.
528 (get_view): Likewise.
529 (release_input_file): Likewise.
530 (add_symbols): Updated.
531 (get_symbols): Likewise.
532 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
533 only for a bfd_object input.
535 2015-02-02 Alan Modra <amodra@gmail.com>
537 * emultempl/ppc64elf.em (toc_section_name): New var.
538 (ppc_after_open): Set it.
539 (ppc_before_allocation): Use it.
540 (gld${EMULATION_NAME}_after_allocation): Here too.
542 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
544 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
545 with link_info.lto_plugin_active.
546 * ldlang.c (lang_process): Likewise.
547 * ldmain.c (add_archive_element): Likewise.
548 * plugin.c (plugin_active_plugins_p): Removed.
549 * plugin.h (plugin_active_plugins_p): Likewise.
551 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
553 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
555 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
557 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
560 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
561 (get_view): New function.
562 (set_tv_header): Handle LDPT_GET_VIEW.
563 * testplug.c (tag_names): Add LDPT_GET_VIEW.
565 (dump_tv_tag): Handle LDPT_GET_VIEW.
566 (parse_tv_tag): Likewise.
568 2015-01-28 Alan Modra <amodra@gmail.com>
570 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
571 * emultempl/ppc64elf.em (params): Init new field.
572 (ppc_after_open): New function.
573 (LDEMUL_AFTER_OPEN): Define.
574 * ldlang.c (lang_final): Whitespace fix.
576 2015-01-28 James Bowman <james.bowman@ftdichip.com>
578 * Makefile.am: Add FT32 files.
579 * configure.tgt: Handle FT32 target.
580 * emulparams/elf32ft32.sh: New file.
581 * scripttempl/ft32.sc: New file.
582 * Makefile.in: Regenerate.
584 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
587 * ldexp.c (fold_name): Fold LENGTH only after
588 lang_first_phase_enum.
589 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
591 * ldlang.h (struct memory_region_struct): Add origin_exp and
593 * ldlang.c (lang_do_memory_regions): New.
594 (lang_memory_region_lookup): Initialize origin_exp and
596 (lang_process): Call lang_do_memory_regions.
598 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
600 * ldlang.c (print_assignment): Only evaluate the expression for a
601 PROVIDE'd assignment when the destination is being defined.
602 Display a special message for PROVIDE'd symbols that are not being
605 2015-01-20 Alan Modra <amodra@gmail.com>
607 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
608 (OTHER_BSS_SYMBOLS): ..this.
609 (OTHER_PLT_RELOC_SECTIONS): Don't define.
610 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
611 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
612 (OTHER_RELRO_SECTIONS_2): ..here.
613 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
615 2015-01-20 Alan Modra <amodra@gmail.com>
617 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
618 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
619 (OTHER_RELRO_SECTIONS_2): ..here.
620 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
621 PLT_BEFORE_GOT): Define.
622 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
623 PLT_BEFORE_GOT combination.
624 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
626 2015-01-20 Alan Modra <amodra@gmail.com>
628 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
629 (OTHER_RELRO_SECTIONS_2): ..here, new define.
630 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
632 2015-01-19 Alan Modra <amodra@gmail.com>
635 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
637 2015-01-14 Jiong Wang <jiong.wang@arm.com>
639 * ld-arm/elf32-reject.s: New testcase.
640 * ld-arm/elf32-reject.d: Likewise.
641 * ld-arm/elf32-reject-pie.s: Likewise.
642 * ld-arm/elf32-reject-pie.d: Likewise.
643 * ld-arm/arm-elf.exp: Run new testcases.
644 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
645 * ld-arm/ifunc-7.rd: Likewise.
646 * ld-arm/ifunc-7.gd: Likewise.
647 * ld-arm/ifunc-7.dd: Likewise.
648 * ld-arm/ifunc-8.s: Likewise.
649 * ld-arm/ifunc-8.rd: Likewise.
650 * ld-arm/ifunc-8.gd: Likewise.
651 * ld-arm/ifunc-8.dd: Likewise.
653 2015-01-01 Alan Modra <amodra@gmail.com>
655 * ldver.c (ldversion): Just print current year.
657 2015-01-01 Alan Modra <amodra@gmail.com>
659 Update year range in copyright notice of all files.
661 For older changes see ChangeLog-2014
663 Copyright (C) 2015 Free Software Foundation, Inc.
665 Copying and distribution of this file, with or without modification,
666 are permitted in any medium without royalty provided the copyright
667 notice and this notice are preserved.
673 version-control: never