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