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