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