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