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