Update description of the ASSERT linker script command to note its interation with...
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2015-05-14 Nick Clifton <nickc@redhat.com>
2
3 * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd
4 symbols.
5
6 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
7
8 * configure.tgt: Support i[3-7]86-*-elfiamcu target.
9
10 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
11
12 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c.
13 (eelf_iamcu.c): New.
14 * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is
15 enabled in BFD.
16 * Makefile.in: Regenerated.
17 * emulparams/elf_iamcu.sh: New file.
18
19 2015-05-05 Nick Clifton <nickc@redhat.com>
20
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
28 memory regions.
29 * Makefile.am (emsp430elf.c): Depend upon msp430.em.
30 *emsp430X.c): Likewise.
31 * Makefine.in: Regenerate.
32
33 2015-04-28 Andreas Schwab <schwab@linux-m68k.org>
34
35 PR ld/18344
36 * ldlex.l (INPUTLIST): Increment lineno on newline.
37
38 2015-04-24 Alan Modra <amodra@gmail.com>
39
40 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
41 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
42
43 2015-04-24 DJ Delorie <dj@redhat.com>
44
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.
52
53 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
54
55 PR binutils/18209
56 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
57
58 2015-04-23 Alan Modra <amodra@gmail.com>
59
60 * emulparams/elf64ppc.sh (GOT): Align.
61
62 2015-04-22 Alan Modra <amodra@gmail.com>
63
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.
70
71 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
72
73 * NEWS: Mention
74 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
75
76 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
77
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.
88
89 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
90
91 PR ld/pr17709
92 * ld.texinfo: Document "-z noextern-protected-data".
93 * ldmain.c (main): Initialize link_info.extern_protected_data
94 to -1.
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.
114
115 2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
116
117 * plugin.c (plugin_load_plugins): Removed an extra ';'.
118
119 2015-04-10 Nick Clifton <nickc@redhat.com>
120
121 PR binutils/18198
122 * ld.texinfo (--be8): Add a note about the interaction of this
123 option with the assembler's -EB option.
124
125 2015-04-10 Alan Modra <amodra@gmail.com>
126
127 * configure.ac: Set elf_list_options etc. in proper case.
128 * configure: Regenerate.
129
130 2015-04-10 Alan Modra <amodra@gmail.com>
131
132 PR ld/18223
133 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
134
135 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
136
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.
143
144 2015-04-09 Nick Clifton <nickc@redhat.com>
145
146 * po/fr.po: Updated French translation.
147
148 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
149
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.
155
156 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
157
158 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
159
160 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
161
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.
181
182 2015-04-07 Alan Modra <amodra@gmail.com>
183
184 PR ld/18176
185 * ldlang.c (lang_size_sections): Cast shift expression.
186
187 2015-04-07 Alan Modra <amodra@gmail.com>
188
189 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
190 (params): Init new field.
191 (ppc_before_allocation): Enable relaxation for pic_fixup.
192
193 2015-04-07 Nick Clifton <nickc@redhat.com>
194
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.
204
205 2015-04-02 Andrew Turner <andrew@freebsd.org>
206
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.
212
213 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
214
215 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
216 around a GCC uninitialized warning bug fixed in GCC 4.6.
217
218 2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
219
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.
226
227 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
228
229 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
230 relocating operation.
231
232 2015-04-01 Alan Modra <amodra@gmail.com>
233
234 PR ld/18176
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.
241
242 2015-04-01 Alan Modra <amodra@gmail.com>
243
244 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
245 init ehdr_start_save.
246
247 2015-04-01 Alan Modra <amodra@gmail.com>
248
249 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
250 ldemul-list.h.
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.
255
256 2015-04-01 Ed Schouten <ed@nuxi.nl>
257
258 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
259 the ehdr_start_save variable.
260
261 2015-03-31 Ed Schouten <ed@nuxi.nl>
262
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
267 x86_64-*-cloudabi*.
268 * Makefile.in: Regenerated.
269 * emulparams/elf_x86_64_cloudabi.sh: New file.
270
271 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
272
273 * configure.ac (AM_ZLIB): Removed.
274 * Makefile.in: Regenerated.
275 * config.in: Likewise.
276 * configure: Likewise.
277
278 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
279
280 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
281 alignment to 2.
282
283 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
284
285 * emultempl/aarch64elf.em
286 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
287
288 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
289
290 * ldmain.c (main): Use %F instead of %X for einfo.
291
292 2015-03-02 Alan Modra <amodra@gmail.com>
293
294 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
295
296 2015-02-27 Nick Clifton <nickc@redhat.com>
297
298 PR ld/17900
299 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
300 sense of the following memory region attribute characters.
301
302 2015-02-27 Alan Modra <amodra@gmail.com>
303
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.
308
309 2015-02-24 Nick Clifton <nickc@redhat.com>
310
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.
320
321 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
322
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
326 lengths.
327
328 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
329
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.
337
338 2015-02-23 Nick Clifton <nickc@redhat.com>
339
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.
342
343 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
344
345 PR ld/17973
346 * testplug2.c (allsymbolsread_silent): New.
347 (set_register_hook): Handle allsymbolsreadsilent.
348 (onall_symbols_read): Skip a message if allsymbolsread_silent is
349 TRUE.
350
351 2015-02-14 Alan Modra <amodra@gmail.com>
352
353 PR ld/17973
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
357 to bfd.
358 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
359
360 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
361
362 * NEWS: Mention support for LLVM plugin.
363
364 2015-02-13 Alan Modra <amodra@gmail.com>
365
366 * ld.texinfo (Options <--defsym>): Correct cross reference.
367
368 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
369
370 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
371 option compatibility.
372
373 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
374
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.
378
379 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
380
381 * testplug2.c (dump_tv_tag): Removed.
382 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
383 closed.
384 * testplug3.c (dump_tv_tag): Removed.
385 (onclaim_file): Fix typo.
386
387 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
388
389 PR ld/17878
390 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
391 libldtestplug3.la.
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.
401
402 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
403
404 PR ld/17878
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
409 vector.
410 (plugin_load_plugins): Call register_ld_plugin_object_p with
411 (plugin_object_p)
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.
417
418 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
419
420 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
421
422 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
423
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
429 file.
430
431 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
432
433 * plugin.c (get_view): Align offset passed to mmap.
434
435 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
436
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.
439
440 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
441
442 * plugin.c (plugin_maybe_claim): Check format against bfd_object
443 directly.
444
445 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
446
447 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
448 ibfd.
449
450 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
451
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.
462
463 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
464
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.
468
469 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
470
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.
482
483 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
484
485 * plugin.c (release_input_file): Set fd to -1 after closing it.
486 (plugin_maybe_claim): Close fd only if fd != -1.
487
488 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
489
490 PR ld/17878
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.
501
502 2015-02-02 Alan Modra <amodra@gmail.com>
503
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.
508
509 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
510
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.
517
518 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
519
520 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
521 ...
522 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
523
524 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
525
526 PR ld/17878
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.
531 (tv_get_view): New.
532 (dump_tv_tag): Handle LDPT_GET_VIEW.
533 (parse_tv_tag): Likewise.
534
535 2015-01-28 Alan Modra <amodra@gmail.com>
536
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.
542
543 2015-01-28 James Bowman <james.bowman@ftdichip.com>
544
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.
550
551 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
552
553 PR 4643
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
557 rightaway.
558 * ldlang.h (struct memory_region_struct): Add origin_exp and
559 length_exp fields.
560 * ldlang.c (lang_do_memory_regions): New.
561 (lang_memory_region_lookup): Initialize origin_exp and
562 length_exp fields.
563 (lang_process): Call lang_do_memory_regions.
564
565 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
566
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
570 provided.
571
572 2015-01-20 Alan Modra <amodra@gmail.com>
573
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.
581
582 2015-01-20 Alan Modra <amodra@gmail.com>
583
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.
592
593 2015-01-20 Alan Modra <amodra@gmail.com>
594
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.
598
599 2015-01-19 Alan Modra <amodra@gmail.com>
600
601 PR ld/17615
602 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
603
604 2015-01-14 Jiong Wang <jiong.wang@arm.com>
605
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.
619
620 2015-01-01 Alan Modra <amodra@gmail.com>
621
622 * ldver.c (ldversion): Just print current year.
623
624 2015-01-01 Alan Modra <amodra@gmail.com>
625
626 Update year range in copyright notice of all files.
627
628 For older changes see ChangeLog-2014
629 \f
630 Copyright (C) 2015 Free Software Foundation, Inc.
631
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.
635
636 Local Variables:
637 mode: change-log
638 left-margin: 8
639 fill-column: 74
640 version-control: never
641 End:
This page took 0.043697 seconds and 5 git commands to generate.