1 2015-05-17 Chung-Lin Tang <cltang@codesourcery.com>
3 * configure.ac (AC_PROG_GREP): Check for grep program.
4 (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options):
5 Enable ELF option printing for emulations containing
7 * configure: Regenerate.
9 2015-05-14 Nick Clifton <nickc@redhat.com>
11 * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd
14 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
16 * configure.tgt: Support i[3-7]86-*-elfiamcu target.
18 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
20 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c.
22 * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is
24 * Makefile.in: Regenerated.
25 * emulparams/elf_iamcu.sh: New file.
27 2015-05-05 Nick Clifton <nickc@redhat.com>
29 * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
30 * scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
31 (.data): Add .lower.data and .either.data.
32 (.bss): Add .lower.bss and .either.bss.
33 (.rodata): Add .lower.rodata and .either.rodata.
34 * emultempl/msp430.em: New file. Implements a new orphan
35 placement algorithm that divides sections between lower and upper
37 * Makefile.am (emsp430elf.c): Depend upon msp430.em.
38 *emsp430X.c): Likewise.
39 * Makefine.in: Regenerate.
41 2015-04-28 Andreas Schwab <schwab@linux-m68k.org>
44 * ldlex.l (INPUTLIST): Increment lineno on newline.
46 2015-04-24 Alan Modra <amodra@gmail.com>
48 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
49 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
51 2015-04-24 DJ Delorie <dj@redhat.com>
53 * Makefile.am (msp430): Rename primary emulation to msp430elf.
54 (emsp430.c): Rename to emsp430elf.c, update dependencies
55 (emsp430X.c): Update dependencies.
56 * Makefile.in: Likewise.
57 * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
58 * emulparams/msp430.sh: Rename to msp430elf.sh.
59 * emulparams/msp430X.sh: Update.
61 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
64 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
66 2015-04-23 Alan Modra <amodra@gmail.com>
68 * emulparams/elf64ppc.sh (GOT): Align.
70 2015-04-22 Alan Modra <amodra@gmail.com>
72 * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add
73 data_seg.relro_offset.
74 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
75 (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
76 * ldlang.c (lang_size_sections): Rewrite code adjusting relro
77 segment base to line up last section on page boundary.
79 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
82 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
84 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
86 * ld.texinfo: Document --compress-debug-sections=.
87 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
88 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd
89 for COMPRESS_DEBUG_GABI_ZLIB.
90 * lexsup.c (elf_static_list_options): Add
91 --compress-debug-sections=.
92 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
93 (xtra_long): Add "compress-debug-sections".
94 (gld${EMULATION_NAME}_handle_option): Handle
95 OPTION_COMPRESS_DEBUG.
97 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
100 * ld.texinfo: Document "-z noextern-protected-data".
101 * ldmain.c (main): Initialize link_info.extern_protected_data
103 * lexsup.c (elf_shlib_list_options): Add
104 "-z [no]extern-protected-data".
105 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
106 * emulparams/elf_i386.sh: Likewise.
107 * emulparams/elf_i386_be.sh: Likewise.
108 * emulparams/elf_i386_chaos.sh: Likewise.
109 * emulparams/elf_i386_ldso.sh: Likewise.
110 * emulparams/elf_i386_vxworks.sh: Likewise.
111 * emulparams/elf_k1om.sh: Likewise.
112 * emulparams/elf_l1om.sh: Likewise.
113 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
114 (PARSE_AND_LIST_OPTIONS): Renamed to ...
115 (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
116 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
117 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
118 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
119 (PARSE_AND_LIST_ARGS_CASE_Z): Append
120 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
121 * emulparams/extern_protected_data.sh: New file.
123 2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
125 * plugin.c (plugin_load_plugins): Removed an extra ';'.
127 2015-04-10 Nick Clifton <nickc@redhat.com>
130 * ld.texinfo (--be8): Add a note about the interaction of this
131 option with the assembler's -EB option.
133 2015-04-10 Alan Modra <amodra@gmail.com>
135 * configure.ac: Set elf_list_options etc. in proper case.
136 * configure: Regenerate.
138 2015-04-10 Alan Modra <amodra@gmail.com>
141 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
143 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
145 * emulparams/elf_x86_64.sh (BNDPLT): Removed.
146 (PARSE_AND_LIST_OPTIONS): New.
147 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
148 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
149 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z.
150 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
152 2015-04-09 Nick Clifton <nickc@redhat.com>
154 * po/fr.po: Updated French translation.
156 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
158 * configure.ac (elf_list_options): Set to TRUE for
159 --enable-targets=all.
160 (elf_shlib_list_options): Likewise.
161 (elf_plt_unwind_list_options): Likewise.
162 * configure: Regenerated.
164 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
166 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
168 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
170 * Makefile.am (ELF_CLFAGS): New.
171 (AM_CFLAGS): Add $(ELF_CLFAGS).
172 * configure.ac (elf_list_options): New. AC_SUBST.
173 (elf_shlib_list_options): Likewise.
174 (elf_plt_unwind_list_options): Likewise.
175 * lexsup.c (elf_shlib_list_options): New.
176 (elf_static_list_options): Likewise.
177 (elf_plt_unwind_list_options): Likewise.
178 (ld_list_options): Likewise.
179 (help): Call ld_list_options.
180 * Makefile.in: Regenerated.
181 * configure: Likewise.
182 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
183 (PARSE_AND_LIST_OPTIONS): Removed.
184 * emultempl/elf32.em (gld_list_options): New.
185 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
186 PARSE_AND_LIST_OPTIONS is defined.
187 (ld_${EMULATION_NAME}_emulation): Replace
188 gld${EMULATION_NAME}_list_options with ${gld_list_options.
190 2015-04-07 Alan Modra <amodra@gmail.com>
193 * ldlang.c (lang_size_sections): Cast shift expression.
195 2015-04-07 Alan Modra <amodra@gmail.com>
197 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
198 (params): Init new field.
199 (ppc_before_allocation): Enable relaxation for pic_fixup.
201 2015-04-07 Nick Clifton <nickc@redhat.com>
203 * ld.h (struct ld_config_type): Add new field: warn_orphan.
204 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
205 OPTION_NO_WARN_ORPHAN.
206 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
207 (parse_args): Handle the new options.
208 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
209 message when an orphan section is placed in the output file.
210 * ld.texinfo: Document the new option.
211 * NEWS: Mention the new feature.
213 2015-04-02 Andrew Turner <andrew@freebsd.org>
215 * Makefile.am: Add FreeBSD aarch64 files.
216 * Makefile.in: Regenerate.
217 * configure.tgt: Add aarch64-*-freebsd* target triple.
218 * emulparams/aarch64fbsd.sh: New file.
219 * emulparams/aarch64fbsdb.sh: New file.
221 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
223 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
224 around a GCC uninitialized warning bug fixed in GCC 4.6.
226 2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
228 * emultempl/aarch64elf.em
229 (aarch64_elf_create_output_section_statements): Add parameter in
230 bfd_elf${ELFSIZE}_aarch64_set_options call.
231 (OPTION_FIX_ERRATUM_843419): Define.
232 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
233 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
235 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
237 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
238 relocating operation.
240 2015-04-01 Alan Modra <amodra@gmail.com>
243 * ldlang.c (lang_size_sections): When alignment of sections
244 results in relro base adjustment being too large, don't go lower
245 than the initial value.
246 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
247 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
248 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
250 2015-04-01 Alan Modra <amodra@gmail.com>
252 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
253 init ehdr_start_save.
255 2015-04-01 Alan Modra <amodra@gmail.com>
257 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
259 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
260 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
261 eelf32ppcsim.c): Rearrange deps for consistency.
262 * Makefile.in: Regenerate.
264 2015-04-01 Ed Schouten <ed@nuxi.nl>
266 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
267 the ehdr_start_save variable.
269 2015-03-31 Ed Schouten <ed@nuxi.nl>
271 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
272 eelf_x86_64_cloudabi.c.
273 (eelf_x86_64_cloudabi.c): New.
274 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
276 * Makefile.in: Regenerated.
277 * emulparams/elf_x86_64_cloudabi.sh: New file.
279 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
281 * configure.ac (AM_ZLIB): Removed.
282 * Makefile.in: Regenerated.
283 * config.in: Likewise.
284 * configure: Likewise.
286 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
288 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
291 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
293 * emultempl/aarch64elf.em
294 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
296 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
298 * ldmain.c (main): Use %F instead of %X for einfo.
300 2015-03-02 Alan Modra <amodra@gmail.com>
302 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
304 2015-02-27 Nick Clifton <nickc@redhat.com>
307 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
308 sense of the following memory region attribute characters.
310 2015-02-27 Alan Modra <amodra@gmail.com>
312 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
313 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
314 eh8300sxelf_linux.c): Do not invoke genscripts here.
315 * Makefile.in: Regenerate.
317 2015-02-24 Nick Clifton <nickc@redhat.com>
319 * Makefile.am (ev850.c): Add dependency upon
320 $(srcdir)/emultempl/v850elf.em.
321 (ev850_rh850.c): Likewise.
322 * Makefile.in: Regenerate.
323 * emultempl/v850elf.em: New file.
324 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
325 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
326 * scripttempl/v850.sc: Add .note.renesas section.
327 * scripttempl/v850_rh850.sc: Likewise.
329 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
331 * scripttempl/avr.sc: Add new user_signatures region. Define and
332 use symbols for all region lengths.
333 * scripttempl/avrtiny.sc: Define and use symbols for all region
336 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
338 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
339 * Makefile.in: Regenerate.
340 * configure.tgt: Add h8300-*-linux
341 * emulparams/h8300elf_linux.sh: Add new emulation.
342 * emulparams/h8300helf_linux.sh: Likewise.
343 * emulparams/h8300self_linux.sh: Likewise.
344 * emulparams/h8300sxelf_linux.sh: Likewise.
346 2015-02-23 Nick Clifton <nickc@redhat.com>
348 * lexsup.c (parse_args): Produce a more reasonable error message
349 when -ixxx or -rxxx is the last option on the linker command line.
351 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
354 * testplug2.c (allsymbolsread_silent): New.
355 (set_register_hook): Handle allsymbolsreadsilent.
356 (onall_symbols_read): Skip a message if allsymbolsread_silent is
359 2015-02-14 Alan Modra <amodra@gmail.com>
362 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
363 * ldlang.c (lang_process): Don't set loading_lto_outputs.
364 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
366 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
368 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
370 * NEWS: Mention support for LLVM plugin.
372 2015-02-13 Alan Modra <amodra@gmail.com>
374 * ld.texinfo (Options <--defsym>): Correct cross reference.
376 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
378 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
379 option compatibility.
381 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
383 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
384 "error:" for LDPL_FATAL and LDPL_ERROR.
385 * testplug2.c (parse_option): Handle fatal, error and warning.
387 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
389 * testplug2.c (dump_tv_tag): Removed.
390 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
392 * testplug3.c (dump_tv_tag): Removed.
393 (onclaim_file): Fix typo.
395 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
398 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
400 (libldtestplug2_la_SOURCES): New.
401 (libldtestplug2_la_CFLAGS): Likewise.
402 (libldtestplug2_la_LDFLAGS): Likewise.
403 (libldtestplug3_la_SOURCES): New.
404 (libldtestplug3_la_CFLAGS): Likewise.
405 (libldtestplug3_la_LDFLAGS): Likewise.
406 * Makefile.in: Regenerated.
407 * testplug2.c: New file.
408 * testplug3.c: Likewise.
410 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
413 * plugin.c: Include ../bfd/plugin.h.
414 (plugin_get_ir_dummy_bfd): Call bfd_create with
415 link_info.output_bfd instead of srctemplate. Copy BFD info
416 from srctemplate only if it doesn't use BFD plugin target
418 (plugin_load_plugins): Call register_ld_plugin_object_p with
420 (plugin_maybe_claim): Renamed to ...
421 (plugin_object_p): This. Return dummy BFD target vector if
422 input is calimed by plugin library, otherwise return NULL.
423 Update plugin_format and plugin_dummy_bfd.
424 (plugin_maybe_claim): New. Use plugin_object_p.
426 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
428 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
430 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
432 * plugin.c (plugin_input_file_t): Add use_mmap.
433 (plugin_pagesize): New.
434 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
435 (plugin_load_plugins): Initialize plugin_pagesize.
436 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
439 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
441 * plugin.c (get_view): Align offset passed to mmap.
443 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
445 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
446 if plugin isn't active or there is no thing more to claim.
448 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
450 * plugin.c (plugin_maybe_claim): Check format against bfd_object
453 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
455 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
458 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
460 * plugin.c: Include "libbfd.h".
461 (plugin_strdup): New.
462 (plugin_maybe_claim): Remove the argument of pointer to struct
463 ld_plugin_input_file. Open and handle input entry.
464 * plugin.h (plugin_maybe_claim): Updated.
465 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
466 without passing a pointer to struct ld_plugin_input_file.
467 * ldmain.c: Don't include "libbfd.h".
468 (add_archive_element): Call plugin_maybe_claim directly without
469 passing a pointer to struct ld_plugin_input_file.
471 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
473 * ld.texinfo: Document -z text, -z notext and -z textoff.
474 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
475 -z text, -z notext and -z textoff.
477 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
479 * configure.ac: Add AC_FUNC_MMAP.
480 * config.in: Regenerated.
481 * configure: Likewise.
482 * plugin.c: Include <sys/mman.h>.
483 (MAP_FAILED): New. Defined if not defined.
484 (PROT_READ): Likewise.
485 (MAP_PRIVATE): Likewise.
486 (view_buffer_t): New.
487 (plugin_input_file_t): Add view_buffer.
488 (get_view): Try mmap and cache the view buffer.
489 (plugin_maybe_claim): Initialize view_buffer.
491 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
493 * plugin.c (release_input_file): Set fd to -1 after closing it.
494 (plugin_maybe_claim): Close fd only if fd != -1.
496 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
499 * plugin.c: Include <errno.h>.
500 (errno): New. Declare if needed.
501 (plugin_input_file_t): New.
502 (get_input_file): Implemented.
503 (get_view): Likewise.
504 (release_input_file): Likewise.
505 (add_symbols): Updated.
506 (get_symbols): Likewise.
507 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
508 only for a bfd_object input.
510 2015-02-02 Alan Modra <amodra@gmail.com>
512 * emultempl/ppc64elf.em (toc_section_name): New var.
513 (ppc_after_open): Set it.
514 (ppc_before_allocation): Use it.
515 (gld${EMULATION_NAME}_after_allocation): Here too.
517 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
519 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
520 with link_info.lto_plugin_active.
521 * ldlang.c (lang_process): Likewise.
522 * ldmain.c (add_archive_element): Likewise.
523 * plugin.c (plugin_active_plugins_p): Removed.
524 * plugin.h (plugin_active_plugins_p): Likewise.
526 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
528 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
530 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
532 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
535 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
536 (get_view): New function.
537 (set_tv_header): Handle LDPT_GET_VIEW.
538 * testplug.c (tag_names): Add LDPT_GET_VIEW.
540 (dump_tv_tag): Handle LDPT_GET_VIEW.
541 (parse_tv_tag): Likewise.
543 2015-01-28 Alan Modra <amodra@gmail.com>
545 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
546 * emultempl/ppc64elf.em (params): Init new field.
547 (ppc_after_open): New function.
548 (LDEMUL_AFTER_OPEN): Define.
549 * ldlang.c (lang_final): Whitespace fix.
551 2015-01-28 James Bowman <james.bowman@ftdichip.com>
553 * Makefile.am: Add FT32 files.
554 * configure.tgt: Handle FT32 target.
555 * emulparams/elf32ft32.sh: New file.
556 * scripttempl/ft32.sc: New file.
557 * Makefile.in: Regenerate.
559 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
562 * ldexp.c (fold_name): Fold LENGTH only after
563 lang_first_phase_enum.
564 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
566 * ldlang.h (struct memory_region_struct): Add origin_exp and
568 * ldlang.c (lang_do_memory_regions): New.
569 (lang_memory_region_lookup): Initialize origin_exp and
571 (lang_process): Call lang_do_memory_regions.
573 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
575 * ldlang.c (print_assignment): Only evaluate the expression for a
576 PROVIDE'd assignment when the destination is being defined.
577 Display a special message for PROVIDE'd symbols that are not being
580 2015-01-20 Alan Modra <amodra@gmail.com>
582 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
583 (OTHER_BSS_SYMBOLS): ..this.
584 (OTHER_PLT_RELOC_SECTIONS): Don't define.
585 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
586 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
587 (OTHER_RELRO_SECTIONS_2): ..here.
588 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
590 2015-01-20 Alan Modra <amodra@gmail.com>
592 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
593 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
594 (OTHER_RELRO_SECTIONS_2): ..here.
595 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
596 PLT_BEFORE_GOT): Define.
597 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
598 PLT_BEFORE_GOT combination.
599 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
601 2015-01-20 Alan Modra <amodra@gmail.com>
603 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
604 (OTHER_RELRO_SECTIONS_2): ..here, new define.
605 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
607 2015-01-19 Alan Modra <amodra@gmail.com>
610 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
612 2015-01-14 Jiong Wang <jiong.wang@arm.com>
614 * ld-arm/elf32-reject.s: New testcase.
615 * ld-arm/elf32-reject.d: Likewise.
616 * ld-arm/elf32-reject-pie.s: Likewise.
617 * ld-arm/elf32-reject-pie.d: Likewise.
618 * ld-arm/arm-elf.exp: Run new testcases.
619 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
620 * ld-arm/ifunc-7.rd: Likewise.
621 * ld-arm/ifunc-7.gd: Likewise.
622 * ld-arm/ifunc-7.dd: Likewise.
623 * ld-arm/ifunc-8.s: Likewise.
624 * ld-arm/ifunc-8.rd: Likewise.
625 * ld-arm/ifunc-8.gd: Likewise.
626 * ld-arm/ifunc-8.dd: Likewise.
628 2015-01-01 Alan Modra <amodra@gmail.com>
630 * ldver.c (ldversion): Just print current year.
632 2015-01-01 Alan Modra <amodra@gmail.com>
634 Update year range in copyright notice of all files.
636 For older changes see ChangeLog-2014
638 Copyright (C) 2015 Free Software Foundation, Inc.
640 Copying and distribution of this file, with or without modification,
641 are permitted in any medium without royalty provided the copyright
642 notice and this notice are preserved.
648 version-control: never