]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
xtensa: optimize trampolines relaxation
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
a13eab06
AS
12015-04-28 Andreas Schwab <schwab@linux-m68k.org>
2
3 PR ld/18344
4 * ldlex.l (INPUTLIST): Increment lineno on newline.
5
44bd1acd
AM
62015-04-24 Alan Modra <amodra@gmail.com>
7
8 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
9 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
10
08e2f2bb
DD
112015-04-24 DJ Delorie <dj@redhat.com>
12
13 * Makefile.am (msp430): Rename primary emulation to msp430elf.
14 (emsp430.c): Rename to emsp430elf.c, update dependencies
15 (emsp430X.c): Update dependencies.
16 * Makefile.in: Likewise.
17 * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
d9e88e90 18 * emulparams/msp430.sh: Rename to msp430elf.sh.
08e2f2bb
DD
19 * emulparams/msp430X.sh: Update.
20
f6fe1ccd
L
212015-04-23 H.J. Lu <hongjiu.lu@intel.com>
22
23 PR binutils/18209
24 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
25
a27e685f
AM
262015-04-23 Alan Modra <amodra@gmail.com>
27
28 * emulparams/elf64ppc.sh (GOT): Align.
29
0e5fabeb
AM
302015-04-22 Alan Modra <amodra@gmail.com>
31
32 * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add
33 data_seg.relro_offset.
34 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
35 (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
36 * ldlang.c (lang_size_sections): Rewrite code adjusting relro
37 segment base to line up last section on page boundary.
38
ea556d25
L
392015-04-15 H.J. Lu <hongjiu.lu@intel.com>
40
41 * NEWS: Mention
42 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
43
0ce398f1
L
442015-04-14 H.J. Lu <hongjiu.lu@intel.com>
45
46 * ld.texinfo: Document --compress-debug-sections=.
47 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
48 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd
49 for COMPRESS_DEBUG_GABI_ZLIB.
50 * lexsup.c (elf_static_list_options): Add
51 --compress-debug-sections=.
52 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
53 (xtra_long): Add "compress-debug-sections".
54 (gld${EMULATION_NAME}_handle_option): Handle
55 OPTION_COMPRESS_DEBUG.
56
889c2a67
L
572015-04-14 H.J. Lu <hongjiu.lu@intel.com>
58
59 PR ld/pr17709
60 * ld.texinfo: Document "-z noextern-protected-data".
61 * ldmain.c (main): Initialize link_info.extern_protected_data
62 to -1.
63 * lexsup.c (elf_shlib_list_options): Add
64 "-z [no]extern-protected-data".
65 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
66 * emulparams/elf_i386.sh: Likewise.
67 * emulparams/elf_i386_be.sh: Likewise.
68 * emulparams/elf_i386_chaos.sh: Likewise.
69 * emulparams/elf_i386_ldso.sh: Likewise.
70 * emulparams/elf_i386_vxworks.sh: Likewise.
71 * emulparams/elf_k1om.sh: Likewise.
72 * emulparams/elf_l1om.sh: Likewise.
73 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
74 (PARSE_AND_LIST_OPTIONS): Renamed to ...
75 (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
76 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
77 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
78 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
79 (PARSE_AND_LIST_ARGS_CASE_Z): Append
80 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
81 * emulparams/extern_protected_data.sh: New file.
82
fd5a1509
L
832015-04-11 H.J. Lu <hongjiu.lu@intel.com>
84
85 * plugin.c (plugin_load_plugins): Removed an extra ';'.
86
080bb7bb
NC
872015-04-10 Nick Clifton <nickc@redhat.com>
88
89 PR binutils/18198
90 * ld.texinfo (--be8): Add a note about the interaction of this
91 option with the assembler's -EB option.
92
8c3fff59
AM
932015-04-10 Alan Modra <amodra@gmail.com>
94
95 * configure.ac: Set elf_list_options etc. in proper case.
96 * configure: Regenerate.
97
6166ed93
AM
982015-04-10 Alan Modra <amodra@gmail.com>
99
100 PR ld/18223
101 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
102
eba27bd7
L
1032015-04-09 H.J. Lu <hongjiu.lu@intel.com>
104
105 * emulparams/elf_x86_64.sh (BNDPLT): Removed.
106 (PARSE_AND_LIST_OPTIONS): New.
107 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
108 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
109 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z.
110 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
111
233723a4
NC
1122015-04-09 Nick Clifton <nickc@redhat.com>
113
114 * po/fr.po: Updated French translation.
115
82d8e420
L
1162015-04-08 H.J. Lu <hongjiu.lu@intel.com>
117
118 * configure.ac (elf_list_options): Set to TRUE for
119 --enable-targets=all.
120 (elf_shlib_list_options): Likewise.
121 (elf_plt_unwind_list_options): Likewise.
122 * configure: Regenerated.
123
31b94bbb
L
1242015-04-08 H.J. Lu <hongjiu.lu@intel.com>
125
126 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
127
c58212ea
L
1282015-04-08 H.J. Lu <hongjiu.lu@intel.com>
129
130 * Makefile.am (ELF_CLFAGS): New.
131 (AM_CFLAGS): Add $(ELF_CLFAGS).
132 * configure.ac (elf_list_options): New. AC_SUBST.
133 (elf_shlib_list_options): Likewise.
134 (elf_plt_unwind_list_options): Likewise.
135 * lexsup.c (elf_shlib_list_options): New.
136 (elf_static_list_options): Likewise.
137 (elf_plt_unwind_list_options): Likewise.
138 (ld_list_options): Likewise.
139 (help): Call ld_list_options.
140 * Makefile.in: Regenerated.
141 * configure: Likewise.
142 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
143 (PARSE_AND_LIST_OPTIONS): Removed.
144 * emultempl/elf32.em (gld_list_options): New.
145 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
146 PARSE_AND_LIST_OPTIONS is defined.
147 (ld_${EMULATION_NAME}_emulation): Replace
148 gld${EMULATION_NAME}_list_options with ${gld_list_options.
149
0fad6e4b
AM
1502015-04-07 Alan Modra <amodra@gmail.com>
151
152 PR ld/18176
153 * ldlang.c (lang_size_sections): Cast shift expression.
154
d3e454b9
AM
1552015-04-07 Alan Modra <amodra@gmail.com>
156
157 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
158 (params): Init new field.
159 (ppc_before_allocation): Enable relaxation for pic_fixup.
160
3ea60775
NC
1612015-04-07 Nick Clifton <nickc@redhat.com>
162
163 * ld.h (struct ld_config_type): Add new field: warn_orphan.
164 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
165 OPTION_NO_WARN_ORPHAN.
166 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
167 (parse_args): Handle the new options.
168 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
169 message when an orphan section is placed in the output file.
170 * ld.texinfo: Document the new option.
171 * NEWS: Mention the new feature.
172
15c7659f
AT
1732015-04-02 Andrew Turner <andrew@freebsd.org>
174
175 * Makefile.am: Add FreeBSD aarch64 files.
176 * Makefile.in: Regenerate.
177 * configure.tgt: Add aarch64-*-freebsd* target triple.
178 * emulparams/aarch64fbsd.sh: New file.
179 * emulparams/aarch64fbsdb.sh: New file.
180
a0bde398
L
1812015-04-01 H.J. Lu <hongjiu.lu@intel.com>
182
183 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
184 around a GCC uninitialized warning bug fixed in GCC 4.6.
185
4106101c
MS
1862015-04-01 Tejas Belagod <tejas.belagod@arm.com>
187
188 * emultempl/aarch64elf.em
189 (aarch64_elf_create_output_section_statements): Add parameter in
190 bfd_elf${ELFSIZE}_aarch64_set_options call.
191 (OPTION_FIX_ERRATUM_843419): Define.
192 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
193 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
194
16c1c9d6
CG
1952015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
196
197 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
198 relocating operation.
199
6c1aca3e
AM
2002015-04-01 Alan Modra <amodra@gmail.com>
201
875b5b9d 202 PR ld/18176
6c1aca3e
AM
203 * ldlang.c (lang_size_sections): When alignment of sections
204 results in relro base adjustment being too large, don't go lower
205 than the initial value.
206 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
207 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
208 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
209
4a0bc59e
AM
2102015-04-01 Alan Modra <amodra@gmail.com>
211
212 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
213 init ehdr_start_save.
214
42271ec5
AM
2152015-04-01 Alan Modra <amodra@gmail.com>
216
217 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
218 ldemul-list.h.
219 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
220 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
221 eelf32ppcsim.c): Rearrange deps for consistency.
222 * Makefile.in: Regenerate.
223
4e791d0f
ES
2242015-04-01 Ed Schouten <ed@nuxi.nl>
225
226 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
227 the ehdr_start_save variable.
228
6036f486
ES
2292015-03-31 Ed Schouten <ed@nuxi.nl>
230
231 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
232 eelf_x86_64_cloudabi.c.
233 (eelf_x86_64_cloudabi.c): New.
234 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
235 x86_64-*-cloudabi*.
236 * Makefile.in: Regenerated.
237 * emulparams/elf_x86_64_cloudabi.sh: New file.
238
f24173eb
L
2392015-03-31 H.J. Lu <hongjiu.lu@intel.com>
240
241 * configure.ac (AM_ZLIB): Removed.
242 * Makefile.in: Regenerated.
243 * config.in: Likewise.
244 * configure: Likewise.
245
d9ced15d
MS
2462015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
247
248 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
249 alignment to 2.
250
499c37b5
MS
2512015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
252
253 * emultempl/aarch64elf.em
254 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
255
b3862264
CG
2562015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
257
258 * ldmain.c (main): Use %F instead of %X for einfo.
259
daf220f0
AM
2602015-03-02 Alan Modra <amodra@gmail.com>
261
262 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
263
f0673d20
NC
2642015-02-27 Nick Clifton <nickc@redhat.com>
265
266 PR ld/17900
267 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
268 sense of the following memory region attribute characters.
269
330b17b3
AM
2702015-02-27 Alan Modra <amodra@gmail.com>
271
272 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
273 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
274 eh8300sxelf_linux.c): Do not invoke genscripts here.
275 * Makefile.in: Regenerate.
276
685080f2
NC
2772015-02-24 Nick Clifton <nickc@redhat.com>
278
279 * Makefile.am (ev850.c): Add dependency upon
280 $(srcdir)/emultempl/v850elf.em.
281 (ev850_rh850.c): Likewise.
282 * Makefile.in: Regenerate.
283 * emultempl/v850elf.em: New file.
284 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
285 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
286 * scripttempl/v850.sc: Add .note.renesas section.
287 * scripttempl/v850_rh850.sc: Likewise.
288
cb072816
SKS
2892015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
290
291 * scripttempl/avr.sc: Add new user_signatures region. Define and
292 use symbols for all region lengths.
293 * scripttempl/avrtiny.sc: Define and use symbols for all region
294 lengths.
295
5518c738
YS
2962015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
297
298 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
299 * Makefile.in: Regenerate.
300 * configure.tgt: Add h8300-*-linux
301 * emulparams/h8300elf_linux.sh: Add new emulation.
302 * emulparams/h8300helf_linux.sh: Likewise.
303 * emulparams/h8300self_linux.sh: Likewise.
304 * emulparams/h8300sxelf_linux.sh: Likewise.
305
f971c12f
NC
3062015-02-23 Nick Clifton <nickc@redhat.com>
307
308 * lexsup.c (parse_args): Produce a more reasonable error message
309 when -ixxx or -rxxx is the last option on the linker command line.
310
f58926a6
L
3112015-02-14 H.J. Lu <hongjiu.lu@intel.com>
312
313 PR ld/17973
314 * testplug2.c (allsymbolsread_silent): New.
315 (set_register_hook): Handle allsymbolsreadsilent.
316 (onall_symbols_read): Skip a message if allsymbolsread_silent is
317 TRUE.
318
ce875075
AM
3192015-02-14 Alan Modra <amodra@gmail.com>
320
321 PR ld/17973
322 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
323 * ldlang.c (lang_process): Don't set loading_lto_outputs.
324 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
325 to bfd.
326 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
327
b0619670
L
3282015-02-13 H.J. Lu <hongjiu.lu@intel.com>
329
330 * NEWS: Mention support for LLVM plugin.
331
66bc8739
AM
3322015-02-13 Alan Modra <amodra@gmail.com>
333
334 * ld.texinfo (Options <--defsym>): Correct cross reference.
335
88b9e2eb
L
3362015-02-11 H.J. Lu <hongjiu.lu@intel.com>
337
338 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
339 option compatibility.
340
45e81354
L
3412015-02-11 H.J. Lu <hongjiu.lu@intel.com>
342
343 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
344 "error:" for LDPL_FATAL and LDPL_ERROR.
345 * testplug2.c (parse_option): Handle fatal, error and warning.
346
e3001fd9
L
3472015-02-11 H.J. Lu <hongjiu.lu@intel.com>
348
349 * testplug2.c (dump_tv_tag): Removed.
350 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
351 closed.
352 * testplug3.c (dump_tv_tag): Removed.
353 (onclaim_file): Fix typo.
354
7275e869
L
3552015-02-11 H.J. Lu <hongjiu.lu@intel.com>
356
357 PR ld/17878
358 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
359 libldtestplug3.la.
360 (libldtestplug2_la_SOURCES): New.
361 (libldtestplug2_la_CFLAGS): Likewise.
362 (libldtestplug2_la_LDFLAGS): Likewise.
363 (libldtestplug3_la_SOURCES): New.
364 (libldtestplug3_la_CFLAGS): Likewise.
365 (libldtestplug3_la_LDFLAGS): Likewise.
366 * Makefile.in: Regenerated.
367 * testplug2.c: New file.
368 * testplug3.c: Likewise.
369
b9dc5a87
L
3702015-02-11 H.J. Lu <hongjiu.lu@intel.com>
371
372 PR ld/17878
373 * plugin.c: Include ../bfd/plugin.h.
374 (plugin_get_ir_dummy_bfd): Call bfd_create with
375 link_info.output_bfd instead of srctemplate. Copy BFD info
376 from srctemplate only if it doesn't use BFD plugin target
377 vector.
378 (plugin_load_plugins): Call register_ld_plugin_object_p with
379 (plugin_object_p)
380 (plugin_maybe_claim): Renamed to ...
381 (plugin_object_p): This. Return dummy BFD target vector if
382 input is calimed by plugin library, otherwise return NULL.
383 Update plugin_format and plugin_dummy_bfd.
384 (plugin_maybe_claim): New. Use plugin_object_p.
385
d319a098
L
3862015-02-10 H.J. Lu <hongjiu.lu@intel.com>
387
388 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
389
38604796
L
3902015-02-10 H.J. Lu <hongjiu.lu@intel.com>
391
392 * plugin.c (plugin_input_file_t): Add use_mmap.
393 (plugin_pagesize): New.
394 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
395 (plugin_load_plugins): Initialize plugin_pagesize.
396 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
397 file.
398
fe905789
L
3992015-02-10 H.J. Lu <hongjiu.lu@intel.com>
400
401 * plugin.c (get_view): Align offset passed to mmap.
402
1d5b29cf
L
4032015-02-08 H.J. Lu <hongjiu.lu@intel.com>
404
405 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
406 if plugin isn't active or there is no thing more to claim.
407
e13419c4
L
4082015-02-08 H.J. Lu <hongjiu.lu@intel.com>
409
410 * plugin.c (plugin_maybe_claim): Check format against bfd_object
411 directly.
412
93843894
L
4132015-02-07 H.J. Lu <hongjiu.lu@intel.com>
414
415 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
416 ibfd.
417
35a1e5f3
L
4182015-02-07 H.J. Lu <hongjiu.lu@intel.com>
419
420 * plugin.c: Include "libbfd.h".
421 (plugin_strdup): New.
422 (plugin_maybe_claim): Remove the argument of pointer to struct
423 ld_plugin_input_file. Open and handle input entry.
424 * plugin.h (plugin_maybe_claim): Updated.
425 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
426 without passing a pointer to struct ld_plugin_input_file.
427 * ldmain.c: Don't include "libbfd.h".
428 (add_archive_element): Call plugin_maybe_claim directly without
429 passing a pointer to struct ld_plugin_input_file.
430
8dfef1bd
L
4312015-02-06 H.J. Lu <hongjiu.lu@intel.com>
432
433 * ld.texinfo: Document -z text, -z notext and -z textoff.
434 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
435 -z text, -z notext and -z textoff.
436
2aec968d
L
4372015-02-06 H.J. Lu <hongjiu.lu@intel.com>
438
439 * configure.ac: Add AC_FUNC_MMAP.
440 * config.in: Regenerated.
441 * configure: Likewise.
442 * plugin.c: Include <sys/mman.h>.
443 (MAP_FAILED): New. Defined if not defined.
444 (PROT_READ): Likewise.
445 (MAP_PRIVATE): Likewise.
446 (view_buffer_t): New.
447 (plugin_input_file_t): Add view_buffer.
448 (get_view): Try mmap and cache the view buffer.
449 (plugin_maybe_claim): Initialize view_buffer.
450
119d62ff
L
4512015-02-05 H.J. Lu <hongjiu.lu@intel.com>
452
453 * plugin.c (release_input_file): Set fd to -1 after closing it.
454 (plugin_maybe_claim): Close fd only if fd != -1.
455
f4b78d18
L
4562015-02-05 H.J. Lu <hongjiu.lu@intel.com>
457
458 PR ld/17878
459 * plugin.c: Include <errno.h>.
460 (errno): New. Declare if needed.
461 (plugin_input_file_t): New.
462 (get_input_file): Implemented.
463 (get_view): Likewise.
464 (release_input_file): Likewise.
465 (add_symbols): Updated.
466 (get_symbols): Likewise.
467 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
468 only for a bfd_object input.
469
6c2573b7
AM
4702015-02-02 Alan Modra <amodra@gmail.com>
471
472 * emultempl/ppc64elf.em (toc_section_name): New var.
473 (ppc_after_open): Set it.
474 (ppc_before_allocation): Use it.
475 (gld${EMULATION_NAME}_after_allocation): Here too.
476
716db898
L
4772015-01-29 H.J. Lu <hongjiu.lu@intel.com>
478
479 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
480 with link_info.lto_plugin_active.
481 * ldlang.c (lang_process): Likewise.
482 * ldmain.c (add_archive_element): Likewise.
483 * plugin.c (plugin_active_plugins_p): Removed.
484 * plugin.h (plugin_active_plugins_p): Likewise.
485
37a3056a
L
4862015-01-28 H.J. Lu <hongjiu.lu@intel.com>
487
488 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
489 ...
490 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
491
15f7a26b
L
4922015-01-28 H.J. Lu <hongjiu.lu@intel.com>
493
494 PR ld/17878
495 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
496 (get_view): New function.
497 (set_tv_header): Handle LDPT_GET_VIEW.
498 * testplug.c (tag_names): Add LDPT_GET_VIEW.
499 (tv_get_view): New.
500 (dump_tv_tag): Handle LDPT_GET_VIEW.
501 (parse_tv_tag): Likewise.
502
dbd1e97e
AM
5032015-01-28 Alan Modra <amodra@gmail.com>
504
505 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
506 * emultempl/ppc64elf.em (params): Init new field.
507 (ppc_after_open): New function.
508 (LDEMUL_AFTER_OPEN): Define.
509 * ldlang.c (lang_final): Whitespace fix.
510
3f8107ab
AM
5112015-01-28 James Bowman <james.bowman@ftdichip.com>
512
513 * Makefile.am: Add FT32 files.
514 * configure.tgt: Handle FT32 target.
515 * emulparams/elf32ft32.sh: New file.
516 * scripttempl/ft32.sc: New file.
517 * Makefile.in: Regenerate.
518
cc9ad334
SKS
5192015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
520
521 PR 4643
522 * ldexp.c (fold_name): Fold LENGTH only after
523 lang_first_phase_enum.
524 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
525 rightaway.
526 * ldlang.h (struct memory_region_struct): Add origin_exp and
527 length_exp fields.
528 * ldlang.c (lang_do_memory_regions): New.
529 (lang_memory_region_lookup): Initialize origin_exp and
530 length_exp fields.
531 (lang_process): Call lang_do_memory_regions.
532
c05b575a
AB
5332015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
534
535 * ldlang.c (print_assignment): Only evaluate the expression for a
536 PROVIDE'd assignment when the destination is being defined.
537 Display a special message for PROVIDE'd symbols that are not being
538 provided.
539
5ad18f16
AM
5402015-01-20 Alan Modra <amodra@gmail.com>
541
542 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
543 (OTHER_BSS_SYMBOLS): ..this.
544 (OTHER_PLT_RELOC_SECTIONS): Don't define.
545 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
546 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
547 (OTHER_RELRO_SECTIONS_2): ..here.
548 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
549
23283c1b
AM
5502015-01-20 Alan Modra <amodra@gmail.com>
551
552 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
553 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
554 (OTHER_RELRO_SECTIONS_2): ..here.
555 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
556 PLT_BEFORE_GOT): Define.
557 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
558 PLT_BEFORE_GOT combination.
559 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
560
3e2b0f31
AM
5612015-01-20 Alan Modra <amodra@gmail.com>
562
563 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
564 (OTHER_RELRO_SECTIONS_2): ..here, new define.
565 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
566
c4621b33
AM
5672015-01-19 Alan Modra <amodra@gmail.com>
568
3e2aa5bb 569 PR ld/17615
c4621b33
AM
570 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
571
52db4ec2
JW
5722015-01-14 Jiong Wang <jiong.wang@arm.com>
573
574 * ld-arm/elf32-reject.s: New testcase.
575 * ld-arm/elf32-reject.d: Likewise.
576 * ld-arm/elf32-reject-pie.s: Likewise.
577 * ld-arm/elf32-reject-pie.d: Likewise.
578 * ld-arm/arm-elf.exp: Run new testcases.
579 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
580 * ld-arm/ifunc-7.rd: Likewise.
581 * ld-arm/ifunc-7.gd: Likewise.
582 * ld-arm/ifunc-7.dd: Likewise.
583 * ld-arm/ifunc-8.s: Likewise.
584 * ld-arm/ifunc-8.rd: Likewise.
585 * ld-arm/ifunc-8.gd: Likewise.
586 * ld-arm/ifunc-8.dd: Likewise.
587
efd321f9
AM
5882015-01-01 Alan Modra <amodra@gmail.com>
589
590 * ldver.c (ldversion): Just print current year.
591
b90efa5b 5922015-01-01 Alan Modra <amodra@gmail.com>
ca0694ad 593
b90efa5b 594 Update year range in copyright notice of all files.
ca0694ad 595
b90efa5b 596For older changes see ChangeLog-2014
252b5132 597\f
b90efa5b 598Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
599
600Copying and distribution of this file, with or without modification,
601are permitted in any medium without royalty provided the copyright
602notice and this notice are preserved.
603
252b5132
RH
604Local Variables:
605mode: change-log
606left-margin: 8
607fill-column: 74
608version-control: never
609End: