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