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