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