1 2015-05-14 Nick Clifton <nickc@redhat.com>
3 * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd
6 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
8 * configure.tgt: Support i[3-7]86-*-elfiamcu target.
10 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
12 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c.
14 * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is
16 * Makefile.in: Regenerated.
17 * emulparams/elf_iamcu.sh: New file.
19 2015-05-05 Nick Clifton <nickc@redhat.com>
21 * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
22 * scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
23 (.data): Add .lower.data and .either.data.
24 (.bss): Add .lower.bss and .either.bss.
25 (.rodata): Add .lower.rodata and .either.rodata.
26 * emultempl/msp430.em: New file. Implements a new orphan
27 placement algorithm that divides sections between lower and upper
29 * Makefile.am (emsp430elf.c): Depend upon msp430.em.
30 *emsp430X.c): Likewise.
31 * Makefine.in: Regenerate.
33 2015-04-28 Andreas Schwab <schwab@linux-m68k.org>
36 * ldlex.l (INPUTLIST): Increment lineno on newline.
38 2015-04-24 Alan Modra <amodra@gmail.com>
40 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
41 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
43 2015-04-24 DJ Delorie <dj@redhat.com>
45 * Makefile.am (msp430): Rename primary emulation to msp430elf.
46 (emsp430.c): Rename to emsp430elf.c, update dependencies
47 (emsp430X.c): Update dependencies.
48 * Makefile.in: Likewise.
49 * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
50 * emulparams/msp430.sh: Rename to msp430elf.sh.
51 * emulparams/msp430X.sh: Update.
53 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
56 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
58 2015-04-23 Alan Modra <amodra@gmail.com>
60 * emulparams/elf64ppc.sh (GOT): Align.
62 2015-04-22 Alan Modra <amodra@gmail.com>
64 * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add
65 data_seg.relro_offset.
66 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
67 (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
68 * ldlang.c (lang_size_sections): Rewrite code adjusting relro
69 segment base to line up last section on page boundary.
71 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
74 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
76 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
78 * ld.texinfo: Document --compress-debug-sections=.
79 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
80 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd
81 for COMPRESS_DEBUG_GABI_ZLIB.
82 * lexsup.c (elf_static_list_options): Add
83 --compress-debug-sections=.
84 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
85 (xtra_long): Add "compress-debug-sections".
86 (gld${EMULATION_NAME}_handle_option): Handle
87 OPTION_COMPRESS_DEBUG.
89 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
92 * ld.texinfo: Document "-z noextern-protected-data".
93 * ldmain.c (main): Initialize link_info.extern_protected_data
95 * lexsup.c (elf_shlib_list_options): Add
96 "-z [no]extern-protected-data".
97 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
98 * emulparams/elf_i386.sh: Likewise.
99 * emulparams/elf_i386_be.sh: Likewise.
100 * emulparams/elf_i386_chaos.sh: Likewise.
101 * emulparams/elf_i386_ldso.sh: Likewise.
102 * emulparams/elf_i386_vxworks.sh: Likewise.
103 * emulparams/elf_k1om.sh: Likewise.
104 * emulparams/elf_l1om.sh: Likewise.
105 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
106 (PARSE_AND_LIST_OPTIONS): Renamed to ...
107 (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
108 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
109 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
110 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
111 (PARSE_AND_LIST_ARGS_CASE_Z): Append
112 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
113 * emulparams/extern_protected_data.sh: New file.
115 2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
117 * plugin.c (plugin_load_plugins): Removed an extra ';'.
119 2015-04-10 Nick Clifton <nickc@redhat.com>
122 * ld.texinfo (--be8): Add a note about the interaction of this
123 option with the assembler's -EB option.
125 2015-04-10 Alan Modra <amodra@gmail.com>
127 * configure.ac: Set elf_list_options etc. in proper case.
128 * configure: Regenerate.
130 2015-04-10 Alan Modra <amodra@gmail.com>
133 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
135 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
137 * emulparams/elf_x86_64.sh (BNDPLT): Removed.
138 (PARSE_AND_LIST_OPTIONS): New.
139 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
140 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
141 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z.
142 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
144 2015-04-09 Nick Clifton <nickc@redhat.com>
146 * po/fr.po: Updated French translation.
148 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
150 * configure.ac (elf_list_options): Set to TRUE for
151 --enable-targets=all.
152 (elf_shlib_list_options): Likewise.
153 (elf_plt_unwind_list_options): Likewise.
154 * configure: Regenerated.
156 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
158 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
160 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
162 * Makefile.am (ELF_CLFAGS): New.
163 (AM_CFLAGS): Add $(ELF_CLFAGS).
164 * configure.ac (elf_list_options): New. AC_SUBST.
165 (elf_shlib_list_options): Likewise.
166 (elf_plt_unwind_list_options): Likewise.
167 * lexsup.c (elf_shlib_list_options): New.
168 (elf_static_list_options): Likewise.
169 (elf_plt_unwind_list_options): Likewise.
170 (ld_list_options): Likewise.
171 (help): Call ld_list_options.
172 * Makefile.in: Regenerated.
173 * configure: Likewise.
174 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
175 (PARSE_AND_LIST_OPTIONS): Removed.
176 * emultempl/elf32.em (gld_list_options): New.
177 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
178 PARSE_AND_LIST_OPTIONS is defined.
179 (ld_${EMULATION_NAME}_emulation): Replace
180 gld${EMULATION_NAME}_list_options with ${gld_list_options.
182 2015-04-07 Alan Modra <amodra@gmail.com>
185 * ldlang.c (lang_size_sections): Cast shift expression.
187 2015-04-07 Alan Modra <amodra@gmail.com>
189 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
190 (params): Init new field.
191 (ppc_before_allocation): Enable relaxation for pic_fixup.
193 2015-04-07 Nick Clifton <nickc@redhat.com>
195 * ld.h (struct ld_config_type): Add new field: warn_orphan.
196 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
197 OPTION_NO_WARN_ORPHAN.
198 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
199 (parse_args): Handle the new options.
200 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
201 message when an orphan section is placed in the output file.
202 * ld.texinfo: Document the new option.
203 * NEWS: Mention the new feature.
205 2015-04-02 Andrew Turner <andrew@freebsd.org>
207 * Makefile.am: Add FreeBSD aarch64 files.
208 * Makefile.in: Regenerate.
209 * configure.tgt: Add aarch64-*-freebsd* target triple.
210 * emulparams/aarch64fbsd.sh: New file.
211 * emulparams/aarch64fbsdb.sh: New file.
213 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
215 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
216 around a GCC uninitialized warning bug fixed in GCC 4.6.
218 2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
220 * emultempl/aarch64elf.em
221 (aarch64_elf_create_output_section_statements): Add parameter in
222 bfd_elf${ELFSIZE}_aarch64_set_options call.
223 (OPTION_FIX_ERRATUM_843419): Define.
224 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
225 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
227 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
229 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
230 relocating operation.
232 2015-04-01 Alan Modra <amodra@gmail.com>
235 * ldlang.c (lang_size_sections): When alignment of sections
236 results in relro base adjustment being too large, don't go lower
237 than the initial value.
238 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
239 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
240 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
242 2015-04-01 Alan Modra <amodra@gmail.com>
244 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
245 init ehdr_start_save.
247 2015-04-01 Alan Modra <amodra@gmail.com>
249 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
251 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
252 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
253 eelf32ppcsim.c): Rearrange deps for consistency.
254 * Makefile.in: Regenerate.
256 2015-04-01 Ed Schouten <ed@nuxi.nl>
258 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
259 the ehdr_start_save variable.
261 2015-03-31 Ed Schouten <ed@nuxi.nl>
263 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
264 eelf_x86_64_cloudabi.c.
265 (eelf_x86_64_cloudabi.c): New.
266 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
268 * Makefile.in: Regenerated.
269 * emulparams/elf_x86_64_cloudabi.sh: New file.
271 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
273 * configure.ac (AM_ZLIB): Removed.
274 * Makefile.in: Regenerated.
275 * config.in: Likewise.
276 * configure: Likewise.
278 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
280 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
283 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
285 * emultempl/aarch64elf.em
286 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
288 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
290 * ldmain.c (main): Use %F instead of %X for einfo.
292 2015-03-02 Alan Modra <amodra@gmail.com>
294 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
296 2015-02-27 Nick Clifton <nickc@redhat.com>
299 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
300 sense of the following memory region attribute characters.
302 2015-02-27 Alan Modra <amodra@gmail.com>
304 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
305 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
306 eh8300sxelf_linux.c): Do not invoke genscripts here.
307 * Makefile.in: Regenerate.
309 2015-02-24 Nick Clifton <nickc@redhat.com>
311 * Makefile.am (ev850.c): Add dependency upon
312 $(srcdir)/emultempl/v850elf.em.
313 (ev850_rh850.c): Likewise.
314 * Makefile.in: Regenerate.
315 * emultempl/v850elf.em: New file.
316 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
317 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
318 * scripttempl/v850.sc: Add .note.renesas section.
319 * scripttempl/v850_rh850.sc: Likewise.
321 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
323 * scripttempl/avr.sc: Add new user_signatures region. Define and
324 use symbols for all region lengths.
325 * scripttempl/avrtiny.sc: Define and use symbols for all region
328 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
330 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
331 * Makefile.in: Regenerate.
332 * configure.tgt: Add h8300-*-linux
333 * emulparams/h8300elf_linux.sh: Add new emulation.
334 * emulparams/h8300helf_linux.sh: Likewise.
335 * emulparams/h8300self_linux.sh: Likewise.
336 * emulparams/h8300sxelf_linux.sh: Likewise.
338 2015-02-23 Nick Clifton <nickc@redhat.com>
340 * lexsup.c (parse_args): Produce a more reasonable error message
341 when -ixxx or -rxxx is the last option on the linker command line.
343 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
346 * testplug2.c (allsymbolsread_silent): New.
347 (set_register_hook): Handle allsymbolsreadsilent.
348 (onall_symbols_read): Skip a message if allsymbolsread_silent is
351 2015-02-14 Alan Modra <amodra@gmail.com>
354 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
355 * ldlang.c (lang_process): Don't set loading_lto_outputs.
356 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
358 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
360 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
362 * NEWS: Mention support for LLVM plugin.
364 2015-02-13 Alan Modra <amodra@gmail.com>
366 * ld.texinfo (Options <--defsym>): Correct cross reference.
368 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
370 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
371 option compatibility.
373 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
375 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
376 "error:" for LDPL_FATAL and LDPL_ERROR.
377 * testplug2.c (parse_option): Handle fatal, error and warning.
379 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
381 * testplug2.c (dump_tv_tag): Removed.
382 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
384 * testplug3.c (dump_tv_tag): Removed.
385 (onclaim_file): Fix typo.
387 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
390 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
392 (libldtestplug2_la_SOURCES): New.
393 (libldtestplug2_la_CFLAGS): Likewise.
394 (libldtestplug2_la_LDFLAGS): Likewise.
395 (libldtestplug3_la_SOURCES): New.
396 (libldtestplug3_la_CFLAGS): Likewise.
397 (libldtestplug3_la_LDFLAGS): Likewise.
398 * Makefile.in: Regenerated.
399 * testplug2.c: New file.
400 * testplug3.c: Likewise.
402 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
405 * plugin.c: Include ../bfd/plugin.h.
406 (plugin_get_ir_dummy_bfd): Call bfd_create with
407 link_info.output_bfd instead of srctemplate. Copy BFD info
408 from srctemplate only if it doesn't use BFD plugin target
410 (plugin_load_plugins): Call register_ld_plugin_object_p with
412 (plugin_maybe_claim): Renamed to ...
413 (plugin_object_p): This. Return dummy BFD target vector if
414 input is calimed by plugin library, otherwise return NULL.
415 Update plugin_format and plugin_dummy_bfd.
416 (plugin_maybe_claim): New. Use plugin_object_p.
418 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
420 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
422 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
424 * plugin.c (plugin_input_file_t): Add use_mmap.
425 (plugin_pagesize): New.
426 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
427 (plugin_load_plugins): Initialize plugin_pagesize.
428 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
431 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
433 * plugin.c (get_view): Align offset passed to mmap.
435 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
437 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
438 if plugin isn't active or there is no thing more to claim.
440 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
442 * plugin.c (plugin_maybe_claim): Check format against bfd_object
445 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
447 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
450 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
452 * plugin.c: Include "libbfd.h".
453 (plugin_strdup): New.
454 (plugin_maybe_claim): Remove the argument of pointer to struct
455 ld_plugin_input_file. Open and handle input entry.
456 * plugin.h (plugin_maybe_claim): Updated.
457 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
458 without passing a pointer to struct ld_plugin_input_file.
459 * ldmain.c: Don't include "libbfd.h".
460 (add_archive_element): Call plugin_maybe_claim directly without
461 passing a pointer to struct ld_plugin_input_file.
463 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
465 * ld.texinfo: Document -z text, -z notext and -z textoff.
466 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
467 -z text, -z notext and -z textoff.
469 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
471 * configure.ac: Add AC_FUNC_MMAP.
472 * config.in: Regenerated.
473 * configure: Likewise.
474 * plugin.c: Include <sys/mman.h>.
475 (MAP_FAILED): New. Defined if not defined.
476 (PROT_READ): Likewise.
477 (MAP_PRIVATE): Likewise.
478 (view_buffer_t): New.
479 (plugin_input_file_t): Add view_buffer.
480 (get_view): Try mmap and cache the view buffer.
481 (plugin_maybe_claim): Initialize view_buffer.
483 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
485 * plugin.c (release_input_file): Set fd to -1 after closing it.
486 (plugin_maybe_claim): Close fd only if fd != -1.
488 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
491 * plugin.c: Include <errno.h>.
492 (errno): New. Declare if needed.
493 (plugin_input_file_t): New.
494 (get_input_file): Implemented.
495 (get_view): Likewise.
496 (release_input_file): Likewise.
497 (add_symbols): Updated.
498 (get_symbols): Likewise.
499 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
500 only for a bfd_object input.
502 2015-02-02 Alan Modra <amodra@gmail.com>
504 * emultempl/ppc64elf.em (toc_section_name): New var.
505 (ppc_after_open): Set it.
506 (ppc_before_allocation): Use it.
507 (gld${EMULATION_NAME}_after_allocation): Here too.
509 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
511 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
512 with link_info.lto_plugin_active.
513 * ldlang.c (lang_process): Likewise.
514 * ldmain.c (add_archive_element): Likewise.
515 * plugin.c (plugin_active_plugins_p): Removed.
516 * plugin.h (plugin_active_plugins_p): Likewise.
518 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
520 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
522 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
524 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
527 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
528 (get_view): New function.
529 (set_tv_header): Handle LDPT_GET_VIEW.
530 * testplug.c (tag_names): Add LDPT_GET_VIEW.
532 (dump_tv_tag): Handle LDPT_GET_VIEW.
533 (parse_tv_tag): Likewise.
535 2015-01-28 Alan Modra <amodra@gmail.com>
537 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
538 * emultempl/ppc64elf.em (params): Init new field.
539 (ppc_after_open): New function.
540 (LDEMUL_AFTER_OPEN): Define.
541 * ldlang.c (lang_final): Whitespace fix.
543 2015-01-28 James Bowman <james.bowman@ftdichip.com>
545 * Makefile.am: Add FT32 files.
546 * configure.tgt: Handle FT32 target.
547 * emulparams/elf32ft32.sh: New file.
548 * scripttempl/ft32.sc: New file.
549 * Makefile.in: Regenerate.
551 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
554 * ldexp.c (fold_name): Fold LENGTH only after
555 lang_first_phase_enum.
556 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
558 * ldlang.h (struct memory_region_struct): Add origin_exp and
560 * ldlang.c (lang_do_memory_regions): New.
561 (lang_memory_region_lookup): Initialize origin_exp and
563 (lang_process): Call lang_do_memory_regions.
565 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
567 * ldlang.c (print_assignment): Only evaluate the expression for a
568 PROVIDE'd assignment when the destination is being defined.
569 Display a special message for PROVIDE'd symbols that are not being
572 2015-01-20 Alan Modra <amodra@gmail.com>
574 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
575 (OTHER_BSS_SYMBOLS): ..this.
576 (OTHER_PLT_RELOC_SECTIONS): Don't define.
577 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
578 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
579 (OTHER_RELRO_SECTIONS_2): ..here.
580 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
582 2015-01-20 Alan Modra <amodra@gmail.com>
584 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
585 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
586 (OTHER_RELRO_SECTIONS_2): ..here.
587 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
588 PLT_BEFORE_GOT): Define.
589 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
590 PLT_BEFORE_GOT combination.
591 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
593 2015-01-20 Alan Modra <amodra@gmail.com>
595 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
596 (OTHER_RELRO_SECTIONS_2): ..here, new define.
597 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
599 2015-01-19 Alan Modra <amodra@gmail.com>
602 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
604 2015-01-14 Jiong Wang <jiong.wang@arm.com>
606 * ld-arm/elf32-reject.s: New testcase.
607 * ld-arm/elf32-reject.d: Likewise.
608 * ld-arm/elf32-reject-pie.s: Likewise.
609 * ld-arm/elf32-reject-pie.d: Likewise.
610 * ld-arm/arm-elf.exp: Run new testcases.
611 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
612 * ld-arm/ifunc-7.rd: Likewise.
613 * ld-arm/ifunc-7.gd: Likewise.
614 * ld-arm/ifunc-7.dd: Likewise.
615 * ld-arm/ifunc-8.s: Likewise.
616 * ld-arm/ifunc-8.rd: Likewise.
617 * ld-arm/ifunc-8.gd: Likewise.
618 * ld-arm/ifunc-8.dd: Likewise.
620 2015-01-01 Alan Modra <amodra@gmail.com>
622 * ldver.c (ldversion): Just print current year.
624 2015-01-01 Alan Modra <amodra@gmail.com>
626 Update year range in copyright notice of all files.
628 For older changes see ChangeLog-2014
630 Copyright (C) 2015 Free Software Foundation, Inc.
632 Copying and distribution of this file, with or without modification,
633 are permitted in any medium without royalty provided the copyright
634 notice and this notice are preserved.
640 version-control: never